Commit 5ed90ffc authored by Mark Nauwelaerts's avatar Mark Nauwelaerts
Browse files

tagdemux: no input data implies no type can be found

... and posting a proper error message to this effect is appropriately
informative and prevents auto-plugging otherwise stalling.
parent 99944a5a
......@@ -1196,7 +1196,9 @@ gst_tag_demux_sink_activate (GstPad * sinkpad)
demux->priv->strip_start + demux->priv->strip_end) {
/* There was no data (probably due to a truncated file) */
GST_DEBUG_OBJECT (demux, "No data in file");
return FALSE;
/* so we don't know about type either */
goto done_activate;
/* 3 - Do typefinding on data */
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment