diff options
author | Edward Hervey <bilboed@bilboed.com> | 2010-02-13 15:18:05 +0100 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2010-02-13 15:18:05 +0100 |
commit | ed6f62f76318c00b9f9b05224b41c3029d3e0d95 (patch) | |
tree | 0b936b56eaf0506d3e630a2be6924a8f0cd69d24 /plugins | |
parent | aad80a10530fdd0ee8a943c1ea34bbf821db5bb5 (diff) |
typefind: Reset the working mode when going to READY/NULL
This allows properly re-using typefind (else it would think it's
already done the typefinding when being re-used with another
stream).
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/elements/gsttypefindelement.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/elements/gsttypefindelement.c b/plugins/elements/gsttypefindelement.c index 8c401e5372..4b5e2da6fc 100644 --- a/plugins/elements/gsttypefindelement.c +++ b/plugins/elements/gsttypefindelement.c @@ -1023,6 +1023,7 @@ gst_type_find_element_change_state (GstElement * element, (GFunc) gst_mini_object_unref, NULL); g_list_free (typefind->cached_events); typefind->cached_events = NULL; + typefind->mode = MODE_TYPEFIND; GST_OBJECT_UNLOCK (typefind); break; default: |