Error out if no pads could be created

This commit is contained in:
Sebastian Dröge 2009-02-02 16:05:14 +01:00
parent ee131d8af7
commit 0c756199c0

View file

@ -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;