diff options
author | Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> | 2011-08-23 11:12:10 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2011-08-24 08:32:21 +0200 |
commit | 7b8b0fa1bbc22bb08e291c001e4413b47d0b120e (patch) | |
tree | a6dc69c09826ca3e3aba90f9c8741c4a0a2349f2 /ext | |
parent | df40ddf0aab02d9269974ddb86879abeb0429aee (diff) |
oggdemux: do not warn when reaching EOS while scanning for the end chain
After all, we were asking for it.
This gets rid of the last warning-about-expected-condition.
w00t.
https://bugzilla.gnome.org/show_bug.cgi?id=657151
Diffstat (limited to 'ext')
-rw-r--r-- | ext/ogg/gstoggdemux.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/ogg/gstoggdemux.c b/ext/ogg/gstoggdemux.c index 165bb238f..56d23c49f 100644 --- a/ext/ogg/gstoggdemux.c +++ b/ext/ogg/gstoggdemux.c @@ -2670,7 +2670,11 @@ gst_ogg_demux_read_chain (GstOggDemux * ogg, GstOggChain ** res_chain) ret = gst_ogg_demux_get_next_page (ogg, &og, -1, NULL); if (ret != GST_FLOW_OK) { - GST_WARNING_OBJECT (ogg, "problem reading BOS page: ret=%d", ret); + if (ret == GST_FLOW_UNEXPECTED) { + GST_DEBUG_OBJECT (ogg, "Reached EOS, done reading end chain"); + } else { + GST_WARNING_OBJECT (ogg, "problem reading BOS page: ret=%d", ret); + } break; } if (!ogg_page_bos (&og)) { |