mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
vdpaumpegdec: follow GstVdpVideoSrcPad changes
This commit is contained in:
parent
6afb2c5e8d
commit
2cb7696f86
1 changed files with 1 additions and 3 deletions
|
@ -1138,9 +1138,7 @@ gst_vdp_mpeg_dec_init (GstVdpMpegDec * mpeg_dec, GstVdpMpegDecClass * gclass)
|
|||
/* SRC PAD */
|
||||
src_template =
|
||||
gst_element_class_get_pad_template (GST_ELEMENT_CLASS (gclass), "src");
|
||||
mpeg_dec->src =
|
||||
GST_PAD (gst_vdp_video_src_pad_new (gst_pad_template_get_caps
|
||||
(src_template)));
|
||||
mpeg_dec->src = GST_PAD (gst_vdp_video_src_pad_new (src_template, "src"));
|
||||
|
||||
gst_pad_set_event_function (mpeg_dec->src,
|
||||
GST_DEBUG_FUNCPTR (gst_vdp_mpeg_dec_src_event));
|
||||
|
|
Loading…
Reference in a new issue