diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2007-03-05 14:46:43 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2007-03-05 14:46:43 +0000 |
commit | 1642f31fb9612e66c3e3a925f9a0b60beedfe14b (patch) | |
tree | 9cb04f11d25bbe606ad6b7196f3bddd6beaf2979 | |
parent | 943584e0ff07c00c9a878d9db5abd2b550260646 (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.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ext/gconf/gstswitchsink.c | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -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> * po/POTFILES.in: 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 |