ext/ogg/gstoggdemux.c: Improve a debug line slightly.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_submit_page):
Improve a debug line slightly.

* ext/ogg/gstogmparse.c: (gst_ogm_parse_plugin_init):
Call gst_riff_init() in plugin_init, to avoid getting errors from
the debug system (unrelated changes to another plugin made this turn
up; not sure why).
This commit is contained in:
Michael Smith 2006-11-13 15:31:01 +00:00
parent c533ebfee0
commit 410bb3fef1
3 changed files with 16 additions and 1 deletions

View file

@ -1,3 +1,13 @@
2006-11-13 Michael Smith <msmith@fluendo.com>
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_submit_page):
Improve a debug line slightly.
* ext/ogg/gstogmparse.c: (gst_ogm_parse_plugin_init):
Call gst_riff_init() in plugin_init, to avoid getting errors from
the debug system (unrelated changes to another plugin made this turn
up; not sure why).
2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
Patch by: Sergey Scobich <sergery.scobich at gmail com>

View file

@ -1229,7 +1229,9 @@ choked:
}
could_not_submit:
{
GST_WARNING_OBJECT (ogg, "could not submit packet, error: %d", result);
GST_WARNING_OBJECT (ogg,
"could not submit packet for stream %08x, error: %d", pad->serialno,
result);
gst_ogg_pad_reset (pad);
return result;
}

View file

@ -27,6 +27,7 @@
#include <gst/gst.h>
#include <gst/tag/tag.h>
#include <gst/riff/riff-media.h>
#include <gst/riff/riff-read.h>
GST_DEBUG_CATEGORY_STATIC (gst_ogm_parse_debug);
#define GST_CAT_DEFAULT gst_ogm_parse_debug
@ -939,6 +940,8 @@ gst_ogm_parse_change_state (GstElement * element, GstStateChange transition)
gboolean
gst_ogm_parse_plugin_init (GstPlugin * plugin)
{
gst_riff_init ();
GST_DEBUG_CATEGORY_INIT (gst_ogm_parse_debug, "ogmparse", 0, "ogm parser");
return gst_element_register (plugin, "ogmaudioparse", GST_RANK_PRIMARY,