diff options
author | Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> | 2011-11-28 13:08:27 +0000 |
---|---|---|
committer | Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> | 2011-11-28 13:08:27 +0000 |
commit | 7521b597f4dc49d8d168f368f0e7ebaf98a72156 (patch) | |
tree | 0033ba79e1bf8add58e1dcecffa95f73010bbd10 /sys/vdpau/mpeg | |
parent | 26d6add9457f00ce8ec13844368466f0e3816e5d (diff) |
various: fix pad template ref leaks
https://bugzilla.gnome.org/show_bug.cgi?id=662664
Diffstat (limited to 'sys/vdpau/mpeg')
-rw-r--r-- | sys/vdpau/mpeg/gstvdpmpegdec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vdpau/mpeg/gstvdpmpegdec.c b/sys/vdpau/mpeg/gstvdpmpegdec.c index 3de0eec65..6a473e48e 100644 --- a/sys/vdpau/mpeg/gstvdpmpegdec.c +++ b/sys/vdpau/mpeg/gstvdpmpegdec.c @@ -624,8 +624,8 @@ gst_vdp_mpeg_dec_base_init (gpointer gclass) "Decode mpeg stream with vdpau", "Carl-Anton Ingmarsson <ca.ingmarsson@gmail.com>"); - gst_element_class_add_pad_template (element_class, - gst_static_pad_template_get (&sink_template)); + gst_element_class_add_static_pad_template (element_class, + &sink_template); } /* initialize the vdpaumpegdecoder's class */ |