diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2008-04-11 13:08:24 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2008-04-11 13:08:24 +0000 |
commit | 2079938fc2dbc5672bd4505eb7d74cee61469d82 (patch) | |
tree | eb9412016147519aabe84100560b2ed34dc5f607 /gst/cdxaparse/gstcdxaparse.c | |
parent | 5788aba92cd13a82d993c0dfaa2a10a9d8ec677b (diff) | |
download | gst-plugins-bad-2079938fc2dbc5672bd4505eb7d74cee61469d82.tar.gz gst-plugins-bad-2079938fc2dbc5672bd4505eb7d74cee61469d82.tar.bz2 gst-plugins-bad-2079938fc2dbc5672bd4505eb7d74cee61469d82.zip |
gst/cdxaparse/: Port VCD parser (formerly cdxastrip) from 0.8 to 0.10. Doesn't do anything the 0.8 version didn't do ...
Original commit message from CVS:
* gst/cdxaparse/Makefile.am:
* gst/cdxaparse/gstcdxaparse.c:
* gst/cdxaparse/gstcdxastrip.c:
* gst/cdxaparse/gstcdxastrip.h:
* gst/cdxaparse/gstvcdparse.c:
* gst/cdxaparse/gstvcdparse.h:
Port VCD parser (formerly cdxastrip) from 0.8 to 0.10. Doesn't do
anything the 0.8 version didn't do though.
Diffstat (limited to 'gst/cdxaparse/gstcdxaparse.c')
-rw-r--r-- | gst/cdxaparse/gstcdxaparse.c | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/gst/cdxaparse/gstcdxaparse.c b/gst/cdxaparse/gstcdxaparse.c index 1169cef3..373aac75 100644 --- a/gst/cdxaparse/gstcdxaparse.c +++ b/gst/cdxaparse/gstcdxaparse.c @@ -25,10 +25,13 @@ #include <string.h> #include "gstcdxaparse.h" -/* #include "gstcdxastrip.h" */ +#include "gstvcdparse.h" + #include <gst/riff/riff-ids.h> #include <gst/riff/riff-read.h> +GST_DEBUG_CATEGORY (vcdparse_debug); + GST_DEBUG_CATEGORY_STATIC (cdxaparse_debug); #define GST_CAT_DEFAULT cdxaparse_debug @@ -552,13 +555,15 @@ gst_cdxa_parse_change_state (GstElement * element, GstStateChange transition) static gboolean plugin_init (GstPlugin * plugin) { - if (!gst_element_register (plugin, "cdxaparse", GST_RANK_PRIMARY, GST_TYPE_CDXA_PARSE) /* || - !gst_element_register (plugin, "cdxastrip", GST_RANK_PRIMARY, - GST_TYPE_CDXASTRIP) */ ) { - return FALSE; - } - GST_DEBUG_CATEGORY_INIT (cdxaparse_debug, "cdxaparse", 0, "CDXA Parser"); + GST_DEBUG_CATEGORY_INIT (vcdparse_debug, "vcdparse", 0, "VCD Parser"); + + if (!gst_element_register (plugin, "cdxaparse", GST_RANK_PRIMARY, + GST_TYPE_CDXA_PARSE)) + return FALSE; + if (!gst_element_register (plugin, "vcdparse", GST_RANK_PRIMARY, + GST_TYPE_VCD_PARSE)) + return FALSE; return TRUE; } |