diff options
-rw-r--r-- | sys/vdpau/gstvdpaudecoder.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/vdpau/gstvdpaudecoder.c b/sys/vdpau/gstvdpaudecoder.c index f828d2ba..fe4e8796 100644 --- a/sys/vdpau/gstvdpaudecoder.c +++ b/sys/vdpau/gstvdpaudecoder.c @@ -124,8 +124,7 @@ gst_vdpaudecoder_init (GstVDPAUDecoder * dec, GstVDPAUDecoderClass * klass) dec->src = gst_pad_new_from_static_template (&src_template, "src"); gst_element_add_pad (GST_ELEMENT (dec), dec->src); - dec->sink = - gst_pad_new_from_template (gst_element_class_get_pad_template + dec->sink = gst_pad_new_from_template (gst_element_class_get_pad_template (GST_ELEMENT_CLASS (klass), "sink"), "sink"); gst_element_add_pad (GST_ELEMENT (dec), dec->sink); } |