From 0c756199c02bbc7f4fe104dc79d0ebd4d4b1d805 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 2 Feb 2009 16:05:14 +0100 Subject: Error out if no pads could be created --- gst/mxf/mxfdemux.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gst/mxf/mxfdemux.c b/gst/mxf/mxfdemux.c index 6b805ed8..54911f43 100644 --- a/gst/mxf/mxfdemux.c +++ b/gst/mxf/mxfdemux.c @@ -1107,6 +1107,9 @@ gst_mxf_demux_update_tracks (GstMXFDemux * demux) return GST_FLOW_ERROR; } } + } else { + GST_ERROR_OBJECT (demux, "Couldn't create any streams"); + return GST_FLOW_ERROR; } return GST_FLOW_OK; -- cgit v1.2.1