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.
This commit is contained in:
Wim Taymans 2007-03-05 14:46:43 +00:00
parent 943584e0ff
commit 1642f31fb9
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2007-03-05 Wim Taymans <wim@fluendo.com>
* ext/gconf/gstswitchsink.c: (gst_switch_sink_reset):
Mark us as a sink when we have no fakesink in NULL. Fixes #414887.
2007-03-04 Tim-Philipp Müller <tim at centricular dot net> 2007-03-04 Tim-Philipp Müller <tim at centricular dot net>
* po/POTFILES.in: * po/POTFILES.in:

View file

@ -83,6 +83,7 @@ gst_switch_sink_reset (GstSwitchSink * sink)
if (sink->kid == NULL) { if (sink->kid == NULL) {
gst_switch_sink_set_child (sink, NULL); gst_switch_sink_set_child (sink, NULL);
} }
GST_OBJECT_FLAG_SET (sink, GST_ELEMENT_IS_SINK);
} }
static void static void