mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
playback-test: allow seeking outside of the range
For download buffer, allow seeking outside of the already downloaded area.
This commit is contained in:
parent
ec7724c095
commit
428f10cf57
1 changed files with 1 additions and 0 deletions
|
@ -2955,6 +2955,7 @@ create_ui (PlaybackApp * app)
|
||||||
gtk_scale_set_digits (GTK_SCALE (app->seek_scale), 2);
|
gtk_scale_set_digits (GTK_SCALE (app->seek_scale), 2);
|
||||||
gtk_scale_set_value_pos (GTK_SCALE (app->seek_scale), GTK_POS_RIGHT);
|
gtk_scale_set_value_pos (GTK_SCALE (app->seek_scale), GTK_POS_RIGHT);
|
||||||
gtk_range_set_show_fill_level (GTK_RANGE (app->seek_scale), TRUE);
|
gtk_range_set_show_fill_level (GTK_RANGE (app->seek_scale), TRUE);
|
||||||
|
gtk_range_set_restrict_to_fill_level (GTK_RANGE (app->seek_scale), FALSE);
|
||||||
gtk_range_set_fill_level (GTK_RANGE (app->seek_scale), N_GRAD);
|
gtk_range_set_fill_level (GTK_RANGE (app->seek_scale), N_GRAD);
|
||||||
|
|
||||||
g_signal_connect (app->seek_scale, "button_press_event",
|
g_signal_connect (app->seek_scale, "button_press_event",
|
||||||
|
|
Loading…
Reference in a new issue