mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +00:00
plugins/elements/gsttypefindelement.c: Post TYPE_NOT_FOUND error message when typefinding is unsuccessful in the acti...
Original commit message from CVS: * plugins/elements/gsttypefindelement.c: (gst_type_find_element_activate): Post TYPE_NOT_FOUND error message when typefinding is unsuccessful in the activate function as well.
This commit is contained in:
parent
b423b77a9e
commit
5edbf28ba3
2 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
|
* plugins/elements/gsttypefindelement.c:
|
||||||
|
(gst_type_find_element_activate):
|
||||||
|
Post TYPE_NOT_FOUND error message when typefinding
|
||||||
|
is unsuccessful in the activate function as well.
|
||||||
|
|
||||||
2006-02-02 Wim Taymans <wim@fluendo.com>
|
2006-02-02 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
* docs/design/part-element-sink.txt:
|
* docs/design/part-element-sink.txt:
|
||||||
|
|
|
@ -872,8 +872,10 @@ gst_type_find_element_activate (GstPad * pad)
|
||||||
gst_pad_activate_push (typefind->src, FALSE);
|
gst_pad_activate_push (typefind->src, FALSE);
|
||||||
|
|
||||||
/* 5 */
|
/* 5 */
|
||||||
if (!found_caps)
|
if (!found_caps) {
|
||||||
|
GST_ELEMENT_ERROR (typefind, STREAM, TYPE_NOT_FOUND, (NULL), (NULL));
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
/* 6 */
|
/* 6 */
|
||||||
g_signal_emit (typefind, gst_type_find_element_signals[HAVE_TYPE],
|
g_signal_emit (typefind, gst_type_find_element_signals[HAVE_TYPE],
|
||||||
|
|
Loading…
Reference in a new issue