[gst-cvs] gst-plugins-bad: mxfdemux: Error out directly if pushing a packet downstream failed

Sebastian Dröge slomo at kemper.freedesktop.org
Thu Mar 26 00:20:15 PDT 2009


Module: gst-plugins-bad
Branch: master
Commit: 6c126cbfdf7cc56b608580b0254bfc0ff845def3
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=6c126cbfdf7cc56b608580b0254bfc0ff845def3

Author: Sebastian Dröge <sebastian.droege at collabora.co.uk>
Date:   Sun Mar 15 15:27:56 2009 +0100

mxfdemux: Error out directly if pushing a packet downstream failed

---

 gst/mxf/mxfdemux.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gst/mxf/mxfdemux.c b/gst/mxf/mxfdemux.c
index 9e486f1..733e920 100644
--- a/gst/mxf/mxfdemux.c
+++ b/gst/mxf/mxfdemux.c
@@ -1779,7 +1779,7 @@ gst_mxf_demux_handle_generic_container_essence_element (GstMXFDemux * demux,
           pad->last_stop);
 
     if (ret != GST_FLOW_OK)
-      break;
+      goto out;
 
     pad->current_essence_track_position++;
 





More information about the Gstreamer-commits mailing list