mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
playbin: Don't print a warning when setting a sink to NULL
https://bugzilla.gnome.org/show_bug.cgi?id=704194
This commit is contained in:
parent
c6f8220920
commit
10c91ea5b5
1 changed files with 1 additions and 1 deletions
|
@ -2166,7 +2166,7 @@ gst_play_bin_set_sink (GstPlayBin * playbin, GstPlaySinkType type,
|
|||
|
||||
if (*elem)
|
||||
gst_object_unref (*elem);
|
||||
*elem = gst_object_ref (sink);
|
||||
*elem = sink ? gst_object_ref (sink) : NULL;
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue