mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-13 12:51:16 +00:00
playback/player: gtk: Remove double assignment of a variable
This commit is contained in:
parent
e75e1a24ba
commit
171c723592
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ gst_player_gtk_video_renderer_init (GstPlayerGtkVideoRenderer * self)
|
|||
GstElement *gtk_sink = gst_element_factory_make ("gtkglsink", NULL);
|
||||
|
||||
if (gtk_sink) {
|
||||
GstElement *sink = sink = gst_element_factory_make ("glsinkbin", NULL);
|
||||
GstElement *sink = gst_element_factory_make ("glsinkbin", NULL);
|
||||
g_object_set (sink, "sink", gtk_sink, NULL);
|
||||
|
||||
self->sink = sink;
|
||||
|
|
Loading…
Reference in a new issue