summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2011-08-23 11:12:10 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2011-08-24 08:32:21 +0200
commit7b8b0fa1bbc22bb08e291c001e4413b47d0b120e (patch)
treea6dc69c09826ca3e3aba90f9c8741c4a0a2349f2 /ext
parentdf40ddf0aab02d9269974ddb86879abeb0429aee (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.c6
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)) {