mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 18:50:48 +00:00
6229ad4f7f
Fix decoding of end_of_seq() NAL unit so that to not submit the current picture for decoding again. This is pretty vintage code that dates back before the existing of the whole decoder units machinery. One issue that could be arising if that code was kept is that we could have submitted a picture, and subsequently a GstVideoCodec frame, twice. Once without the decode_only flag set, and once with that flag set. The end result is that the GstVideoDecoder would release the codec frame twice, thus releasing stale data. In short, the piece of code that is removed by this patch is for once completely obsolete for a while, and secondly error-prone in corner cases. |
||
---|---|---|
.. | ||
base | ||
codecparsers | ||
vaapi | ||
Makefile.am |