From: <tp...@ke...> - 2006-05-22 08:24:25
|
CVS Root: /cvs/gstreamer Module: gst-plugins-ugly Changes by: tpm Date: Mon May 22 2006 08:24:21 UTC Log message: * gst/asfdemux/gstasf.c: (plugin_init): Call gst_riff_init() so the riff debug category gets set up before it is being used. Modified files: . : ChangeLog gst/asfdemux : gstasf.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-ugly/ChangeLog.diff?r1=1.2033&r2=1.2034 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-ugly/gst/asfdemux/gstasf.c.diff?r1=1.5&r2=1.6 ====Begin Diffs==== Index: ChangeLog =================================================================== RCS file: /cvs/gstreamer/gst-plugins-ugly/ChangeLog,v retrieving revision 1.2033 retrieving revision 1.2034 diff -u -d -r1.2033 -r1.2034 --- ChangeLog 19 May 2006 13:55:11 -0000 1.2033 +++ ChangeLog 22 May 2006 08:24:09 -0000 1.2034 @@ -1,3 +1,9 @@ +2006-05-22 Tim-Philipp Müller <tim at centricular dot net> + + * gst/asfdemux/gstasf.c: (plugin_init): + Call gst_riff_init() so the riff debug category gets set up + before it is being used. 2006-05-19 Michael Smith <ms...@fl...> * gst/iec958/ac3_padder.c: (ac3p_parse): Index: gstasf.c RCS file: /cvs/gstreamer/gst-plugins-ugly/gst/asfdemux/gstasf.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- gstasf.c 1 Apr 2006 09:54:38 -0000 1.5 +++ gstasf.c 22 May 2006 08:24:09 -0000 1.6 @@ -22,6 +22,7 @@ #endif #include <gst/gst.h> +#include <gst/riff/riff-media.h> #include "gstasfdemux.h" /* #include "gstasfmux.h" */ @@ -29,11 +30,16 @@ static gboolean plugin_init (GstPlugin * plugin) { - if (!gst_element_register (plugin, "asfdemux", GST_RANK_SECONDARY, GST_TYPE_ASF_DEMUX)) /* - || !gst_element_register (plugin, "asfmux", GST_RANK_NONE, - GST_TYPE_ASFMUX)) - */ + gst_riff_init (); + if (!gst_element_register (plugin, "asfdemux", GST_RANK_SECONDARY, + GST_TYPE_ASF_DEMUX)) { return FALSE; + } +/* + if (!gst_element_register (plugin, "asfmux", GST_RANK_NONE, GST_TYPE_ASFMUX)) + return FALSE; +*/ return TRUE; } |