mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-18 12:15:19 +00:00
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
This commit is contained in:
parent
564eedd214
commit
4fdb52871c
1 changed files with 4 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue