mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
vdpaumpegdec: use fixed src caps
This commit is contained in:
parent
53a5272f73
commit
b4fa8a4ef0
1 changed files with 1 additions and 0 deletions
|
@ -1075,6 +1075,7 @@ static void
|
|||
gst_vdp_mpeg_dec_init (GstVdpMpegDec * mpeg_dec, GstVdpMpegDecClass * gclass)
|
||||
{
|
||||
mpeg_dec->src = gst_pad_new_from_static_template (&src_template, "src");
|
||||
gst_pad_use_fixed_caps (mpeg_dec->src);
|
||||
gst_pad_set_event_function (mpeg_dec->src,
|
||||
GST_DEBUG_FUNCPTR (gst_vdp_mpeg_dec_src_event));
|
||||
gst_pad_set_query_function (mpeg_dec->src,
|
||||
|
|
Loading…
Reference in a new issue