[Gambas-user] "Cannot set status" by playing a VIDEO file with MediaView

Bruce Steers bsteers4 at gmail.com
Tue Jan 9 02:30:41 CET 2024


On Tue, 9 Jan 2024 at 00:54, Bruce Steers <bsteers4 at gmail.com> wrote:

>
>
> On Mon, 8 Jan 2024 at 23:12, vuott--- via User <
> user at lists.gambas-basic.org> wrote:
>
>> Adde:
>> ....i obtain that problem also arises when I attempt to run Midi files.
>>
>
> Hmm , something does not seem right.
> i just loaded gb.media.form into the ide and tried the FTest MediaView
> form.
>
> I did not get the "state" error (i do on my own program it seems)
>
> But with the test form the audio played with no picture
>
> Respects
> BruceS
>

I never reported this bug as i assumed I screwed my code up somewhere and
it was my problem.  :D
But maybe not?

My own software is giving the "Cannot set status" error in the
MediaView.Private Sub MakeMediaPlayer() method
$hPlayer = New MPRISMediaPlayer As "MediaPlayer" is the line that throws
the error.

i get a gstreamer console error too
(gbx3:79291): GStreamer-CRITICAL **: 01:22:58.980: gst_element_set_state:
assertion 'GST_IS_ELEMENT (element)' failed

Hope that helps.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20240109/5667a4ed/attachment-0001.htm>


More information about the User mailing list