ext/ogg/gstoggdemux.c: Fix confusing debug message.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_read_chain):
Fix confusing debug message.
This commit is contained in:
Wim Taymans 2007-03-07 17:15:57 +00:00
parent 0380355662
commit a1c380650c
2 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2007-03-07 Wim Taymans <wim@fluendo.com>
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_read_chain):
Fix confusing debug message.
2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
* gst-plugins-base.doap:

View file

@ -2355,7 +2355,11 @@ gst_ogg_demux_read_chain (GstOggDemux * ogg, GstOggChain ** res_chain)
}
if (ret != GST_FLOW_OK || chain == NULL) {
GST_WARNING_OBJECT (ogg, "failed to read chain");
if (ret != GST_FLOW_UNEXPECTED) {
GST_WARNING_OBJECT (ogg, "failed to read chain");
} else {
GST_DEBUG_OBJECT (ogg, "done reading chains");
}
if (chain) {
gst_ogg_chain_free (chain);
}