summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-02-02 16:05:14 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-02-02 16:05:14 +0100
commit0c756199c02bbc7f4fe104dc79d0ebd4d4b1d805 (patch)
tree5b56dbae4392409504200a60b43874a28216125f
parentee131d8af727249690c11e3873b59a2dd3dfa522 (diff)
downloadgst-plugins-bad-0c756199c02bbc7f4fe104dc79d0ebd4d4b1d805.tar.gz
gst-plugins-bad-0c756199c02bbc7f4fe104dc79d0ebd4d4b1d805.tar.bz2
gst-plugins-bad-0c756199c02bbc7f4fe104dc79d0ebd4d4b1d805.zip
Error out if no pads could be created
-rw-r--r--gst/mxf/mxfdemux.c3
1 files changed, 3 insertions, 0 deletions
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;