mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-02 21:48:55 +00:00
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:
parent
c533ebfee0
commit
410bb3fef1
3 changed files with 16 additions and 1 deletions
10
ChangeLog
10
ChangeLog
|
@ -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>
|
2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
Patch by: Sergey Scobich <sergery.scobich at gmail com>
|
Patch by: Sergey Scobich <sergery.scobich at gmail com>
|
||||||
|
|
|
@ -1229,7 +1229,9 @@ choked:
|
||||||
}
|
}
|
||||||
could_not_submit:
|
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);
|
gst_ogg_pad_reset (pad);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
#include <gst/gst.h>
|
#include <gst/gst.h>
|
||||||
#include <gst/tag/tag.h>
|
#include <gst/tag/tag.h>
|
||||||
#include <gst/riff/riff-media.h>
|
#include <gst/riff/riff-media.h>
|
||||||
|
#include <gst/riff/riff-read.h>
|
||||||
|
|
||||||
GST_DEBUG_CATEGORY_STATIC (gst_ogm_parse_debug);
|
GST_DEBUG_CATEGORY_STATIC (gst_ogm_parse_debug);
|
||||||
#define GST_CAT_DEFAULT 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
|
gboolean
|
||||||
gst_ogm_parse_plugin_init (GstPlugin * plugin)
|
gst_ogm_parse_plugin_init (GstPlugin * plugin)
|
||||||
{
|
{
|
||||||
|
gst_riff_init ();
|
||||||
|
|
||||||
GST_DEBUG_CATEGORY_INIT (gst_ogm_parse_debug, "ogmparse", 0, "ogm parser");
|
GST_DEBUG_CATEGORY_INIT (gst_ogm_parse_debug, "ogmparse", 0, "ogm parser");
|
||||||
|
|
||||||
return gst_element_register (plugin, "ogmaudioparse", GST_RANK_PRIMARY,
|
return gst_element_register (plugin, "ogmaudioparse", GST_RANK_PRIMARY,
|
||||||
|
|
Loading…
Reference in a new issue