GStreamer issueshttps://gitlab.freedesktop.org/groups/gstreamer/-/issues2021-09-24T12:23:26Zhttps://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/issues/282Follow-up from "codecs: h265: Fix dependent slice header"2021-09-24T12:23:26ZNicolas DufresneFollow-up from "codecs: h265: Fix dependent slice header"The following discussion from gst-plugins-bad!1750 should be addressed:
- [ ] @He_Junyan started a [discussion](https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1750#note_680250):
> Seems that:
>
...The following discussion from gst-plugins-bad!1750 should be addressed:
- [ ] @He_Junyan started a [discussion](https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1750#note_680250):
> Seems that:
>
> https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/blob/master/gst-libs/gst/vaapi/gstvaapidecoder_h265.c#L1708
> also needs this.https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1447Follow-up from "codecs: h265: Fix dependent slice header"2020-11-02T16:56:58ZNicolas DufresneFollow-up from "codecs: h265: Fix dependent slice header"The following discussion from !1750 should be addressed:
- [ ] @He_Junyan started a [discussion](https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1750#note_680250):
> Seems that:
>
> https://gitl...The following discussion from !1750 should be addressed:
- [ ] @He_Junyan started a [discussion](https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1750#note_680250):
> Seems that:
>
> https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/blob/master/gst-libs/gst/vaapi/gstvaapidecoder_h265.c#L1708
> also needs this.https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1446Follow-up from "codecs: h265: Fix dependent slice header"2021-09-24T14:38:53ZNicolas DufresneFollow-up from "codecs: h265: Fix dependent slice header"The following discussion from !1750 should be addressed:
- [ ] @seungha.yang started a [discussion](https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1750#note_680137):
> maybe we want to do minimal validat...The following discussion from !1750 should be addressed:
- [ ] @seungha.yang started a [discussion](https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1750#note_680137):
> maybe we want to do minimal validation check here? for example
> - clear `prev_independent_slice` per picture and check whether it's empty or not before `memcpy`
> - ensure dependent slice is not the first slice of this picturehttps://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/630identity/clocksync: Also provide system clock if sync=false2021-04-07T08:58:14ZKevin Songidentity/clocksync: Also provide system clock if sync=falseThe bin can select TinyCompressSinkClock on gst1.16. But fail to select the clocl on gst1.18. Do you know anything changed on gst1.18? below it the log on gst1.18.
```
0:00:00.439228875 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m ...The bin can select TinyCompressSinkClock on gst1.16. But fail to select the clocl on gst1.18. Do you know anything changed on gst1.18? below it the log on gst1.18.
```
0:00:00.439228875 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:761:gst_bin_provide_clock_func:<playbin>�[00m finding new clock
0:00:00.439251000 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2396:gst_bin_sort_iterator_resync:<playbin>�[00m resync
0:00:00.439273125 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2175:add_to_queue:<playbin>�[00m adding 'playsink' to queue
0:00:00.439294625 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:879:find_message:<playbin>�[00m no message found matching types 00001000
0:00:00.439313250 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:886:find_message:<playbin>�[00m structure-change
0:00:00.439339500 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2290:update_degree:<playbin>�[00m change element uridecodebin0, degree 0->1, linked to inputselector0
0:00:00.439360000 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2315:update_degree:<playbin>�[00m element uridecodebin0 not linked on any sinkpads
0:00:00.439378875 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:879:find_message:<playbin>�[00m no message found matching types 00001000
0:00:00.439396500 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:886:find_message:<playbin>�[00m structure-change
0:00:00.439420375 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2290:update_degree:<playbin>�[00m change element inputselector0, degree 0->1, linked to playsink
0:00:00.439442625 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2383:gst_bin_sort_iterator_next:<playbin>�[00m queue head gives playsink
0:00:00.439461500 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:879:find_message:<playbin>�[00m no message found matching types 00001000
0:00:00.439479125 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:886:find_message:<playbin>�[00m structure-change
0:00:00.439503500 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2290:update_degree:<playbin>�[00m change element inputselector0, degree 1->0, linked to playsink
0:00:00.439521500 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2175:add_to_queue:<playbin>�[00m adding 'inputselector0' to queue
0:00:00.439539500 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:761:gst_bin_provide_clock_func:<playsink>�[00m finding new clock
0:00:00.439557000 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2396:gst_bin_sort_iterator_resync:<playsink>�[00m resync
0:00:00.439574875 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2175:add_to_queue:<playsink>�[00m adding 'abin' to queue
0:00:00.439595375 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:879:find_message:<playsink>�[00m no message found matching types 00001000
0:00:00.439612750 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:886:find_message:<playsink>�[00m structure-change
0:00:00.439636875 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2290:update_degree:<playsink>�[00m change element streamsynchronizer0, degree 0->1, linked to abin
0:00:00.439656625 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:879:find_message:<playsink>�[00m no message found matching types 00001000
0:00:00.439689875 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:886:find_message:<playsink>�[00m structure-change
0:00:00.439710250 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2315:update_degree:<playsink>�[00m element audiotee not linked on any sinkpads
0:00:00.439729125 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:879:find_message:<playsink>�[00m no message found matching types 00001000
0:00:00.439746375 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:886:find_message:<playsink>�[00m structure-change
0:00:00.439771125 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2290:update_degree:<playsink>�[00m change element audiotee, degree 0->1, linked to streamsynchronizer0
0:00:00.439792000 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2383:gst_bin_sort_iterator_next:<playsink>�[00m queue head gives abin
0:00:00.439811000 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:879:find_message:<playsink>�[00m no message found matching types 00001000
0:00:00.439828625 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:886:find_message:<playsink>�[00m structure-change
0:00:00.439851500 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2290:update_degree:<playsink>�[00m change element streamsynchronizer0, degree 1->0, linked to abin
0:00:00.439870125 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2175:add_to_queue:<playsink>�[00m adding 'streamsynchronizer0' to queue
0:00:00.439888625 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:761:gst_bin_provide_clock_func:<abin>�[00m finding new clock
0:00:00.439905875 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2396:gst_bin_sort_iterator_resync:<abin>�[00m resync
0:00:00.439925625 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2175:add_to_queue:<abin>�[00m adding 'bin0' to queue
0:00:00.439945125 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:879:find_message:<abin>�[00m no message found matching types 00001000
0:00:00.439962500 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:886:find_message:<abin>�[00m structure-change
0:00:00.439985875 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2290:update_degree:<abin>�[00m change element aqueue, degree 0->1, linked to aconv
0:00:00.440005500 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:879:find_message:<abin>�[00m no message found matching types 00001000
0:00:00.440023375 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:886:find_message:<abin>�[00m structure-change
0:00:00.440046250 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2290:update_degree:<abin>�[00m change element scaletempo0, degree 0->1, linked to aqueue
0:00:00.440087000 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:879:find_message:<abin>�[00m no message found matching types 00001000
0:00:00.440105375 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:886:find_message:<abin>�[00m structure-change
0:00:00.440130125 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2290:update_degree:<abin>�[00m change element filter-convert, degree 0->1, linked to scaletempo0
0:00:00.440156125 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:879:find_message:<abin>�[00m no message found matching types 00001000
0:00:00.440190875 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:886:find_message:<abin>�[00m structure-change
0:00:00.440211125 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2315:update_degree:<abin>�[00m element filter-convert not linked on any sinkpads
0:00:00.440230250 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:879:find_message:<abin>�[00m no message found matching types 00001000
0:00:00.440247375 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:886:find_message:<abin>�[00m structure-change
0:00:00.440271375 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2290:update_degree:<abin>�[00m change element aconv, degree 0->1, linked to bin0
0:00:00.440296375 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2383:gst_bin_sort_iterator_next:<abin>�[00m queue head gives bin0
0:00:00.440315375 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:879:find_message:<abin>�[00m no message found matching types 00001000
0:00:00.440333875 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:886:find_message:<abin>�[00m structure-change
0:00:00.440356500 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2290:update_degree:<abin>�[00m change element aconv, degree 1->0, linked to bin0
0:00:00.440373875 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2175:add_to_queue:<abin>�[00m adding 'aconv' to queue
0:00:00.440391500 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:761:gst_bin_provide_clock_func:<bin0>�[00m finding new clock
0:00:00.440411250 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2396:gst_bin_sort_iterator_resync:<bin0>�[00m resync
0:00:00.440432125 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2175:add_to_queue:<bin0>�[00m adding 'tinycompresssink0' to queue
0:00:00.440452000 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:879:find_message:<bin0>�[00m no message found matching types 00001000
0:00:00.440469375 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:886:find_message:<bin0>�[00m structure-change
0:00:00.440489125 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2315:update_degree:<bin0>�[00m element tinycompresssink0 not linked on any sinkpads
0:00:00.440509750 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2383:gst_bin_sort_iterator_next:<bin0>�[00m queue head gives tinycompresssink0
0:00:00.440528375 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:879:find_message:<bin0>�[00m no message found matching types 00001000
0:00:00.440545750 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:886:find_message:<bin0>�[00m structure-change
0:00:00.440565625 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2315:update_degree:<bin0>�[00m element tinycompresssink0 not linked on any sinkpads
_0:00:00.440584250 �[334m 1005�[00m 0xaaaafb012aa0 �[31;01mERROR �[00m �[00m tinycompresssink tinycompresssink.c:401:gst_tinycompresssink_provide_clock:<tinycompresssink0>�[00m Error querying timestamp
0:00:00.440606375 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:776:gst_bin_provide_clock_func:<bin0>�[00m found candidate clock 0xaaaafb2900c0 by element tinycompresssink0
0:00:00.440624625 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin _gstbin.c:2372:gst_bin_sort_iterator_next:<bin0>�[00m queue empty, elements exhausted
0:00:00.440642500 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2414:gst_bin_sort_iterator_free:<bin0>�[00m free
0:00:00.440682500 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:817:gst_bin_provide_clock_func:<bin0>�[00m provided new clock <TinyCompressSinkClock> by provider <tinycompresssink0>
0:00:00.440703875 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:776:gst_bin_provide_clock_func:<abin>�[00m found candidate clock 0xaaaafb2900c0 by element bin0
0:00:00.440724000 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2383:gst_bin_sort_iterator_next:<abin>�[00m queue head gives aconv
0:00:00.440742875 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:879:find_message:<abin>�[00m no message found matching types 00001000
0:00:00.440760125 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:886:find_message:<abin>�[00m structure-change
0:00:00.440783750 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2290:update_degree:<abin>�[00m change element aqueue, degree 1->0, linked to aconv
0:00:00.440801875 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2175:add_to_queue:<abin>�[00m adding 'aqueue' to queue
0:00:00.440820125 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:761:gst_bin_provide_clock_func:<aconv>�[00m finding new clock
0:00:00.440837875 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2396:gst_bin_sort_iterator_resync:<aconv>�[00m resync
0:00:00.440859375 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:879:find_message:<aconv>�[00m no message found matching types 00001000
0:00:00.440877000 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:886:find_message:<aconv>�[00m structure-change
0:00:00.440900750 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2290:update_degree:<aconv>�[00m change element resample, degree 0->1, linked to volume
0:00:00.440921375 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:879:find_message:<aconv>�[00m no message found matching types 00001000
0:00:00.440939000 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:886:find_message:<aconv>�[00m structure-change
0:00:00.440962500 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2290:update_degree:<aconv>�[00m change element conv, degree 0->1, linked to resample
0:00:00.440981750 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:879:find_message:<aconv>�[00m no message found matching types 00001000
0:00:00.440999125 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:886:find_message:<aconv>�[00m structure-change
0:00:00.441018250 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2315:update_degree:<aconv>�[00m element conv not linked on any sinkpads
0:00:00.441036875 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:879:find_message:<aconv>�[00m no message found matching types 00001000
0:00:00.441054125 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:886:find_message:<aconv>�[00m structure-change
0:00:00.441072250 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2315:update_degree:<aconv>�[00m element identity not linked on any sinkpads
0:00:00.441091250 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2367:gst_bin_sort_iterator_next:<aconv>�[00m queue empty, next best: volume
0:00:00.441110750 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2383:gst_bin_sort_iterator_next:<aconv>�[00m queue head gives volume
0:00:00.441138625 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:879:find_message:<aconv>�[00m no message found matching types 00001000
0:00:00.441156750 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:886:find_message:<aconv>�[00m structure-change
0:00:00.441179625 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2290:update_degree:<aconv>�[00m change element resample, degree 1->0, linked to volume
0:00:00.441197625 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2175:add_to_queue:<aconv>�[00m adding 'resample' to queue
0:00:00.441219750 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2383:gst_bin_sort_iterator_next:<aconv>�[00m queue head gives resample
0:00:00.441238500 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:879:find_message:<aconv>�[00m no message found matching types 00001000
0:00:00.441255750 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:886:find_message:<aconv>�[00m structure-change
0:00:00.441278125 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2290:update_degree:<aconv>�[00m change element conv, degree 1->0, linked to resample
0:00:00.441295750 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2175:add_to_queue:<aconv>�[00m adding 'conv' to queue
0:00:00.441316750 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2383:gst_bin_sort_iterator_next:<aconv>�[00m queue head gives conv
0:00:00.441335375 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:879:find_message:<aconv>�[00m no message found matching types 00001000
0:00:00.441352750 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:886:find_message:<aconv>�[00m structure-change
0:00:00.441371375 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2315:update_degree:<aconv>�[00m element conv not linked on any sinkpads
0:00:00.441391250 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2367:gst_bin_sort_iterator_next:<aconv>�[00m queue empty, next best: identity
0:00:00.441410750 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2383:gst_bin_sort_iterator_next:<aconv>�[00m queue head gives identity
0:00:00.441429125 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:879:find_message:<aconv>�[00m no message found matching types 00001000
0:00:00.441446625 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:886:find_message:<aconv>�[00m structure-change
0:00:00.441464750 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2315:update_degree:<aconv>�[00m element identity not linked on any sinkpads
0:00:00.441481375 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01;33m GST_CLOCK gstsystemclock.c:622:gst_system_clock_obtain:�[00m creating new static system clock
0:00:00.441537625 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:776:gst_bin_provide_clock_func:<aconv>�[00m found candidate clock 0xaaaafb289680 by element identity
0:00:00.441557125 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2372:gst_bin_sort_iterator_next:<aconv>�[00m queue empty, elements exhausted
0:00:00.441573125 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2414:gst_bin_sort_iterator_free:<aconv>�[00m free
0:00:00.441597000 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:817:gst_bin_provide_clock_func:<aconv>�[00m provided new clock <GstSystemClock> by provider <identity>
0:00:00.441626500 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:776:gst_bin_provide_clock_func:<abin>�[00m found candidate clock 0xaaaafb289680 by element aconv
0:00:00.441647750 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2383:gst_bin_sort_iterator_next:<abin>�[00m queue head gives aqueue
0:00:00.441666500 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:879:find_message:<abin>�[00m no message found matching types 00001000
0:00:00.441684375 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:886:find_message:<abin>�[00m structure-change
0:00:00.441707875 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2290:update_degree:<abin>�[00m change element scaletempo0, degree 1->0, linked to aqueue
0:00:00.441725875 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2175:add_to_queue:<abin>�[00m adding 'scaletempo0' to queue
0:00:00.441747625 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2383:gst_bin_sort_iterator_next:<abin>�[00m queue head gives scaletempo0
0:00:00.441766750 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:879:find_message:<abin>�[00m no message found matching types 00001000
0:00:00.441784125 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:886:find_message:<abin>�[00m structure-change
0:00:00.441808125 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2290:update_degree:<abin>�[00m change element filter-convert, degree 1->0, linked to scaletempo0
0:00:00.441826500 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2175:add_to_queue:<abin>�[00m adding 'filter-convert' to queue
0:00:00.441847750 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2383:gst_bin_sort_iterator_next:<abin>�[00m queue head gives filter-convert
0:00:00.441867000 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:879:find_message:<abin>�[00m no message found matching types 00001000
0:00:00.441884500 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:886:find_message:<abin>�[00m structure-change
0:00:00.441904375 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2315:update_degree:<abin>�[00m element filter-convert not linked on any sinkpads
0:00:00.441934375 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2372:gst_bin_sort_iterator_next:<abin>�[00m queue empty, elements exhausted
0:00:00.441951625 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2414:gst_bin_sort_iterator_free:<abin>�[00m free
0:00:00.441976625 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:817:gst_bin_provide_clock_func:<abin>�[00m provided new clock <GstSystemClock> by provider <aconv>
0:00:00.441998125 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:776:gst_bin_provide_clock_func:<playsink>�[00m found candidate clock 0xaaaafb289680 by element abin
0:00:00.442019375 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2383:gst_bin_sort_iterator_next:<playsink>�[00m queue head gives streamsynchronizer0
0:00:00.442069625 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:879:find_message:<playsink>�[00m no message found matching types 00001000
0:00:00.442088000 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:886:find_message:<playsink>�[00m structure-change
0:00:00.442114750 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2290:update_degree:<playsink>�[00m change element audiotee, degree 1->0, linked to streamsynchronizer0
0:00:00.442156875 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2175:add_to_queue:<playsink>�[00m adding 'audiotee' to queue
0:00:00.442180375 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2383:gst_bin_sort_iterator_next:<playsink>�[00m queue head gives audiotee
0:00:00.442199250 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:879:find_message:<playsink>�[00m no message found matching types 00001000
0:00:00.442216750 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:886:find_message:<playsink>�[00m structure-change
0:00:00.442236000 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2315:update_degree:<playsink>�[00m element audiotee not linked on any sinkpads
0:00:00.442254750 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2372:gst_bin_sort_iterator_next:<playsink>�[00m queue empty, elements exhausted
0:00:00.442271000 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2414:gst_bin_sort_iterator_free:<playsink>�[00m free
0:00:00.442295500 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:817:gst_bin_provide_clock_func:<playsink>�[00m provided new clock <GstSystemClock> by provider <abin>
0:00:00.442317000 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:776:gst_bin_provide_clock_func:<playbin>�[00m found candidate clock 0xaaaafb289680 by element playsink
0:00:00.442337875 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2383:gst_bin_sort_iterator_next:<playbin>�[00m queue head gives inputselector0
0:00:00.442357000 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:879:find_message:<playbin>�[00m no message found matching types 00001000
0:00:00.442374250 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:886:find_message:<playbin>�[00m structure-change
0:00:00.442399750 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2290:update_degree:<playbin>�[00m change element uridecodebin0, degree 1->0, linked to inputselector0
0:00:00.442418000 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2175:add_to_queue:<playbin>�[00m adding 'uridecodebin0' to queue
0:00:00.442439375 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2383:gst_bin_sort_iterator_next:<playbin>�[00m queue head gives uridecodebin0
0:00:00.442458125 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2315:update_degree:<playbin>�[00m element uridecodebin0 not linked on any sinkpads
0:00:00.442477625 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:831:gst_bin_provide_clock_func:<uridecodebin0>�[00m returning old clock (nil)
0:00:00.442495500 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2372:gst_bin_sort_iterator_next:<playbin>�[00m queue empty, elements exhausted
0:00:00.442511375 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:2414:gst_bin_sort_iterator_free:<playbin>�[00m free
0:00:00.442534750 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01m bin gstbin.c:817:gst_bin_provide_clock_func:<playbin>�[00m provided new clock <GstSystemClock> by provider <playsink>
0:00:00.442556125 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01;33m GST_CLOCK gstpipeline.c:783:gst_pipeline_provide_clock_func:�[00m pipeline obtained clock: 0xaaaafb289680 (GstSystemClock)
0:00:00.442582875 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01;33m GST_CLOCK gstclock.c:1091:gst_clock_get_internal_time:<GstSystemClock>�[00m internal time 1:42:10.888546625
0:00:00.442619625 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01;33m GST_CLOCK gstclock.c:1136:gst_clock_get_time:<GstSystemClock>�[00m adjusted time 1:42:10.888546625
0:00:00.442640000 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDEBUG �[00m �[00;01;33m GST_CLOCK gstelement.c:439:gst_element_set_clock:<playbin>�[00m setting clock 0xaaaafb289680
0:00:00.442664000 �[334m 1005�[00m 0xaaaafb012aa0 �[37mDE
```[gst.log](/uploads/371c29644488fb9a91ed9a4dec0a9471/gst.log)https://gitlab.freedesktop.org/gstreamer/gst-examples/-/issues/24Webrtcbin - streaming not working for chrome.2020-11-02T03:25:35ZJaskarn KalsiWebrtcbin - streaming not working for chrome.We have streaming pipeline, and use webrtcbin to stream video from a decklink card to the browser.
Gstreamer version is 1.16.2
python 3.8
OS Ubuntu 20
signaling server is tornado. we are not using secure connection.
pipeline is decklink...We have streaming pipeline, and use webrtcbin to stream video from a decklink card to the browser.
Gstreamer version is 1.16.2
python 3.8
OS Ubuntu 20
signaling server is tornado. we are not using secure connection.
pipeline is decklink -> nvh264enc -> rtph264pay -> webrtcbin
We can play the video on the streaming server, but cant play the video in chrome on any of the connected devices on the local LAN.
Stream is going to be in the internal network so we didn't use any turn servers.
We can play the same stream in an Edge browser on any machine in the network but chrome and firefox will not play the video.
We wana stream video to chrome without changing any chrome flags. Are we missing something that is leading to this behavior.
Thanks
Jaskarn Kalsihttps://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1445WebRTC - webrtcbin no working with google chrome.2023-05-16T04:43:56ZJaskarn KalsiWebRTC - webrtcbin no working with google chrome.We have streaming pipeline, and use webrtcbin to stream video from a decklink card to the browser.
Gstreamer version is 1.16.2
python 3.8
OS Ubuntu 20
signaling server is tornado. we are not using secure connection.
pipeline is decklink...We have streaming pipeline, and use webrtcbin to stream video from a decklink card to the browser.
Gstreamer version is 1.16.2
python 3.8
OS Ubuntu 20
signaling server is tornado. we are not using secure connection.
pipeline is decklink -> nvh264enc -> rtph264pay -> webrtcbin
We can play the video on the streaming server, but cant play the video in chrome on any of the connected devices on the local LAN.
Stream is going to be in the internal network so we didn't use any turn servers.
We can play the same stream in an Edge browser on any machine in the network but chrome and firefox will not play the video.
We wana stream video to chrome without changing any chrome flags. Are we missing something that is leading to this behavior.
Thanks
Jaskarn Kalsihttps://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/issues/835playbin fails to play some of mp4 files that work with playbin32023-10-14T20:04:01ZVladislav Glinskyplaybin fails to play some of mp4 files that work with playbin3I have a couple of h264 encoded files, here's output for them from `ffprobe`:
```
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'a.mp4':
Metadata:
major_brand : mp42
minor_version : 1
compatible_brands: mp42avc1
creatio...I have a couple of h264 encoded files, here's output for them from `ffprobe`:
```
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'a.mp4':
Metadata:
major_brand : mp42
minor_version : 1
compatible_brands: mp42avc1
creation_time : 2007-12-01T16:54:17.000000Z
Duration: 00:00:18.12, start: 0.000000, bitrate: 1605 kb/s
Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, smpte170m/smpte170m/bt709), 640x480, 1464 kb/s, 25 fps, 25 tbr, 2500 tbn, 5k tbc (default)
Metadata:
creation_time : 2007-12-01T16:55:07.000000Z
handler_name : Apple Video Media Handler
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 132 kb/s (default)
Metadata:
creation_time : 2007-12-01T16:55:07.000000Z
handler_name : Apple Sound Media Handler
```
```Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'b.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf57.83.100
Duration: 00:00:15.51, start: 0.000000, bitrate: 3689 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080, 3522 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 160 kb/s (default)
Metadata:
handler_name : SoundHandler
```
`a.mp4` plays fine and `gst-discoverer` gives:
```
Properties:
Duration: 0:00:18.120000000
Seekable: yes
Live: no
container: Quicktime
audio: MPEG-4 AAC
Stream ID: 995c074104c72e70af407ebb526a6b3bc91408d0a0a480f17e7115001d220f30/002
Language: en
Channels: 2 (front-left, front-right)
Sample rate: 44100
Depth: 32
Bitrate: 192000
Max bitrate: 192000
video: H.264 (Main Profile)
Stream ID: 995c074104c72e70af407ebb526a6b3bc91408d0a0a480f17e7115001d220f30/001
Width: 640
Height: 480
Depth: 24
Frame rate: 25/1
Pixel aspect ratio: 1/1
Interlaced: false
Bitrate: 1408242
Max bitrate: 0
```
For `b.mp4` `gst-play` will hang indefinitely and `gst-discoverer` gives `Analyzing URI timed out`. `gst-launch-1.0 playbin uri=file:///tmp/b.mp4` will hang as well.
Hand-crafted pipeline `gst-launch-1.0 filesrc location=b.mp4 ! qtdemux name=m ! queue ! h264parse ! avdec_h264 ! videoconvert ! autovideosink m. ! queue ! aacparse ! avdec_aac ! audioconvert ! autoaudiosink` or `playbin3` instead of `playbin` work perfectly fine though.
I have attached output for `gst-launch-1.0 --gst-debug-level=3 --gst-debug-no-color playbin uri=file:///tmp/b.mp4` below.
[playbin-b.log](/uploads/e4e54bae88c53a3acc5a0e9665aadbac/playbin-b.log)https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/629queue2 thinks it's restricting scheduling modes, but actually it isn't2020-11-04T09:27:08ZJonathan Matthewqueue2 thinks it's restricting scheduling modes, but actually it isn'tWhen not using a temporary file, queue2 tries to prevent pull mode scheduling (see [gst_queue2_handle_src_query](plugins/elements/gstqueue2.c#L3499), but this has no effect as it has no way to remove the scheduling modes already set on t...When not using a temporary file, queue2 tries to prevent pull mode scheduling (see [gst_queue2_handle_src_query](plugins/elements/gstqueue2.c#L3499), but this has no effect as it has no way to remove the scheduling modes already set on the query. Most uses of gst_query_set_scheduling() act as if it removes scheduling modes from the query, but the one in souphttpsrc doesn't.
To back up a bit, playbin uri=sftp://.../file.mp3 doesn't work with gstreamer 1.18 (since commit b87f8307) as giosrc will do push or pull mode, and uridecodebin decides it needs a queue2 since the uri matches its list of stream prefixes. The pipeline tries to activate in pull mode and ends up with these errors:
(gst-launch-1.0:191372): GStreamer-CRITICAL **: 14:12:21.412: pushing on pad typefind:src but it was not activated in push mode
(gst-launch-1.0:191372): GStreamer-WARNING **: 14:12:21.412:
Trying to join task 0x55f86e3e9170 from its thread would deadlock.
You cannot change the state of an element from its streaming
thread. Use g_idle_add() or post a GstMessage on the bus to
schedule the state change from the main thread.
and then sometimes issues some misleading messages about missing plugins.
You don't need sftp to see this, you can just do filesrc ! queue2 ! decodebin ! fakesink (which fails) and then replace filesrc with pushfilesrc to see it work properly.
I'm really not sure how to fix this properly, but adding gst_structure_remove_field (structure, "modes"); in [gst_query_set_scheduling](gst/gstquery.c#L2162) works.https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/628g-ir-scanner 1.66.0 required, but that version requirement is not documented ...2023-03-09T15:47:55ZChris Whiteg-ir-scanner 1.66.0 required, but that version requirement is not documented (that I can tell)Environment:
- master, f6ce1686f
- g-ir-scanner 1.62.0
Steps: check out master and build!
Observed: unexpected error message:
```
[120/418] Generating Gst-1.0.gir with a custom command
../gst/gstvalue.h:509: Error: Gst: identifier not...Environment:
- master, f6ce1686f
- g-ir-scanner 1.62.0
Steps: check out master and build!
Observed: unexpected error message:
```
[120/418] Generating Gst-1.0.gir with a custom command
../gst/gstvalue.h:509: Error: Gst: identifier not found on the first line:
* GstValueTable.deserialize_with_pspec:
^
```
(the referenced line is in a gtk-doc block for a structure member, separate from the structure's gtk-doc.)
It looks like this error is fixed by g-ir-scanner with its [MR 230](https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/230), i.e., v1.66.0 per [g-ir-scanner's changelog](https://gitlab.gnome.org/GNOME/gobject-introspection/-/blob/master/NEWS). However, I don't see that minumum version documented anywhere, or enforced in meson.build. Should it be? Or did I just miss that documentation somehow?
Thanks for considering this report!https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/627pre-commit.hook: -v: unexpected operator2021-09-24T11:08:37ZChris Whitepre-commit.hook: -v: unexpected operatorEnvironment:
- At commit f6ce1686f (`master`)
- OS: Lubuntu 20.04, Linux 5.3.0-64-generic `#`58-Ubuntu SMP Fri Jul 10 19:33:51 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
- /bin/sh: provided by `dash` 0.5.10.2-6 amd64
Steps:
- Check out mas...Environment:
- At commit f6ce1686f (`master`)
- OS: Lubuntu 20.04, Linux 5.3.0-64-generic `#`58-Ubuntu SMP Fri Jul 10 19:33:51 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
- /bin/sh: provided by `dash` 0.5.10.2-6 amd64
Steps:
- Check out master
- Build per the instructions (this copies `hooks/pre-commit.hook` to `.git/hooks/pre-commit`)
- `git commit --amend --allow-empty --no-edit`
Expected:
- Normal git-commit output
Observed:
- Error message `-v: unexpected operator`
Console log:
```
~/proj/gstreamer$ git commit --amend --allow-empty --no-edit
--Checking style--
--Checking style pass--
.git/hooks/pre-commit: 93: [: -v: unexpected operator
[issue624 c0ed16b8c] gstinfo WIP
Date: Sat Oct 31 12:52:55 2020 -0400
1 file changed, 3 insertions(+), 3 deletions(-)
```
Analysis:
The pre-commit hook uses `#!/bin/sh`. On Debian, `/bin/sh` is `dash`, and `dash` does not suport `bash`-specific features. `-v` is such a feature, so is not recognized by dash or by `test(1)`.
Thanks for considering this report!https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1444msdk: should not share surface between different context2021-09-24T14:38:53ZRandy Limsdk: should not share surface between different contextin `gst_msdk_is_msdk_buffer()`, it would just check whether the memory inside a buffer is from msdk allocator, when it is true, it would extract the msdk surface from it.
But that is not correct for the element with a different context(...in `gst_msdk_is_msdk_buffer()`, it would just check whether the memory inside a buffer is from msdk allocator, when it is true, it would extract the msdk surface from it.
But that is not correct for the element with a different context(also vaapi doesn't work like this)https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/issues/123ges/ges-pitivi-formatter.h not included by ges.h2021-09-24T12:17:04ZSebastian Drögeges/ges-pitivi-formatter.h not included by ges.hThis causes the Rust tests to currently fail because the .gir file lists the corresponding types but they don't end up being defined when includes `ges/ges.h`, which is the header that is listed in the .gir file.
```
tests/layout.c: In ...This causes the Rust tests to currently fail because the .gir file lists the corresponding types but they don't end up being defined when includes `ges/ges.h`, which is the header that is listed in the .gir file.
```
tests/layout.c: In function 'main':
<command-line>: error: invalid application of 'sizeof' to incomplete type 'GESPitiviFormatter' {aka 'struct _GESPitiviFormatter'}
tests/layout.c:10:31: note: in expansion of macro 'ABI_TYPE_NAME'
printf("%zu\n%zu", sizeof(ABI_TYPE_NAME), alignof(ABI_TYPE_NAME));
^~~~~~~~~~~~~
<command-line>: error: invalid application of '__alignof__' to incomplete type 'GESPitiviFormatter' {aka 'struct _GESPitiviFormatter'}
tests/layout.c:10:55: note: in expansion of macro 'ABI_TYPE_NAME'
printf("%zu\n%zu", sizeof(ABI_TYPE_NAME), alignof(ABI_TYPE_NAME));
^~~~~~~~~~~~~
tests/layout.c: In function 'main':
<command-line>: error: invalid application of 'sizeof' to incomplete type 'GESPitiviFormatterClass' {aka 'struct _GESPitiviFormatterClass'}
tests/layout.c:10:31: note: in expansion of macro 'ABI_TYPE_NAME'
printf("%zu\n%zu", sizeof(ABI_TYPE_NAME), alignof(ABI_TYPE_NAME));
^~~~~~~~~~~~~
<command-line>: error: invalid application of '__alignof__' to incomplete type 'GESPitiviFormatterClass' {aka 'struct _GESPitiviFormatterClass'}
tests/layout.c:10:55: note: in expansion of macro 'ABI_TYPE_NAME'
printf("%zu\n%zu", sizeof(ABI_TYPE_NAME), alignof(ABI_TYPE_NAME));
^~~~~~~~~~~~~
```https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/issues/834compositor accepts AYUV64 caps that it can't handle2020-11-10T19:07:03ZJan Alexander Steffenscompositor accepts AYUV64 caps that it can't handleWhen reconfiguring the pipeline, the composer can be made to accept AYUV64 caps that it cannot actually handle. When it then tries to aggregate it fails and sends a `At least one of the input pads contains alpha, but configured caps don'...When reconfiguring the pipeline, the composer can be made to accept AYUV64 caps that it cannot actually handle. When it then tries to aggregate it fails and sends a `At least one of the input pads contains alpha, but configured caps don't support alpha` error message.
The expectation is that it will reject the caps so upstream can renegotiate for something compatible.
This was fixed by !868 and then regressed again by !905.
<details><summary>Reproducer: [test.py](/uploads/4e67b7d1f148c33f246d4f85d64985d7/test.py)</summary>
```python
#!/usr/bin/env python3
import gi
import time
import threading
gi.require_version("Gst", "1.0")
from gi.repository import Gst, GLib
# harness {{{1
class ClockTime:
__slots__ = ["value"]
def __init__(self, value):
self.value = value
def __str__(self):
if self.value == Gst.CLOCK_TIME_NONE:
return "-:--:--:---------"
return "%u:%02u:%02u:%09u" % (
self.value / Gst.SECOND / 60 / 60,
self.value / Gst.SECOND / 60,
self.value / Gst.SECOND,
self.value % Gst.SECOND,
)
class MainLoop(threading.Thread):
def __init__(self):
super().__init__(name="mainloop", daemon=True)
self.mainloop = GLib.MainLoop.new(None, True)
self.start()
def run(self):
self.mainloop.run()
def join(self, timeout=None):
GLib.idle_add(self.mainloop.quit)
return super().join(timeout)
def handle_message(bus, msg):
if msg.type == Gst.MessageType.PROPERTY_NOTIFY:
(obj, name, value) = msg.parse_property_notify()
try:
path = obj.get_path_string()
except AttributeError:
try:
path = obj.get_name()
except AttributeError:
path = "(NULL)"
try:
value = value.to_string()
except AttributeError:
try:
value = str(value)
except ValueError:
value = repr(value)
print(f"{path}: {name} = {value}")
return
name = Gst.message_type_get_name(msg.type)
time = ClockTime(msg.timestamp)
try:
element = msg.src.name
except AttributeError:
element = "(NONE)"
try:
structure = f", {msg.get_structure().to_string()}"
except AttributeError:
structure = ""
print(
f"{name} message, time {time}, seq-num {msg.seqnum}, element '{element}'{structure}"
)
if msg.type == Gst.MessageType.ERROR:
(error, debug) = msg.parse_error()
raise error
# }}}
Gst.init()
ml = MainLoop()
pl: Gst.Pipeline = Gst.parse_launch(
"""
videotestsrc is-live=1
! video/x-raw,format=I420
! c.
videotestsrc is-live=1
! tee name=t2
! queue
! fakesink
compositor name=c
! videoconvert
! video/x-raw,format=I420
! fakesink
"""
)
pl.add_property_deep_notify_watch(None, True)
bus: Gst.Bus = pl.get_bus()
bus.add_signal_watch()
bus.connect("message", handle_message)
t2: Gst.Element = pl.get_by_name("t2")
c: Gst.Element = pl.get_by_name("c")
print("Starting")
pl.set_state(Gst.State.PLAYING)
time.sleep(1)
print("Link 2")
q2: Gst.Element = Gst.ElementFactory.make("queue")
pl.add(q2)
q2.sync_state_with_parent()
q2.link(c)
t2.link(q2)
time.sleep(1)
print("Shutting down")
pl.set_state(Gst.State.NULL)
ml.join()
# vim:set fen fdm=marker fdl=0:
```
</details>https://gitlab.freedesktop.org/gstreamer/gst-examples/-/issues/23webrtc-unidirectional-h264.c in VS 2017 crashing when closing the browser(bot...2021-09-24T22:43:56ZAshok Mishrawebrtc-unidirectional-h264.c in VS 2017 crashing when closing the browser(both Mozilla and Chrome)I'm using GStreamer 1.18 version. I used the following pipeline in webrtc-unidirectional-h264.c
receiver_entry->pipeline =
gst_parse_launch("webrtcbin name=webrtcbin stun-server=stun://"
STUN_SERVER " "
"videotestsrc is-live=tr...I'm using GStreamer 1.18 version. I used the following pipeline in webrtc-unidirectional-h264.c
receiver_entry->pipeline =
gst_parse_launch("webrtcbin name=webrtcbin stun-server=stun://"
STUN_SERVER " "
"videotestsrc is-live=true pattern=ball ! video/x-raw,width=640,height=360,framerate=15/1,format=I420 ! videoconvert ! queue max-size-buffers=1 ! x264enc bitrate=600 speed-preset=ultrafast tune=zerolatency key-int-max=15 ! video/x-h264,profile=constrained-baseline ! queue max-size-time=100000000 ! h264parse ! "
"rtph264pay config-interval=-1 name=payloader ! "
"application/x-rtp,media=video,encoding-name=H264,payload=96 ! webrtcbin. ", &error);
It's working fine. When I'm closing the browser, the program is crashing when it is freeing the connection.
if (receiver_entry->connection != NULL)
g_object_unref(G_OBJECT(receiver_entry->connection));https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1466vah264dec: error when seeking2020-11-16T08:23:06ZRafał Dzięgielvah264dec: error when seekingWhen seeking on some h264 media files I get below output followed by `Internal data stream error` and playback stops. Mainly happens on matroska files. I am using GStreamer 1.18.1 (also happens on 1.18.0) on Linux.
I am not sure what is...When seeking on some h264 media files I get below output followed by `Internal data stream error` and playback stops. Mainly happens on matroska files. I am using GStreamer 1.18.1 (also happens on 1.18.0) on Linux.
I am not sure what is causing this as it happens with various h264 decoders. I am doing playback and seeking through `GstPlayer`. So maybe its related to the player (or playbin) itself or some h264 parser problem.
* This is what happens with `vah264dec`:
```bash
0:00:37.648937382 194908 0x7f46940a8800 WARN h264decoder gsth264picture.c:364:gst_h264_dpb_get_short_ref_by_pic_num: No short term reference picture for 12
0:00:37.648969185 194908 0x7f46940a8800 WARN h264decoder gsth264decoder.c:2361:modify_ref_pic_list:<vah264dec0> Malformed stream, no pic num 12
0:00:37.648993473 194908 0x7f46940a8800 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vah264dec0> error: Failed to decode data
0:00:37.649050616 194908 0x7f46940a8800 WARN vadecoder gstvadecoder.c:700:gst_va_decode_picture_free: VABufferID are leaked
0:00:37.649800062 194908 0x7f46940a8800 WARN h264decoder gsth264picture.c:364:gst_h264_dpb_get_short_ref_by_pic_num: No short term reference picture for 13
0:00:37.649837240 194908 0x7f46940a8800 WARN h264decoder gsth264decoder.c:2361:modify_ref_pic_list:<vah264dec0> Malformed stream, no pic num 13
0:00:37.649858012 194908 0x7f46940a8800 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vah264dec0> error: Failed to decode data
0:00:37.649936378 194908 0x7f46940a8800 WARN vadecoder gstvadecoder.c:700:gst_va_decode_picture_free: VABufferID are leaked
0:00:37.662780979 194908 0x7f46940a8800 WARN h264decoder gsth264picture.c:364:gst_h264_dpb_get_short_ref_by_pic_num: No short term reference picture for 14
0:00:37.662853082 194908 0x7f46940a8800 WARN h264decoder gsth264decoder.c:2361:modify_ref_pic_list:<vah264dec0> Malformed stream, no pic num 14
0:00:37.662912124 194908 0x7f46940a8800 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vah264dec0> error: Failed to decode data
0:00:37.663004001 194908 0x7f46940a8800 WARN vadecoder gstvadecoder.c:700:gst_va_decode_picture_free: VABufferID are leaked
0:00:37.663599838 194908 0x7f46940a8800 WARN h264decoder gsth264picture.c:364:gst_h264_dpb_get_short_ref_by_pic_num: No short term reference picture for -1
0:00:37.663639847 194908 0x7f46940a8800 WARN h264decoder gsth264decoder.c:2361:modify_ref_pic_list:<vah264dec0> Malformed stream, no pic num -1
0:00:37.663661159 194908 0x7f46940a8800 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vah264dec0> error: Failed to decode data
0:00:37.663752836 194908 0x7f46940a8800 WARN vadecoder gstvadecoder.c:700:gst_va_decode_picture_free: VABufferID are leaked
0:00:37.663841593 194908 0x7f46940a8800 WARN h264decoder gsth264picture.c:364:gst_h264_dpb_get_short_ref_by_pic_num: No short term reference picture for 0
0:00:37.663858118 194908 0x7f46940a8800 WARN h264decoder gsth264decoder.c:2361:modify_ref_pic_list:<vah264dec0> Malformed stream, no pic num 0
0:00:37.663875069 194908 0x7f46940a8800 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vah264dec0> error: Failed to decode data
0:00:37.663924957 194908 0x7f46940a8800 WARN vadecoder gstvadecoder.c:700:gst_va_decode_picture_free: VABufferID are leaked
0:00:37.664004231 194908 0x7f46940a8800 WARN h264decoder gsth264picture.c:364:gst_h264_dpb_get_short_ref_by_pic_num: No short term reference picture for 1
0:00:37.664025259 194908 0x7f46940a8800 WARN h264decoder gsth264decoder.c:2361:modify_ref_pic_list:<vah264dec0> Malformed stream, no pic num 1
0:00:37.664045933 194908 0x7f46940a8800 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vah264dec0> error: Failed to decode data
0:00:37.664060501 194908 0x7f46940a8800 WARN vadecoder gstvadecoder.c:700:gst_va_decode_picture_free: VABufferID are leaked
0:00:37.664110295 194908 0x7f46940a8800 WARN h264decoder gsth264picture.c:364:gst_h264_dpb_get_short_ref_by_pic_num: No short term reference picture for 2
0:00:37.664118830 194908 0x7f46940a8800 WARN h264decoder gsth264decoder.c:2361:modify_ref_pic_list:<vah264dec0> Malformed stream, no pic num 2
0:00:37.664127205 194908 0x7f46940a8800 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vah264dec0> error: Failed to decode data
0:00:37.664141004 194908 0x7f46940a8800 WARN vadecoder gstvadecoder.c:700:gst_va_decode_picture_free: VABufferID are leaked
0:00:37.664182360 194908 0x7f46940a8800 WARN h264decoder gsth264picture.c:364:gst_h264_dpb_get_short_ref_by_pic_num: No short term reference picture for 3
0:00:37.664189766 194908 0x7f46940a8800 WARN h264decoder gsth264decoder.c:2361:modify_ref_pic_list:<vah264dec0> Malformed stream, no pic num 3
0:00:37.664197599 194908 0x7f46940a8800 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vah264dec0> error: Failed to decode data
0:00:37.664213882 194908 0x7f46940a8800 WARN vadecoder gstvadecoder.c:700:gst_va_decode_picture_free: VABufferID are leaked
0:00:37.664260057 194908 0x7f46940a8800 WARN h264decoder gsth264picture.c:364:gst_h264_dpb_get_short_ref_by_pic_num: No short term reference picture for 4
0:00:37.664285224 194908 0x7f46940a8800 WARN h264decoder gsth264decoder.c:2361:modify_ref_pic_list:<vah264dec0> Malformed stream, no pic num 4
0:00:37.664293615 194908 0x7f46940a8800 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vah264dec0> error: Failed to decode data
0:00:37.664307931 194908 0x7f46940a8800 WARN vadecoder gstvadecoder.c:700:gst_va_decode_picture_free: VABufferID are leaked
0:00:37.665298393 194908 0x7f46940a8800 WARN h264decoder gsth264picture.c:364:gst_h264_dpb_get_short_ref_by_pic_num: No short term reference picture for 5
0:00:37.665335097 194908 0x7f46940a8800 WARN h264decoder gsth264decoder.c:2361:modify_ref_pic_list:<vah264dec0> Malformed stream, no pic num 5
0:00:37.665366032 194908 0x7f46940a8800 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vah264dec0> error: Failed to decode data
0:00:37.665425179 194908 0x7f46940a8800 WARN vadecoder gstvadecoder.c:700:gst_va_decode_picture_free: VABufferID are leaked
0:00:37.665504373 194908 0x7f46940a8800 WARN h264decoder gsth264picture.c:364:gst_h264_dpb_get_short_ref_by_pic_num: No short term reference picture for 6
0:00:37.665523347 194908 0x7f46940a8800 WARN h264decoder gsth264decoder.c:2361:modify_ref_pic_list:<vah264dec0> Malformed stream, no pic num 6
0:00:37.665541797 194908 0x7f46940a8800 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vah264dec0> error: Failed to decode data
0:00:37.665596797 194908 0x7f46940a8800 WARN vadecoder gstvadecoder.c:700:gst_va_decode_picture_free: VABufferID are leaked
0:00:37.665679410 194908 0x7f46940a84c0 WARN matroskademux matroska-demux.c:5860:gst_matroska_demux_loop:<matroskademux0> error: Internal data stream error.
0:00:37.665697494 194908 0x7f46940a84c0 WARN matroskademux matroska-demux.c:5860:gst_matroska_demux_loop:<matroskademux0> error: streaming stopped, reason error (-5)
```
* This happens on older gstreamer-vaapi decoder:
```bash
0:00:10.024339951 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 7
0:00:10.024395559 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 7
0:00:10.024419745 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 6
0:00:10.024432864 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 5
0:00:10.024446926 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 4
0:00:10.024459163 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 0 is empty
0:00:10.024471417 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 1 is empty
0:00:10.024485345 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 2 is empty
0:00:10.024495212 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 3 is empty
0:00:10.024505425 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 4 is empty
0:00:10.024524345 196001 0x7f3b7c000cc0 WARN vaapidecode gstvaapidecode.c:780:gst_vaapidecode_handle_frame:<vaapidecode0> decode error -1
0:00:10.024543492 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vaapidecode0> error: Decoding error
0:00:10.024556907 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4329:_gst_video_decoder_error:<vaapidecode0> error: Decode error -1
0:00:10.025419817 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 8
0:00:10.025440777 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 8
0:00:10.025453644 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 7
0:00:10.025466314 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 6
0:00:10.025478716 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 5
0:00:10.025494261 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 0 is empty
0:00:10.025515998 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 1 is empty
0:00:10.025536144 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 2 is empty
0:00:10.025556782 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 3 is empty
0:00:10.025576406 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 4 is empty
0:00:10.025601997 196001 0x7f3b7c000cc0 WARN vaapidecode gstvaapidecode.c:780:gst_vaapidecode_handle_frame:<vaapidecode0> decode error -1
0:00:10.025624267 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vaapidecode0> error: Decoding error
0:00:10.025637282 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4329:_gst_video_decoder_error:<vaapidecode0> error: Decode error -1
0:00:10.025749873 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 9
0:00:10.025766789 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 9
0:00:10.025779996 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 8
0:00:10.025794208 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 7
0:00:10.025808884 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 6
0:00:10.025821330 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 0 is empty
0:00:10.025830877 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 1 is empty
0:00:10.025843044 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 2 is empty
0:00:10.025856539 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 3 is empty
0:00:10.025869873 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 4 is empty
0:00:10.025883722 196001 0x7f3b7c000cc0 WARN vaapidecode gstvaapidecode.c:780:gst_vaapidecode_handle_frame:<vaapidecode0> decode error -1
0:00:10.025899185 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vaapidecode0> error: Decoding error
0:00:10.025909976 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4329:_gst_video_decoder_error:<vaapidecode0> error: Decode error -1
0:00:10.026237266 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 10
0:00:10.026253914 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 10
0:00:10.026265486 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 9
0:00:10.026275142 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 8
0:00:10.026284806 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 7
0:00:10.026296834 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 0 is empty
0:00:10.026307038 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 1 is empty
0:00:10.026319711 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 2 is empty
0:00:10.026331971 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 3 is empty
0:00:10.026341549 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 4 is empty
0:00:10.026354087 196001 0x7f3b7c000cc0 WARN vaapidecode gstvaapidecode.c:780:gst_vaapidecode_handle_frame:<vaapidecode0> decode error -1
0:00:10.026369909 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vaapidecode0> error: Decoding error
0:00:10.026380696 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4329:_gst_video_decoder_error:<vaapidecode0> error: Decode error -1
0:00:10.026475229 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 11
0:00:10.026488825 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 11
0:00:10.026497104 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 10
0:00:10.026508127 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 9
0:00:10.026516766 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 8
0:00:10.026529037 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 0 is empty
0:00:10.026542914 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 1 is empty
0:00:10.026552342 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 2 is empty
0:00:10.026563822 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 3 is empty
0:00:10.026576017 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 4 is empty
0:00:10.026585871 196001 0x7f3b7c000cc0 WARN vaapidecode gstvaapidecode.c:780:gst_vaapidecode_handle_frame:<vaapidecode0> decode error -1
0:00:10.026600953 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vaapidecode0> error: Decoding error
0:00:10.026609650 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4329:_gst_video_decoder_error:<vaapidecode0> error: Decode error -1
0:00:10.026717931 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 12
0:00:10.026731628 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 12
0:00:10.026745925 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 11
0:00:10.026757180 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 10
0:00:10.026767668 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 9
0:00:10.026782039 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 0 is empty
0:00:10.026791313 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 1 is empty
0:00:10.026801983 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 2 is empty
0:00:10.026813495 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 3 is empty
0:00:10.026824545 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 4 is empty
0:00:10.026837174 196001 0x7f3b7c000cc0 WARN vaapidecode gstvaapidecode.c:780:gst_vaapidecode_handle_frame:<vaapidecode0> decode error -1
0:00:10.026849916 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vaapidecode0> error: Decoding error
0:00:10.026861008 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4329:_gst_video_decoder_error:<vaapidecode0> error: Decode error -1
0:00:10.026957682 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 13
0:00:10.026971467 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 13
0:00:10.026982311 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 12
0:00:10.026993808 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 11
0:00:10.027002370 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 10
0:00:10.027012623 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 0 is empty
0:00:10.027024039 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 1 is empty
0:00:10.027036329 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 2 is empty
0:00:10.027048550 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 3 is empty
0:00:10.027061301 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 4 is empty
0:00:10.027074085 196001 0x7f3b7c000cc0 WARN vaapidecode gstvaapidecode.c:780:gst_vaapidecode_handle_frame:<vaapidecode0> decode error -1
0:00:10.027094954 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vaapidecode0> error: Decoding error
0:00:10.027104323 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4329:_gst_video_decoder_error:<vaapidecode0> error: Decode error -1
0:00:10.027251540 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 14
0:00:10.027264757 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 14
0:00:10.027278060 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 13
0:00:10.027286149 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 12
0:00:10.027294780 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 11
0:00:10.027303967 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 0 is empty
0:00:10.027312726 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 1 is empty
0:00:10.027321209 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 2 is empty
0:00:10.027329396 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 3 is empty
0:00:10.027338274 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 4 is empty
0:00:10.027351768 196001 0x7f3b7c000cc0 WARN vaapidecode gstvaapidecode.c:780:gst_vaapidecode_handle_frame:<vaapidecode0> decode error -1
0:00:10.027364978 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vaapidecode0> error: Decoding error
0:00:10.027377249 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4329:_gst_video_decoder_error:<vaapidecode0> error: Decode error -1
0:00:10.027459382 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = -1
0:00:10.027473543 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = -1
0:00:10.027481761 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = -2
0:00:10.027492762 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = -3
0:00:10.027504180 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = -4
0:00:10.027513194 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 0 is empty
0:00:10.027522127 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 1 is empty
0:00:10.027531974 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 2 is empty
0:00:10.027540447 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 3 is empty
0:00:10.027549620 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 4 is empty
0:00:10.027591214 196001 0x7f3b7c000cc0 WARN vaapidecode gstvaapidecode.c:780:gst_vaapidecode_handle_frame:<vaapidecode0> decode error -1
0:00:10.027603887 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vaapidecode0> error: Decoding error
0:00:10.027612864 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4329:_gst_video_decoder_error:<vaapidecode0> error: Decode error -1
0:00:10.027695812 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 0
0:00:10.027707668 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 0
0:00:10.027715779 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = -1
0:00:10.027723843 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = -2
0:00:10.027733213 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = -3
0:00:10.027741909 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 0 is empty
0:00:10.027753003 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 1 is empty
0:00:10.027761528 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 2 is empty
0:00:10.027770401 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 3 is empty
0:00:10.027779227 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 4 is empty
0:00:10.027791138 196001 0x7f3b7c000cc0 WARN vaapidecode gstvaapidecode.c:780:gst_vaapidecode_handle_frame:<vaapidecode0> decode error -1
0:00:10.027803059 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vaapidecode0> error: Decoding error
0:00:10.027812942 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4329:_gst_video_decoder_error:<vaapidecode0> error: Decode error -1
0:00:10.027898653 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 1
0:00:10.027910363 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 1
0:00:10.027920190 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 0
0:00:10.027928509 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = -1
0:00:10.027938668 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = -2
0:00:10.027948851 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 0 is empty
0:00:10.027959310 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 1 is empty
0:00:10.027970200 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 2 is empty
0:00:10.027978612 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 3 is empty
0:00:10.027986884 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 4 is empty
0:00:10.027997316 196001 0x7f3b7c000cc0 WARN vaapidecode gstvaapidecode.c:780:gst_vaapidecode_handle_frame:<vaapidecode0> decode error -1
0:00:10.028009135 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vaapidecode0> error: Decoding error
0:00:10.028017222 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4329:_gst_video_decoder_error:<vaapidecode0> error: Decode error -1
0:00:10.028541712 196001 0x7f3b78000e40 WARN matroskademux matroska-demux.c:5860:gst_matroska_demux_loop:<matroskademux0> error: Internal data stream error.
0:00:10.028567276 196001 0x7f3b78000e40 WARN matroskademux matroska-demux.c:5860:gst_matroska_demux_loop:<matroskademux0> error: streaming stopped, reason error (-5)
```
* And this is with `avdec_h264`:
```bash
0:00:09.142425994 196423 0x7f151029b800 ERROR libav :0:: reference picture missing during reorder
0:00:09.142473613 196423 0x7f151029b800 ERROR libav :0:: reference picture missing during reorder
0:00:09.142494060 196423 0x7f151029b800 ERROR libav :0:: Missing reference picture, default is 2
0:00:09.142505121 196423 0x7f151029b800 ERROR libav :0:: Missing reference picture, default is 2
```https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/issues/288vah264dec: error when seeking2020-11-15T12:42:36ZRafał Dzięgielvah264dec: error when seekingWhen seeking on some h264 media files I get below output followed by `Internal data stream error` and playback stops. Mainly happens on matroska files. I am using GStreamer 1.18.1 (also happens on 1.18.0) on Linux.
I am not sure what is...When seeking on some h264 media files I get below output followed by `Internal data stream error` and playback stops. Mainly happens on matroska files. I am using GStreamer 1.18.1 (also happens on 1.18.0) on Linux.
I am not sure what is causing this as it happens with various h264 decoders. I am doing playback and seeking through `GstPlayer`. So maybe its related to the player (or playbin) itself or some h264 parser problem.
* This is what happens with `vah264dec`:
```bash
0:00:37.648937382 194908 0x7f46940a8800 WARN h264decoder gsth264picture.c:364:gst_h264_dpb_get_short_ref_by_pic_num: No short term reference picture for 12
0:00:37.648969185 194908 0x7f46940a8800 WARN h264decoder gsth264decoder.c:2361:modify_ref_pic_list:<vah264dec0> Malformed stream, no pic num 12
0:00:37.648993473 194908 0x7f46940a8800 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vah264dec0> error: Failed to decode data
0:00:37.649050616 194908 0x7f46940a8800 WARN vadecoder gstvadecoder.c:700:gst_va_decode_picture_free: VABufferID are leaked
0:00:37.649800062 194908 0x7f46940a8800 WARN h264decoder gsth264picture.c:364:gst_h264_dpb_get_short_ref_by_pic_num: No short term reference picture for 13
0:00:37.649837240 194908 0x7f46940a8800 WARN h264decoder gsth264decoder.c:2361:modify_ref_pic_list:<vah264dec0> Malformed stream, no pic num 13
0:00:37.649858012 194908 0x7f46940a8800 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vah264dec0> error: Failed to decode data
0:00:37.649936378 194908 0x7f46940a8800 WARN vadecoder gstvadecoder.c:700:gst_va_decode_picture_free: VABufferID are leaked
0:00:37.662780979 194908 0x7f46940a8800 WARN h264decoder gsth264picture.c:364:gst_h264_dpb_get_short_ref_by_pic_num: No short term reference picture for 14
0:00:37.662853082 194908 0x7f46940a8800 WARN h264decoder gsth264decoder.c:2361:modify_ref_pic_list:<vah264dec0> Malformed stream, no pic num 14
0:00:37.662912124 194908 0x7f46940a8800 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vah264dec0> error: Failed to decode data
0:00:37.663004001 194908 0x7f46940a8800 WARN vadecoder gstvadecoder.c:700:gst_va_decode_picture_free: VABufferID are leaked
0:00:37.663599838 194908 0x7f46940a8800 WARN h264decoder gsth264picture.c:364:gst_h264_dpb_get_short_ref_by_pic_num: No short term reference picture for -1
0:00:37.663639847 194908 0x7f46940a8800 WARN h264decoder gsth264decoder.c:2361:modify_ref_pic_list:<vah264dec0> Malformed stream, no pic num -1
0:00:37.663661159 194908 0x7f46940a8800 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vah264dec0> error: Failed to decode data
0:00:37.663752836 194908 0x7f46940a8800 WARN vadecoder gstvadecoder.c:700:gst_va_decode_picture_free: VABufferID are leaked
0:00:37.663841593 194908 0x7f46940a8800 WARN h264decoder gsth264picture.c:364:gst_h264_dpb_get_short_ref_by_pic_num: No short term reference picture for 0
0:00:37.663858118 194908 0x7f46940a8800 WARN h264decoder gsth264decoder.c:2361:modify_ref_pic_list:<vah264dec0> Malformed stream, no pic num 0
0:00:37.663875069 194908 0x7f46940a8800 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vah264dec0> error: Failed to decode data
0:00:37.663924957 194908 0x7f46940a8800 WARN vadecoder gstvadecoder.c:700:gst_va_decode_picture_free: VABufferID are leaked
0:00:37.664004231 194908 0x7f46940a8800 WARN h264decoder gsth264picture.c:364:gst_h264_dpb_get_short_ref_by_pic_num: No short term reference picture for 1
0:00:37.664025259 194908 0x7f46940a8800 WARN h264decoder gsth264decoder.c:2361:modify_ref_pic_list:<vah264dec0> Malformed stream, no pic num 1
0:00:37.664045933 194908 0x7f46940a8800 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vah264dec0> error: Failed to decode data
0:00:37.664060501 194908 0x7f46940a8800 WARN vadecoder gstvadecoder.c:700:gst_va_decode_picture_free: VABufferID are leaked
0:00:37.664110295 194908 0x7f46940a8800 WARN h264decoder gsth264picture.c:364:gst_h264_dpb_get_short_ref_by_pic_num: No short term reference picture for 2
0:00:37.664118830 194908 0x7f46940a8800 WARN h264decoder gsth264decoder.c:2361:modify_ref_pic_list:<vah264dec0> Malformed stream, no pic num 2
0:00:37.664127205 194908 0x7f46940a8800 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vah264dec0> error: Failed to decode data
0:00:37.664141004 194908 0x7f46940a8800 WARN vadecoder gstvadecoder.c:700:gst_va_decode_picture_free: VABufferID are leaked
0:00:37.664182360 194908 0x7f46940a8800 WARN h264decoder gsth264picture.c:364:gst_h264_dpb_get_short_ref_by_pic_num: No short term reference picture for 3
0:00:37.664189766 194908 0x7f46940a8800 WARN h264decoder gsth264decoder.c:2361:modify_ref_pic_list:<vah264dec0> Malformed stream, no pic num 3
0:00:37.664197599 194908 0x7f46940a8800 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vah264dec0> error: Failed to decode data
0:00:37.664213882 194908 0x7f46940a8800 WARN vadecoder gstvadecoder.c:700:gst_va_decode_picture_free: VABufferID are leaked
0:00:37.664260057 194908 0x7f46940a8800 WARN h264decoder gsth264picture.c:364:gst_h264_dpb_get_short_ref_by_pic_num: No short term reference picture for 4
0:00:37.664285224 194908 0x7f46940a8800 WARN h264decoder gsth264decoder.c:2361:modify_ref_pic_list:<vah264dec0> Malformed stream, no pic num 4
0:00:37.664293615 194908 0x7f46940a8800 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vah264dec0> error: Failed to decode data
0:00:37.664307931 194908 0x7f46940a8800 WARN vadecoder gstvadecoder.c:700:gst_va_decode_picture_free: VABufferID are leaked
0:00:37.665298393 194908 0x7f46940a8800 WARN h264decoder gsth264picture.c:364:gst_h264_dpb_get_short_ref_by_pic_num: No short term reference picture for 5
0:00:37.665335097 194908 0x7f46940a8800 WARN h264decoder gsth264decoder.c:2361:modify_ref_pic_list:<vah264dec0> Malformed stream, no pic num 5
0:00:37.665366032 194908 0x7f46940a8800 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vah264dec0> error: Failed to decode data
0:00:37.665425179 194908 0x7f46940a8800 WARN vadecoder gstvadecoder.c:700:gst_va_decode_picture_free: VABufferID are leaked
0:00:37.665504373 194908 0x7f46940a8800 WARN h264decoder gsth264picture.c:364:gst_h264_dpb_get_short_ref_by_pic_num: No short term reference picture for 6
0:00:37.665523347 194908 0x7f46940a8800 WARN h264decoder gsth264decoder.c:2361:modify_ref_pic_list:<vah264dec0> Malformed stream, no pic num 6
0:00:37.665541797 194908 0x7f46940a8800 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vah264dec0> error: Failed to decode data
0:00:37.665596797 194908 0x7f46940a8800 WARN vadecoder gstvadecoder.c:700:gst_va_decode_picture_free: VABufferID are leaked
0:00:37.665679410 194908 0x7f46940a84c0 WARN matroskademux matroska-demux.c:5860:gst_matroska_demux_loop:<matroskademux0> error: Internal data stream error.
0:00:37.665697494 194908 0x7f46940a84c0 WARN matroskademux matroska-demux.c:5860:gst_matroska_demux_loop:<matroskademux0> error: streaming stopped, reason error (-5)
```
* This happens on older gstreamer-vaapi decoder:
```bash
0:00:10.024339951 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 7
0:00:10.024395559 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 7
0:00:10.024419745 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 6
0:00:10.024432864 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 5
0:00:10.024446926 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 4
0:00:10.024459163 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 0 is empty
0:00:10.024471417 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 1 is empty
0:00:10.024485345 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 2 is empty
0:00:10.024495212 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 3 is empty
0:00:10.024505425 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 4 is empty
0:00:10.024524345 196001 0x7f3b7c000cc0 WARN vaapidecode gstvaapidecode.c:780:gst_vaapidecode_handle_frame:<vaapidecode0> decode error -1
0:00:10.024543492 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vaapidecode0> error: Decoding error
0:00:10.024556907 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4329:_gst_video_decoder_error:<vaapidecode0> error: Decode error -1
0:00:10.025419817 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 8
0:00:10.025440777 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 8
0:00:10.025453644 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 7
0:00:10.025466314 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 6
0:00:10.025478716 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 5
0:00:10.025494261 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 0 is empty
0:00:10.025515998 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 1 is empty
0:00:10.025536144 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 2 is empty
0:00:10.025556782 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 3 is empty
0:00:10.025576406 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 4 is empty
0:00:10.025601997 196001 0x7f3b7c000cc0 WARN vaapidecode gstvaapidecode.c:780:gst_vaapidecode_handle_frame:<vaapidecode0> decode error -1
0:00:10.025624267 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vaapidecode0> error: Decoding error
0:00:10.025637282 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4329:_gst_video_decoder_error:<vaapidecode0> error: Decode error -1
0:00:10.025749873 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 9
0:00:10.025766789 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 9
0:00:10.025779996 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 8
0:00:10.025794208 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 7
0:00:10.025808884 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 6
0:00:10.025821330 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 0 is empty
0:00:10.025830877 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 1 is empty
0:00:10.025843044 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 2 is empty
0:00:10.025856539 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 3 is empty
0:00:10.025869873 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 4 is empty
0:00:10.025883722 196001 0x7f3b7c000cc0 WARN vaapidecode gstvaapidecode.c:780:gst_vaapidecode_handle_frame:<vaapidecode0> decode error -1
0:00:10.025899185 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vaapidecode0> error: Decoding error
0:00:10.025909976 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4329:_gst_video_decoder_error:<vaapidecode0> error: Decode error -1
0:00:10.026237266 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 10
0:00:10.026253914 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 10
0:00:10.026265486 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 9
0:00:10.026275142 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 8
0:00:10.026284806 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 7
0:00:10.026296834 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 0 is empty
0:00:10.026307038 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 1 is empty
0:00:10.026319711 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 2 is empty
0:00:10.026331971 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 3 is empty
0:00:10.026341549 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 4 is empty
0:00:10.026354087 196001 0x7f3b7c000cc0 WARN vaapidecode gstvaapidecode.c:780:gst_vaapidecode_handle_frame:<vaapidecode0> decode error -1
0:00:10.026369909 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vaapidecode0> error: Decoding error
0:00:10.026380696 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4329:_gst_video_decoder_error:<vaapidecode0> error: Decode error -1
0:00:10.026475229 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 11
0:00:10.026488825 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 11
0:00:10.026497104 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 10
0:00:10.026508127 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 9
0:00:10.026516766 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 8
0:00:10.026529037 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 0 is empty
0:00:10.026542914 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 1 is empty
0:00:10.026552342 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 2 is empty
0:00:10.026563822 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 3 is empty
0:00:10.026576017 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 4 is empty
0:00:10.026585871 196001 0x7f3b7c000cc0 WARN vaapidecode gstvaapidecode.c:780:gst_vaapidecode_handle_frame:<vaapidecode0> decode error -1
0:00:10.026600953 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vaapidecode0> error: Decoding error
0:00:10.026609650 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4329:_gst_video_decoder_error:<vaapidecode0> error: Decode error -1
0:00:10.026717931 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 12
0:00:10.026731628 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 12
0:00:10.026745925 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 11
0:00:10.026757180 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 10
0:00:10.026767668 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 9
0:00:10.026782039 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 0 is empty
0:00:10.026791313 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 1 is empty
0:00:10.026801983 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 2 is empty
0:00:10.026813495 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 3 is empty
0:00:10.026824545 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 4 is empty
0:00:10.026837174 196001 0x7f3b7c000cc0 WARN vaapidecode gstvaapidecode.c:780:gst_vaapidecode_handle_frame:<vaapidecode0> decode error -1
0:00:10.026849916 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vaapidecode0> error: Decoding error
0:00:10.026861008 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4329:_gst_video_decoder_error:<vaapidecode0> error: Decode error -1
0:00:10.026957682 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 13
0:00:10.026971467 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 13
0:00:10.026982311 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 12
0:00:10.026993808 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 11
0:00:10.027002370 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 10
0:00:10.027012623 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 0 is empty
0:00:10.027024039 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 1 is empty
0:00:10.027036329 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 2 is empty
0:00:10.027048550 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 3 is empty
0:00:10.027061301 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 4 is empty
0:00:10.027074085 196001 0x7f3b7c000cc0 WARN vaapidecode gstvaapidecode.c:780:gst_vaapidecode_handle_frame:<vaapidecode0> decode error -1
0:00:10.027094954 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vaapidecode0> error: Decoding error
0:00:10.027104323 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4329:_gst_video_decoder_error:<vaapidecode0> error: Decode error -1
0:00:10.027251540 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 14
0:00:10.027264757 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 14
0:00:10.027278060 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 13
0:00:10.027286149 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 12
0:00:10.027294780 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 11
0:00:10.027303967 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 0 is empty
0:00:10.027312726 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 1 is empty
0:00:10.027321209 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 2 is empty
0:00:10.027329396 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 3 is empty
0:00:10.027338274 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 4 is empty
0:00:10.027351768 196001 0x7f3b7c000cc0 WARN vaapidecode gstvaapidecode.c:780:gst_vaapidecode_handle_frame:<vaapidecode0> decode error -1
0:00:10.027364978 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vaapidecode0> error: Decoding error
0:00:10.027377249 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4329:_gst_video_decoder_error:<vaapidecode0> error: Decode error -1
0:00:10.027459382 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = -1
0:00:10.027473543 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = -1
0:00:10.027481761 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = -2
0:00:10.027492762 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = -3
0:00:10.027504180 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = -4
0:00:10.027513194 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 0 is empty
0:00:10.027522127 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 1 is empty
0:00:10.027531974 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 2 is empty
0:00:10.027540447 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 3 is empty
0:00:10.027549620 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 4 is empty
0:00:10.027591214 196001 0x7f3b7c000cc0 WARN vaapidecode gstvaapidecode.c:780:gst_vaapidecode_handle_frame:<vaapidecode0> decode error -1
0:00:10.027603887 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vaapidecode0> error: Decoding error
0:00:10.027612864 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4329:_gst_video_decoder_error:<vaapidecode0> error: Decode error -1
0:00:10.027695812 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 0
0:00:10.027707668 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 0
0:00:10.027715779 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = -1
0:00:10.027723843 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = -2
0:00:10.027733213 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = -3
0:00:10.027741909 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 0 is empty
0:00:10.027753003 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 1 is empty
0:00:10.027761528 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 2 is empty
0:00:10.027770401 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 3 is empty
0:00:10.027779227 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 4 is empty
0:00:10.027791138 196001 0x7f3b7c000cc0 WARN vaapidecode gstvaapidecode.c:780:gst_vaapidecode_handle_frame:<vaapidecode0> decode error -1
0:00:10.027803059 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vaapidecode0> error: Decoding error
0:00:10.027812942 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4329:_gst_video_decoder_error:<vaapidecode0> error: Decode error -1
0:00:10.027898653 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 1
0:00:10.027910363 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 1
0:00:10.027920190 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 0
0:00:10.027928509 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = -1
0:00:10.027938668 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = -2
0:00:10.027948851 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 0 is empty
0:00:10.027959310 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 1 is empty
0:00:10.027970200 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 2 is empty
0:00:10.027978612 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 3 is empty
0:00:10.027986884 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 4 is empty
0:00:10.027997316 196001 0x7f3b7c000cc0 WARN vaapidecode gstvaapidecode.c:780:gst_vaapidecode_handle_frame:<vaapidecode0> decode error -1
0:00:10.028009135 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vaapidecode0> error: Decoding error
0:00:10.028017222 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4329:_gst_video_decoder_error:<vaapidecode0> error: Decode error -1
0:00:10.028541712 196001 0x7f3b78000e40 WARN matroskademux matroska-demux.c:5860:gst_matroska_demux_loop:<matroskademux0> error: Internal data stream error.
0:00:10.028567276 196001 0x7f3b78000e40 WARN matroskademux matroska-demux.c:5860:gst_matroska_demux_loop:<matroskademux0> error: streaming stopped, reason error (-5)
```
* And this is with `avdec_h264`:
```bash
0:00:09.142425994 196423 0x7f151029b800 ERROR libav :0:: reference picture missing during reorder
0:00:09.142473613 196423 0x7f151029b800 ERROR libav :0:: reference picture missing during reorder
0:00:09.142494060 196423 0x7f151029b800 ERROR libav :0:: Missing reference picture, default is 2
0:00:09.142505121 196423 0x7f151029b800 ERROR libav :0:: Missing reference picture, default is 2
```https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1443vah264dec: error when seeking2020-11-16T08:18:46ZRafał Dzięgielvah264dec: error when seekingWhen seeking on some h264 media files I get below output followed by `Internal data stream error` and playback stops. Mainly happens on matroska files. I am using GStreamer 1.18.1 (also happens on 1.18.0) on Linux.
I am not sure what is...When seeking on some h264 media files I get below output followed by `Internal data stream error` and playback stops. Mainly happens on matroska files. I am using GStreamer 1.18.1 (also happens on 1.18.0) on Linux.
I am not sure what is causing this as it happens with various h264 decoders. I am doing playback and seeking through `GstPlayer`. So maybe its related to the player (or playbin) itself or some h264 parser problem.
* This is what happens with `vah264dec`:
```bash
0:00:37.648937382 194908 0x7f46940a8800 WARN h264decoder gsth264picture.c:364:gst_h264_dpb_get_short_ref_by_pic_num: No short term reference picture for 12
0:00:37.648969185 194908 0x7f46940a8800 WARN h264decoder gsth264decoder.c:2361:modify_ref_pic_list:<vah264dec0> Malformed stream, no pic num 12
0:00:37.648993473 194908 0x7f46940a8800 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vah264dec0> error: Failed to decode data
0:00:37.649050616 194908 0x7f46940a8800 WARN vadecoder gstvadecoder.c:700:gst_va_decode_picture_free: VABufferID are leaked
0:00:37.649800062 194908 0x7f46940a8800 WARN h264decoder gsth264picture.c:364:gst_h264_dpb_get_short_ref_by_pic_num: No short term reference picture for 13
0:00:37.649837240 194908 0x7f46940a8800 WARN h264decoder gsth264decoder.c:2361:modify_ref_pic_list:<vah264dec0> Malformed stream, no pic num 13
0:00:37.649858012 194908 0x7f46940a8800 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vah264dec0> error: Failed to decode data
0:00:37.649936378 194908 0x7f46940a8800 WARN vadecoder gstvadecoder.c:700:gst_va_decode_picture_free: VABufferID are leaked
0:00:37.662780979 194908 0x7f46940a8800 WARN h264decoder gsth264picture.c:364:gst_h264_dpb_get_short_ref_by_pic_num: No short term reference picture for 14
0:00:37.662853082 194908 0x7f46940a8800 WARN h264decoder gsth264decoder.c:2361:modify_ref_pic_list:<vah264dec0> Malformed stream, no pic num 14
0:00:37.662912124 194908 0x7f46940a8800 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vah264dec0> error: Failed to decode data
0:00:37.663004001 194908 0x7f46940a8800 WARN vadecoder gstvadecoder.c:700:gst_va_decode_picture_free: VABufferID are leaked
0:00:37.663599838 194908 0x7f46940a8800 WARN h264decoder gsth264picture.c:364:gst_h264_dpb_get_short_ref_by_pic_num: No short term reference picture for -1
0:00:37.663639847 194908 0x7f46940a8800 WARN h264decoder gsth264decoder.c:2361:modify_ref_pic_list:<vah264dec0> Malformed stream, no pic num -1
0:00:37.663661159 194908 0x7f46940a8800 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vah264dec0> error: Failed to decode data
0:00:37.663752836 194908 0x7f46940a8800 WARN vadecoder gstvadecoder.c:700:gst_va_decode_picture_free: VABufferID are leaked
0:00:37.663841593 194908 0x7f46940a8800 WARN h264decoder gsth264picture.c:364:gst_h264_dpb_get_short_ref_by_pic_num: No short term reference picture for 0
0:00:37.663858118 194908 0x7f46940a8800 WARN h264decoder gsth264decoder.c:2361:modify_ref_pic_list:<vah264dec0> Malformed stream, no pic num 0
0:00:37.663875069 194908 0x7f46940a8800 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vah264dec0> error: Failed to decode data
0:00:37.663924957 194908 0x7f46940a8800 WARN vadecoder gstvadecoder.c:700:gst_va_decode_picture_free: VABufferID are leaked
0:00:37.664004231 194908 0x7f46940a8800 WARN h264decoder gsth264picture.c:364:gst_h264_dpb_get_short_ref_by_pic_num: No short term reference picture for 1
0:00:37.664025259 194908 0x7f46940a8800 WARN h264decoder gsth264decoder.c:2361:modify_ref_pic_list:<vah264dec0> Malformed stream, no pic num 1
0:00:37.664045933 194908 0x7f46940a8800 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vah264dec0> error: Failed to decode data
0:00:37.664060501 194908 0x7f46940a8800 WARN vadecoder gstvadecoder.c:700:gst_va_decode_picture_free: VABufferID are leaked
0:00:37.664110295 194908 0x7f46940a8800 WARN h264decoder gsth264picture.c:364:gst_h264_dpb_get_short_ref_by_pic_num: No short term reference picture for 2
0:00:37.664118830 194908 0x7f46940a8800 WARN h264decoder gsth264decoder.c:2361:modify_ref_pic_list:<vah264dec0> Malformed stream, no pic num 2
0:00:37.664127205 194908 0x7f46940a8800 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vah264dec0> error: Failed to decode data
0:00:37.664141004 194908 0x7f46940a8800 WARN vadecoder gstvadecoder.c:700:gst_va_decode_picture_free: VABufferID are leaked
0:00:37.664182360 194908 0x7f46940a8800 WARN h264decoder gsth264picture.c:364:gst_h264_dpb_get_short_ref_by_pic_num: No short term reference picture for 3
0:00:37.664189766 194908 0x7f46940a8800 WARN h264decoder gsth264decoder.c:2361:modify_ref_pic_list:<vah264dec0> Malformed stream, no pic num 3
0:00:37.664197599 194908 0x7f46940a8800 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vah264dec0> error: Failed to decode data
0:00:37.664213882 194908 0x7f46940a8800 WARN vadecoder gstvadecoder.c:700:gst_va_decode_picture_free: VABufferID are leaked
0:00:37.664260057 194908 0x7f46940a8800 WARN h264decoder gsth264picture.c:364:gst_h264_dpb_get_short_ref_by_pic_num: No short term reference picture for 4
0:00:37.664285224 194908 0x7f46940a8800 WARN h264decoder gsth264decoder.c:2361:modify_ref_pic_list:<vah264dec0> Malformed stream, no pic num 4
0:00:37.664293615 194908 0x7f46940a8800 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vah264dec0> error: Failed to decode data
0:00:37.664307931 194908 0x7f46940a8800 WARN vadecoder gstvadecoder.c:700:gst_va_decode_picture_free: VABufferID are leaked
0:00:37.665298393 194908 0x7f46940a8800 WARN h264decoder gsth264picture.c:364:gst_h264_dpb_get_short_ref_by_pic_num: No short term reference picture for 5
0:00:37.665335097 194908 0x7f46940a8800 WARN h264decoder gsth264decoder.c:2361:modify_ref_pic_list:<vah264dec0> Malformed stream, no pic num 5
0:00:37.665366032 194908 0x7f46940a8800 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vah264dec0> error: Failed to decode data
0:00:37.665425179 194908 0x7f46940a8800 WARN vadecoder gstvadecoder.c:700:gst_va_decode_picture_free: VABufferID are leaked
0:00:37.665504373 194908 0x7f46940a8800 WARN h264decoder gsth264picture.c:364:gst_h264_dpb_get_short_ref_by_pic_num: No short term reference picture for 6
0:00:37.665523347 194908 0x7f46940a8800 WARN h264decoder gsth264decoder.c:2361:modify_ref_pic_list:<vah264dec0> Malformed stream, no pic num 6
0:00:37.665541797 194908 0x7f46940a8800 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vah264dec0> error: Failed to decode data
0:00:37.665596797 194908 0x7f46940a8800 WARN vadecoder gstvadecoder.c:700:gst_va_decode_picture_free: VABufferID are leaked
0:00:37.665679410 194908 0x7f46940a84c0 WARN matroskademux matroska-demux.c:5860:gst_matroska_demux_loop:<matroskademux0> error: Internal data stream error.
0:00:37.665697494 194908 0x7f46940a84c0 WARN matroskademux matroska-demux.c:5860:gst_matroska_demux_loop:<matroskademux0> error: streaming stopped, reason error (-5)
```
* This happens on older gstreamer-vaapi decoder:
```bash
0:00:10.024339951 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 7
0:00:10.024395559 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 7
0:00:10.024419745 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 6
0:00:10.024432864 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 5
0:00:10.024446926 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 4
0:00:10.024459163 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 0 is empty
0:00:10.024471417 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 1 is empty
0:00:10.024485345 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 2 is empty
0:00:10.024495212 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 3 is empty
0:00:10.024505425 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 4 is empty
0:00:10.024524345 196001 0x7f3b7c000cc0 WARN vaapidecode gstvaapidecode.c:780:gst_vaapidecode_handle_frame:<vaapidecode0> decode error -1
0:00:10.024543492 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vaapidecode0> error: Decoding error
0:00:10.024556907 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4329:_gst_video_decoder_error:<vaapidecode0> error: Decode error -1
0:00:10.025419817 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 8
0:00:10.025440777 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 8
0:00:10.025453644 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 7
0:00:10.025466314 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 6
0:00:10.025478716 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 5
0:00:10.025494261 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 0 is empty
0:00:10.025515998 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 1 is empty
0:00:10.025536144 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 2 is empty
0:00:10.025556782 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 3 is empty
0:00:10.025576406 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 4 is empty
0:00:10.025601997 196001 0x7f3b7c000cc0 WARN vaapidecode gstvaapidecode.c:780:gst_vaapidecode_handle_frame:<vaapidecode0> decode error -1
0:00:10.025624267 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vaapidecode0> error: Decoding error
0:00:10.025637282 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4329:_gst_video_decoder_error:<vaapidecode0> error: Decode error -1
0:00:10.025749873 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 9
0:00:10.025766789 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 9
0:00:10.025779996 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 8
0:00:10.025794208 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 7
0:00:10.025808884 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 6
0:00:10.025821330 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 0 is empty
0:00:10.025830877 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 1 is empty
0:00:10.025843044 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 2 is empty
0:00:10.025856539 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 3 is empty
0:00:10.025869873 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 4 is empty
0:00:10.025883722 196001 0x7f3b7c000cc0 WARN vaapidecode gstvaapidecode.c:780:gst_vaapidecode_handle_frame:<vaapidecode0> decode error -1
0:00:10.025899185 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vaapidecode0> error: Decoding error
0:00:10.025909976 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4329:_gst_video_decoder_error:<vaapidecode0> error: Decode error -1
0:00:10.026237266 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 10
0:00:10.026253914 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 10
0:00:10.026265486 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 9
0:00:10.026275142 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 8
0:00:10.026284806 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 7
0:00:10.026296834 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 0 is empty
0:00:10.026307038 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 1 is empty
0:00:10.026319711 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 2 is empty
0:00:10.026331971 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 3 is empty
0:00:10.026341549 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 4 is empty
0:00:10.026354087 196001 0x7f3b7c000cc0 WARN vaapidecode gstvaapidecode.c:780:gst_vaapidecode_handle_frame:<vaapidecode0> decode error -1
0:00:10.026369909 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vaapidecode0> error: Decoding error
0:00:10.026380696 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4329:_gst_video_decoder_error:<vaapidecode0> error: Decode error -1
0:00:10.026475229 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 11
0:00:10.026488825 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 11
0:00:10.026497104 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 10
0:00:10.026508127 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 9
0:00:10.026516766 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 8
0:00:10.026529037 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 0 is empty
0:00:10.026542914 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 1 is empty
0:00:10.026552342 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 2 is empty
0:00:10.026563822 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 3 is empty
0:00:10.026576017 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 4 is empty
0:00:10.026585871 196001 0x7f3b7c000cc0 WARN vaapidecode gstvaapidecode.c:780:gst_vaapidecode_handle_frame:<vaapidecode0> decode error -1
0:00:10.026600953 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vaapidecode0> error: Decoding error
0:00:10.026609650 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4329:_gst_video_decoder_error:<vaapidecode0> error: Decode error -1
0:00:10.026717931 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 12
0:00:10.026731628 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 12
0:00:10.026745925 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 11
0:00:10.026757180 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 10
0:00:10.026767668 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 9
0:00:10.026782039 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 0 is empty
0:00:10.026791313 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 1 is empty
0:00:10.026801983 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 2 is empty
0:00:10.026813495 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 3 is empty
0:00:10.026824545 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 4 is empty
0:00:10.026837174 196001 0x7f3b7c000cc0 WARN vaapidecode gstvaapidecode.c:780:gst_vaapidecode_handle_frame:<vaapidecode0> decode error -1
0:00:10.026849916 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vaapidecode0> error: Decoding error
0:00:10.026861008 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4329:_gst_video_decoder_error:<vaapidecode0> error: Decode error -1
0:00:10.026957682 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 13
0:00:10.026971467 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 13
0:00:10.026982311 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 12
0:00:10.026993808 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 11
0:00:10.027002370 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 10
0:00:10.027012623 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 0 is empty
0:00:10.027024039 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 1 is empty
0:00:10.027036329 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 2 is empty
0:00:10.027048550 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 3 is empty
0:00:10.027061301 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 4 is empty
0:00:10.027074085 196001 0x7f3b7c000cc0 WARN vaapidecode gstvaapidecode.c:780:gst_vaapidecode_handle_frame:<vaapidecode0> decode error -1
0:00:10.027094954 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vaapidecode0> error: Decoding error
0:00:10.027104323 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4329:_gst_video_decoder_error:<vaapidecode0> error: Decode error -1
0:00:10.027251540 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 14
0:00:10.027264757 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 14
0:00:10.027278060 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 13
0:00:10.027286149 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 12
0:00:10.027294780 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 11
0:00:10.027303967 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 0 is empty
0:00:10.027312726 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 1 is empty
0:00:10.027321209 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 2 is empty
0:00:10.027329396 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 3 is empty
0:00:10.027338274 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 4 is empty
0:00:10.027351768 196001 0x7f3b7c000cc0 WARN vaapidecode gstvaapidecode.c:780:gst_vaapidecode_handle_frame:<vaapidecode0> decode error -1
0:00:10.027364978 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vaapidecode0> error: Decoding error
0:00:10.027377249 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4329:_gst_video_decoder_error:<vaapidecode0> error: Decode error -1
0:00:10.027459382 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = -1
0:00:10.027473543 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = -1
0:00:10.027481761 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = -2
0:00:10.027492762 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = -3
0:00:10.027504180 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = -4
0:00:10.027513194 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 0 is empty
0:00:10.027522127 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 1 is empty
0:00:10.027531974 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 2 is empty
0:00:10.027540447 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 3 is empty
0:00:10.027549620 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 4 is empty
0:00:10.027591214 196001 0x7f3b7c000cc0 WARN vaapidecode gstvaapidecode.c:780:gst_vaapidecode_handle_frame:<vaapidecode0> decode error -1
0:00:10.027603887 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vaapidecode0> error: Decoding error
0:00:10.027612864 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4329:_gst_video_decoder_error:<vaapidecode0> error: Decode error -1
0:00:10.027695812 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 0
0:00:10.027707668 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 0
0:00:10.027715779 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = -1
0:00:10.027723843 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = -2
0:00:10.027733213 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = -3
0:00:10.027741909 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 0 is empty
0:00:10.027753003 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 1 is empty
0:00:10.027761528 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 2 is empty
0:00:10.027770401 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 3 is empty
0:00:10.027779227 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 4 is empty
0:00:10.027791138 196001 0x7f3b7c000cc0 WARN vaapidecode gstvaapidecode.c:780:gst_vaapidecode_handle_frame:<vaapidecode0> decode error -1
0:00:10.027803059 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vaapidecode0> error: Decoding error
0:00:10.027812942 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4329:_gst_video_decoder_error:<vaapidecode0> error: Decode error -1
0:00:10.027898653 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 1
0:00:10.027910363 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 1
0:00:10.027920190 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = 0
0:00:10.027928509 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = -1
0:00:10.027938668 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2757:find_short_term_reference: found no short-term reference picture with PicNum = -2
0:00:10.027948851 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 0 is empty
0:00:10.027959310 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 1 is empty
0:00:10.027970200 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 2 is empty
0:00:10.027978612 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 3 is empty
0:00:10.027986884 196001 0x7f3b7c000cc0 ERROR vaapi gstvaapidecoder_h264.c:2963:exec_picture_refs_modification_1: list 0 entry 4 is empty
0:00:10.027997316 196001 0x7f3b7c000cc0 WARN vaapidecode gstvaapidecode.c:780:gst_vaapidecode_handle_frame:<vaapidecode0> decode error -1
0:00:10.028009135 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4327:_gst_video_decoder_error:<vaapidecode0> error: Decoding error
0:00:10.028017222 196001 0x7f3b7c000cc0 WARN videodecoder gstvideodecoder.c:4329:_gst_video_decoder_error:<vaapidecode0> error: Decode error -1
0:00:10.028541712 196001 0x7f3b78000e40 WARN matroskademux matroska-demux.c:5860:gst_matroska_demux_loop:<matroskademux0> error: Internal data stream error.
0:00:10.028567276 196001 0x7f3b78000e40 WARN matroskademux matroska-demux.c:5860:gst_matroska_demux_loop:<matroskademux0> error: streaming stopped, reason error (-5)
```
* And this is with `avdec_h264`:
```bash
0:00:09.142425994 196423 0x7f151029b800 ERROR libav :0:: reference picture missing during reorder
0:00:09.142473613 196423 0x7f151029b800 ERROR libav :0:: reference picture missing during reorder
0:00:09.142494060 196423 0x7f151029b800 ERROR libav :0:: Missing reference picture, default is 2
0:00:09.142505121 196423 0x7f151029b800 ERROR libav :0:: Missing reference picture, default is 2
```https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/issues/833playbin about-to-finish deadlock simultaneously setting state to NULL2020-11-11T20:33:13ZRobert Rosengrenplaybin about-to-finish deadlock simultaneously setting state to NULLApplication using playbin and connected to about-to-finish will deadlock if protecting its data with a mutex in this multi-thread scenario when simultaneously setting state to NULL - a user has pressed stop.
So, the application will re...Application using playbin and connected to about-to-finish will deadlock if protecting its data with a mutex in this multi-thread scenario when simultaneously setting state to NULL - a user has pressed stop.
So, the application will receive about-to-finish in a gstreamer thread, but it seems as it still holds internal mutex in gstreamer. Another thread, like glib mainloop, is setting state to NULL which will result in waiting on same internal gstreamer mutex. If application then has its own mutex to protect its data, we will have a deadlock.
Should it not be possible to use mutex from within about-to-finish callback? To me it seems as the callback should have released internal mutex before handing over control to application.
Internal gstreamer lock involved in gstpad is GST_PAD_STREAM_LOCK (pad) for thread trying to set NULL state:
`#2 0x00007ffff7d73cb8 in post_activate (new_mode=GST_PAD_MODE_NONE, pad=0x5555556769e0) at ../gst/gstpad.c:1046`
As far as I can see, same pad is used from about-to-finish signal:
```
#25 0x00007ffff7d74fee in gst_pad_forward (pad=pad@entry=0x5555556769e0, forward=forward@entry=0x7ffff7d78b20 <event_forward_func>, user_data=user_data@entry=0x7ffff5ee4b80) at ../gst/gstpad.c:3074
#26 0x00007ffff7d750fd in gst_pad_event_default (pad=0x5555556769e0, parent=<optimized out>, event=0x7fffec067d60) at ../gst/gstpad.c:3171
#27 0x00007ffff7d6ed47 in gst_pad_send_event_unchecked (pad=pad@entry=0x5555556769e0, event=event@entry=0x7fffec067d60, type=<optimized out>, type@entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM) at ../gst/gstpad.c:5844
```
Tested in 1.16 and latest 1.18.1, same behavior.
Kind of simple to trigger in a small application, just add g_idle_add from about-to-finish callback with a function that takes a mutex and tries to set NULL state, and make sure callback waits for it to happen and then take same mutex.
[test_playbin_deadlock.c](/uploads/d794880548539deb39f232b7308bb880/test_playbin_deadlock.c)https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/issues/832[regression][compile] since !8952020-10-29T10:33:21ZU. Artie Eoff[regression][compile] since !895Sinc !895, compilation on Ubuntu Bionic and Focal is broken:
```
18:48:41,397 INFO - In file included from /usr/include/fcntl.h:290:0,
18:48:41,397 INFO - from ../tests/check/libs/allocators.c:28:
18:48:41,397 INFO - In function 'ope...Sinc !895, compilation on Ubuntu Bionic and Focal is broken:
```
18:48:41,397 INFO - In file included from /usr/include/fcntl.h:290:0,
18:48:41,397 INFO - from ../tests/check/libs/allocators.c:28:
18:48:41,397 INFO - In function 'open',
18:48:41,397 INFO - inlined from 'test_fdmem' at ../tests/check/libs/allocators.c:76:6:
18:48:41,397 INFO - /usr/include/x86_64-linux-gnu/bits/fcntl2.h:50:4: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT or O_TMPFILE in second argument needs 3 arguments
18:48:41,397 INFO - __open_missing_mode ();
18:48:41,397 INFO - ^~~~~~~~~~~~~~~~~~~~~~
```https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues/801qtdemux: This file use to demux fine with 1.16 and now fails pretenting the f...2020-10-28T16:13:00ZNicolas Dufresneqtdemux: This file use to demux fine with 1.16 and now fails pretenting the file is brokenFile is from: https://4kmedia.org/sony-world-heritage-kyoto/ This has been my test file for a while, and I didn't notice the regression during the 1.17 phase. It of course play fine with ffmpeg.
```
0:00:00.091793155 191100 0x7f96a40023...File is from: https://4kmedia.org/sony-world-heritage-kyoto/ This has been my test file for a while, and I didn't notice the regression during the 1.17 phase. It of course play fine with ffmpeg.
```
0:00:00.091793155 191100 0x7f96a4002360 WARN qtdemux qtdemux.c:535:gst_qtdemux_pull_atom:<qtdemux0> error: This file is invalid and cannot be played.
0:00:00.091806849 191100 0x7f96a4002360 WARN qtdemux qtdemux.c:535:gst_qtdemux_pull_atom:<qtdemux0> error: atom has bogus size 440786851
```