mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
mpeg2: don't output dummy pictures.
Mark dummy pictures as output already so that we don't try to submit them to the upper layer since this is purely internal / temporary picture for helping the decoder.
This commit is contained in:
parent
b358651fb3
commit
f4097931a1
1 changed files with 1 additions and 0 deletions
|
@ -993,6 +993,7 @@ init_picture(GstVaapiDecoderMpeg2 *decoder, GstVaapiPicture *picture)
|
|||
GST_VAAPI_PICTURE_FLAG_SET(
|
||||
dummy_picture,
|
||||
(GST_VAAPI_PICTURE_FLAG_SKIPPED |
|
||||
GST_VAAPI_PICTURE_FLAG_OUTPUT |
|
||||
GST_VAAPI_PICTURE_FLAG_REFERENCE)
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue