mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-03 04:52:28 +00:00
ext/ogg/gstoggdemux.c: Refix oggdemux, we only have a problem if we failed to find a chain and we are not EOF.
Original commit message from CVS: * ext/ogg/gstoggdemux.c: (gst_ogg_demux_activate_chain), (gst_ogg_demux_read_chain): Refix oggdemux, we only have a problem if we failed to find a chain and we are not EOF.
This commit is contained in:
parent
38d188e468
commit
996128f268
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
|||
2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||
|
||||
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_activate_chain),
|
||||
(gst_ogg_demux_read_chain):
|
||||
Refix oggdemux, we only have a problem if we failed to find a chain and
|
||||
we are not EOF.
|
||||
|
||||
2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||
|
||||
Patch by: Victor STINNER <victor dot stinner at haypocalc dot com>
|
||||
|
|
|
@ -2357,7 +2357,7 @@ gst_ogg_demux_read_chain (GstOggDemux * ogg, GstOggChain ** res_chain)
|
|||
}
|
||||
|
||||
if (ret != GST_FLOW_OK || chain == NULL) {
|
||||
if (chain == NULL) {
|
||||
if (ret == GST_FLOW_OK) {
|
||||
GST_WARNING_OBJECT (ogg, "no chain was found");
|
||||
ret = GST_FLOW_ERROR;
|
||||
} else if (ret != GST_FLOW_UNEXPECTED) {
|
||||
|
|
Loading…
Reference in a new issue