mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 19:50:40 +00:00
auddec: fix luck-based sinkpad access
https://bugzilla.gnome.org/show_bug.cgi?id=792900
This commit is contained in:
parent
f42ce26ae9
commit
e1d0d73fc0
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ gst_ffmpegauddec_init (GstFFMpegAudDec * ffmpegdec)
|
|||
|
||||
ffmpegdec->frame = av_frame_alloc ();
|
||||
|
||||
GST_PAD_SET_ACCEPT_TEMPLATE (GST_VIDEO_DECODER_SINK_PAD (ffmpegdec));
|
||||
GST_PAD_SET_ACCEPT_TEMPLATE (GST_AUDIO_DECODER_SINK_PAD (ffmpegdec));
|
||||
gst_audio_decoder_set_use_default_pad_acceptcaps (GST_AUDIO_DECODER_CAST
|
||||
(ffmpegdec), TRUE);
|
||||
|
||||
|
|
Loading…
Reference in a new issue