mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
mpeg2dec: Use new gst_video_decoder_set_needs_format() API
This commit is contained in:
parent
88b27e30c9
commit
6049866ca6
1 changed files with 1 additions and 0 deletions
|
@ -134,6 +134,7 @@ static void
|
|||
gst_mpeg2dec_init (GstMpeg2dec * mpeg2dec)
|
||||
{
|
||||
gst_video_decoder_set_packetized (GST_VIDEO_DECODER (mpeg2dec), TRUE);
|
||||
gst_video_decoder_set_needs_format (GST_VIDEO_DECODER (mpeg2dec), TRUE);
|
||||
|
||||
/* initialize the mpeg2dec acceleration */
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue