mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 05:06:17 +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(
|
GST_VAAPI_PICTURE_FLAG_SET(
|
||||||
dummy_picture,
|
dummy_picture,
|
||||||
(GST_VAAPI_PICTURE_FLAG_SKIPPED |
|
(GST_VAAPI_PICTURE_FLAG_SKIPPED |
|
||||||
|
GST_VAAPI_PICTURE_FLAG_OUTPUT |
|
||||||
GST_VAAPI_PICTURE_FLAG_REFERENCE)
|
GST_VAAPI_PICTURE_FLAG_REFERENCE)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue