mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-20 06:08:14 +00:00
4c66a0265c
When missing the reference frames, we should not just discard the current frame. Some streams have group of picture header. It is an optional header that can be used immediately before a coded I-frame to indicate to the decoder if the first consecutive B-pictures immediately following the coded I-frame can be reconstructed properly in the case of a random access. In that case, the B frames may miss the previous reference and can still be correctly decoded. We also notice that the second field of the I frame may be set to P type, and it only ref its first field. We should not skip all those frames, and even the frame really misses the reference frame, some manner such as inserting grey picture should be used to handle these cases. The driver crashes when it needs to access the reference picture while we set forward_reference_picture or backward_reference_picture to VA_INVALID_ID. We now set it to current picture to avoid this. This is just a temp manner. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1929> |
||
---|---|---|
.. | ||
androidmedia | ||
applemedia | ||
bluez | ||
d3d11 | ||
d3dvideosink | ||
decklink | ||
directsound | ||
dshowdecwrapper | ||
dshowsrcwrapper | ||
dshowvideosink | ||
dvb | ||
fbdev | ||
ipcpipeline | ||
kms | ||
magicleap | ||
mediafoundation | ||
msdk | ||
nvcodec | ||
opensles | ||
shm | ||
tinyalsa | ||
uvch264 | ||
v4l2codecs | ||
va | ||
wasapi | ||
wasapi2 | ||
winks | ||
winscreencap | ||
meson.build |