mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-18 20:25:25 +00:00
amcvideodec: Use new gst_video_decoder_set_needs_format() API
This commit is contained in:
parent
edf89926d6
commit
219275dbb6
1 changed files with 1 additions and 0 deletions
|
@ -434,6 +434,7 @@ static void
|
|||
gst_amc_video_dec_init (GstAmcVideoDec * self)
|
||||
{
|
||||
gst_video_decoder_set_packetized (GST_VIDEO_DECODER (self), TRUE);
|
||||
gst_video_decoder_set_needs_format (GST_VIDEO_DECODER (self), TRUE);
|
||||
|
||||
g_mutex_init (&self->drain_lock);
|
||||
g_cond_init (&self->drain_cond);
|
||||
|
|
Loading…
Reference in a new issue