decodebin2: Post missing plugin messages before any error messages

This commit is contained in:
Sebastian Dröge 2009-08-31 11:10:55 +02:00
parent 008c760b6b
commit 2194166e05

View file

@ -1115,6 +1115,9 @@ unknown_type:
do_async_done (dbin);
}
gst_element_post_message (GST_ELEMENT_CAST (dbin),
gst_missing_decoder_message_new (GST_ELEMENT_CAST (dbin), caps));
if (src == dbin->typefind) {
gchar *desc;
@ -1132,9 +1135,6 @@ unknown_type:
("Stream caps %" GST_PTR_FORMAT, caps));
}
}
gst_element_post_message (GST_ELEMENT_CAST (dbin),
gst_missing_decoder_message_new (GST_ELEMENT_CAST (dbin), caps));
return;
}
non_fixed: