mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 07:16:55 +00:00
playsink: Fix the block diagram of deinterlace bin.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=702465
This commit is contained in:
parent
b5f7a621bb
commit
8a2dbeb1ef
1 changed files with 10 additions and 11 deletions
|
@ -1325,16 +1325,16 @@ try_element (GstPlaySink * playsink, GstElement * element, gboolean unref)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* make the element (bin) that contains the elements needed to perform
|
/* 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 |
|
* | vbin |
|
||||||
* | +-------+ +----------+ +----------+ +---------+ |
|
* | +----------+ +-----------+ |
|
||||||
* | | queue | |colorspace| |videoscale| |videosink| |
|
* | |colorspace| |deinterlace| |
|
||||||
* | +-sink src-sink src-sink src-sink | |
|
* | +-sink src-sink src-+ |
|
||||||
* | | +-------+ +----------+ +----------+ +---------+ |
|
* | | +----------+ +-----------+ | |
|
||||||
* sink-+ |
|
* sink-+ +-src
|
||||||
* +------------------------------------------------------------+
|
* +---------------------------------------+
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
static GstPlayVideoDeinterlaceChain *
|
static GstPlayVideoDeinterlaceChain *
|
||||||
|
@ -1567,8 +1567,7 @@ update_colorbalance (GstPlaySink * playsink)
|
||||||
channel->min_value + new_val * ((gdouble) channel->max_value -
|
channel->min_value + new_val * ((gdouble) channel->max_value -
|
||||||
(gdouble) channel->min_value);
|
(gdouble) channel->min_value);
|
||||||
|
|
||||||
gst_color_balance_set_value (balance, channel,
|
gst_color_balance_set_value (balance, channel, (gint) (new_val + 0.5));
|
||||||
(gint) (new_val + 0.5));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
g_signal_handler_unblock (balance, playsink->colorbalance_value_changed_id);
|
g_signal_handler_unblock (balance, playsink->colorbalance_value_changed_id);
|
||||||
|
|
Loading…
Reference in a new issue