mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
playback-test: fix seek crash
check that app->seek_format exists before seeking. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1095>
This commit is contained in:
parent
3676a2c6de
commit
403e0024f1
1 changed files with 3 additions and 0 deletions
|
@ -654,6 +654,9 @@ advanced_seek_button_cb (GtkButton * button, PlaybackApp * app)
|
|||
const gchar *text;
|
||||
gchar *endptr;
|
||||
|
||||
if (!app->seek_format)
|
||||
return;
|
||||
|
||||
fmt = app->seek_format->value;
|
||||
|
||||
text = gtk_entry_get_text (GTK_ENTRY (app->seek_entry));
|
||||
|
|
Loading…
Reference in a new issue