State change to Paused never completes on OS X

Gottfried Haider gottfried.haider at gmail.com
Sun Jul 10 11:18:46 UTC 2016


Submitted as https://bugzilla.gnome.org/show_bug.cgi?id=768630

Best
Gottfried

On Sat, Jul 9, 2016 at 11:02 PM, marcin at saepia.net <marcin at saepia.net> wrote:
> I think it should not hang anyway. IMO It's a topic for a bug report.
>
> While filing besides this what you've already mentioned I suggest extending
> bug report with log with GST_DEBUG=*:5 (not 4) and you should attach gdb to
> your hanged process and get output of
>
> thr a a bt
>
> Within gdb
>
> M.
>
> 09.07.2016 10:21 AM "Gottfried Haider" <gottfried.haider at gmail.com>
> napisaƂ(a):
>>
>> Thanks for looking into this!
>>
>> And indeed, when I remove the glcolorconvert the hang is gone (and my
>> video is black). I am oddly also not seeing the line "Attempting to create
>> opengl context" in the debug output anymore. Maybe this wasn't supposed to
>> happen with a shared context in the first place?
>>
>> Hoping Matt or someone else in the know when it comes to GL has an idea,
>> but thanks a lot for your help!
>>
>> Best
>> G
>>
>> On Jul 9, 2016 10:09, "marcin at saepia.net" <marcin at saepia.net> wrote:
>>>
>>> Ok now please run the same on platform on which it works for you and look
>>> for differences :)
>>>
>>> The suspicious thing is
>>>
>>> pad_query:<glcolorconvertelement0:src> pad peer query failed
>>>
>>> but I am not using GStreamer for any GL-related things so I can't say
>>> whether this is expected behaviour or not
>>>
>>> m.
>>>
>>> 2016-07-09 9:58 GMT+02:00 Gottfried Haider <gottfried.haider at gmail.com>:
>>>>
>>>> Thanks Marcin!
>>>>
>>>> I captured the debug output [1] and from a cursory glance: I am seeing
>>>> many notifications of a successful state change to paused, no
>>>> indication of something failing. Caps event is happening. Right before
>>>> the hang there is this GL-related line:
>>>>
>>>> gstglcontext.c:1157:gst_gl_context_create_thread:<glcontextcocoa0>
>>>> Attempting to create opengl context. user chosen api(s) (any),
>>>> compiled api support (opengl opengl3) display api (any)
>>>>
>>>> Is me waiting for the state change to complete perhaps interfering
>>>> with GStreamer's ability to query and setup the shared GL context?
>>>> (the code handles GST_QUERY_CONTEXT) Any other ideas?
>>>>
>>>> Thanks
>>>> Gottfried
>>>>
>>>> [1] https://sukzessiv.net/~gohai/gstreamer/state_change_full.log
>>>> _______________________________________________
>>>> gstreamer-devel mailing list
>>>> gstreamer-devel at lists.freedesktop.org
>>>> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>>
>>>
>>>
>>> _______________________________________________
>>> gstreamer-devel mailing list
>>> gstreamer-devel at lists.freedesktop.org
>>> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>>
>>
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>


More information about the gstreamer-devel mailing list