Commit bd2277d2 authored by Sebastian Dröge's avatar Sebastian Dröge
Browse files

playsink: Avoid g_object_set() on NULL if a text sink is used

Fixes bug #611702.
parent a6ffa3fb
......@@ -2105,6 +2105,7 @@ gst_play_sink_reconfigure (GstPlaySink * playsink)
} else {
/* we have a chain and a textpad, turn the subtitles off */
GST_DEBUG_OBJECT (playsink, "turning off the text");
if (playsink->textchain->overlay)
g_object_set (G_OBJECT (playsink->textchain->overlay), "silent", TRUE,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment