+2006-08-14 Thomas Vander Stichele <thomas at apestaart dot org>
+
+ Patch by: Edward Hervey (edward at fluendo dot com)
+
+ * ext/dvdread/dvdreadsrc.c: (plugin_init):
+ Put debug category initialization before use of GST_DEBUG, in order
+ to remove a fatal warning. Fixes #350895
+
2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
* gst/dvdsub/gstdvdsubdec.c: (plugin_init):
static gboolean
plugin_init (GstPlugin * plugin)
{
+ GST_DEBUG_CATEGORY_INIT (gstgst_dvd_read_src_debug, "dvdreadsrc", 0,
+ "DVD reader element based on dvdreadsrc");
+
#ifdef ENABLE_NLS
GST_DEBUG ("binding text domain %s to locale dir %s", GETTEXT_PACKAGE,
LOCALEDIR);
bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
#endif /* ENABLE_NLS */
- GST_DEBUG_CATEGORY_INIT (gstgst_dvd_read_src_debug, "dvdreadsrc", 0,
- "DVD reader element based on dvdreadsrc");
-
if (!gst_element_register (plugin, "dvdreadsrc", GST_RANK_SECONDARY,
GST_TYPE_DVD_READ_SRC)) {
return FALSE;