Commit 089a7c72 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller
Browse files

gst/playback/gstdecodebin.c: Also emit 'unknown-type' signal (which should...

gst/playback/gstdecodebin.c: Also emit 'unknown-type' signal (which should really be called unhandled-type) if we fou...

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (close_pad_link):
Also emit 'unknown-type' signal (which should really be
called unhandled-type) if we found potential decoders/demuxers
in the registry but none of them worked in the end (as in the
case where the plugins don't exist any longer but are still
listed in the registry). Fixes #329798.
parent a295acae
2006-07-10 Tim-Philipp Müller <tim at centricular dot net>
* gst/playback/gstdecodebin.c: (close_pad_link):
Also emit 'unknown-type' signal (which should really be
called unhandled-type) if we found potential decoders/demuxers
in the registry but none of them worked in the end (as in the
case where the plugins don't exist any longer but are still
listed in the registry). Fixes #329798.
2006-07-08 Andy Wingo <wingo@pobox.com> 2006-07-08 Andy Wingo <wingo@pobox.com>
   
* theoraparse.c (theora_parse_push_buffer) * theoraparse.c (theora_parse_push_buffer)
......
...@@ -681,7 +681,11 @@ close_pad_link (GstElement * element, GstPad * pad, GstCaps * caps, ...@@ -681,7 +681,11 @@ close_pad_link (GstElement * element, GstPad * pad, GstCaps * caps,
/* no compatible elements, we cannot go on */ /* no compatible elements, we cannot go on */
goto unknown_type; goto unknown_type;
try_to_link_1 (decode_bin, element, pad, to_try); if (try_to_link_1 (decode_bin, element, pad, to_try) == NULL) {
GST_LOG_OBJECT (pad, "none of the allegedly available elements usable");
goto unknown_type;
}
/* can free the list again now */ /* can free the list again now */
g_list_free (to_try); g_list_free (to_try);
} }
......
Markdown is supported
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