diff options
author | Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> | 2011-08-23 10:47:53 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2011-08-24 08:31:17 +0200 |
commit | 4fdb52871c87d419429ce697ed80387855daf64b (patch) | |
tree | a8f40d9425a43fe9cd97426739a4a3fd22b6080e /ext | |
parent | 564eedd2143e5f7739fc17ac6f03b76fcf9ca90e (diff) |
oggdemux: do not warn when finding a non BOS page
After all, we do hope to find actual data for these streams.
However, warn if we could not set up a chain when we find a
non BOS page, as that means we don't have a valid Ogg stream.
https://bugzilla.gnome.org/show_bug.cgi?id=657151
Diffstat (limited to 'ext')
-rw-r--r-- | ext/ogg/gstoggdemux.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/ogg/gstoggdemux.c b/ext/ogg/gstoggdemux.c index 5280270a3..f04b5cc27 100644 --- a/ext/ogg/gstoggdemux.c +++ b/ext/ogg/gstoggdemux.c @@ -2674,11 +2674,13 @@ gst_ogg_demux_read_chain (GstOggDemux * ogg, GstOggChain ** res_chain) break; } if (!ogg_page_bos (&og)) { - GST_WARNING_OBJECT (ogg, "page is not BOS page"); + GST_INFO_OBJECT (ogg, "page is not BOS page, all streams identified"); /* if we did not find a chain yet, assume this is a bogus stream and * ignore it */ - if (!chain) + if (!chain) { + GST_WARNING_OBJECT (ogg, "No chain found, no Ogg data in stream ?"); ret = GST_FLOW_UNEXPECTED; + } break; } |