summaryrefslogtreecommitdiffstats
path: root/ext/gconf
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2007-03-05 14:46:43 +0000
committerWim Taymans <wim.taymans@gmail.com>2007-03-05 14:46:43 +0000
commit1642f31fb9612e66c3e3a925f9a0b60beedfe14b (patch)
tree9cb04f11d25bbe606ad6b7196f3bddd6beaf2979 /ext/gconf
parent943584e0ff07c00c9a878d9db5abd2b550260646 (diff)
ext/gconf/gstswitchsink.c: Mark us as a sink when we have no fakesink in NULL. Fixes #414887.
Original commit message from CVS: * ext/gconf/gstswitchsink.c: (gst_switch_sink_reset): Mark us as a sink when we have no fakesink in NULL. Fixes #414887.
Diffstat (limited to 'ext/gconf')
-rw-r--r--ext/gconf/gstswitchsink.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/gconf/gstswitchsink.c b/ext/gconf/gstswitchsink.c
index 9c091708..0d5003aa 100644
--- a/ext/gconf/gstswitchsink.c
+++ b/ext/gconf/gstswitchsink.c
@@ -83,6 +83,7 @@ gst_switch_sink_reset (GstSwitchSink * sink)
if (sink->kid == NULL) {
gst_switch_sink_set_child (sink, NULL);
}
+ GST_OBJECT_FLAG_SET (sink, GST_ELEMENT_IS_SINK);
}
static void