projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aad80a1
)
typefind: Reset the working mode when going to READY/NULL
author
Edward Hervey
<bilboed@bilboed.com>
Sat, 13 Feb 2010 14:18:05 +0000
(15:18 +0100)
committer
Edward Hervey
<bilboed@bilboed.com>
Sat, 13 Feb 2010 14:18:05 +0000
(15:18 +0100)
This allows properly re-using typefind (else it would think it's
already done the typefinding when being re-used with another
stream).
plugins/elements/gsttypefindelement.c
patch
|
blob
|
history
diff --git
a/plugins/elements/gsttypefindelement.c
b/plugins/elements/gsttypefindelement.c
index
8c401e5
..
4b5e2da
100644
(file)
--- 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: