From 1642f31fb9612e66c3e3a925f9a0b60beedfe14b Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 5 Mar 2007 14:46:43 +0000 Subject: 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. --- ext/gconf/gstswitchsink.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ext') 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 -- cgit