From 8a2dbeb1eff9db1405146303c88c89e554b91335 Mon Sep 17 00:00:00 2001 From: Sreerenj Balachandran Date: Mon, 17 Jun 2013 16:02:41 +0300 Subject: [PATCH] playsink: Fix the block diagram of deinterlace bin. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=702465 --- gst/playback/gstplaysink.c | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/gst/playback/gstplaysink.c b/gst/playback/gstplaysink.c index f880a1c5cb..16430ff4ab 100644 --- a/gst/playback/gstplaysink.c +++ b/gst/playback/gstplaysink.c @@ -1325,16 +1325,16 @@ try_element (GstPlaySink * playsink, GstElement * element, gboolean unref) } /* make the element (bin) that contains the elements needed to perform - * video display. Only used for *raw* video streams. + * video deinterlacing. Only used for *raw* video streams. * - * +------------------------------------------------------------+ - * | vbin | - * | +-------+ +----------+ +----------+ +---------+ | - * | | queue | |colorspace| |videoscale| |videosink| | - * | +-sink src-sink src-sink src-sink | | - * | | +-------+ +----------+ +----------+ +---------+ | - * sink-+ | - * +------------------------------------------------------------+ + * +---------------------------------------+ + * | vbin | + * | +----------+ +-----------+ | + * | |colorspace| |deinterlace| | + * | +-sink src-sink src-+ | + * | | +----------+ +-----------+ | | + * sink-+ +-src + * +---------------------------------------+ * */ static GstPlayVideoDeinterlaceChain * @@ -1567,8 +1567,7 @@ update_colorbalance (GstPlaySink * playsink) channel->min_value + new_val * ((gdouble) channel->max_value - (gdouble) channel->min_value); - gst_color_balance_set_value (balance, channel, - (gint) (new_val + 0.5)); + gst_color_balance_set_value (balance, channel, (gint) (new_val + 0.5)); } g_signal_handler_unblock (balance, playsink->colorbalance_value_changed_id);