diff --git a/playback/player/gtk/gtk-play.c b/playback/player/gtk/gtk-play.c index 8aa6975c53..6dac913583 100644 --- a/playback/player/gtk/gtk-play.c +++ b/playback/player/gtk/gtk-play.c @@ -1504,8 +1504,12 @@ create_ui (GtkPlay * play) static void duration_changed_cb (GstPlayer * unused, GstClockTime duration, GtkPlay * play) { + g_signal_handlers_block_by_func (play->seekbar, + seekbar_value_changed_cb, play); gtk_range_set_range (GTK_RANGE (play->seekbar), 0.0, (gdouble) duration / GST_SECOND); + g_signal_handlers_unblock_by_func (play->seekbar, + seekbar_value_changed_cb, play); } static void