diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2008-12-08 18:24:21 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2008-12-08 18:24:21 +0000 |
commit | 939a1da72c97b261b023cd219adf834e54c80a80 (patch) | |
tree | daeb476abce4192be0eeee6b2124a8e3ccec3e70 /ext/dv/gstdv.c | |
parent | 0e280fb120083c8e8bc36a77a00c2cc9924d2efb (diff) |
ext/dv/: Really call dv_init() exactly one time, not one time for the demuxer and one time for the decoder.
Original commit message from CVS:
* ext/dv/gstdv.c: (plugin_init):
* ext/dv/gstdvdec.c: (gst_dvdec_class_init):
* ext/dv/gstdvdemux.c: (gst_dvdemux_class_init):
Really call dv_init() exactly one time, not one time for
the demuxer and one time for the decoder.
Diffstat (limited to 'ext/dv/gstdv.c')
-rw-r--r-- | ext/dv/gstdv.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/dv/gstdv.c b/ext/dv/gstdv.c index 7daadfae..970c5d15 100644 --- a/ext/dv/gstdv.c +++ b/ext/dv/gstdv.c @@ -28,6 +28,8 @@ static gboolean plugin_init (GstPlugin * plugin) { + dv_init (0, 0); + if (!gst_element_register (plugin, "dvdemux", GST_RANK_PRIMARY, gst_dvdemux_get_type ())) return FALSE; |