Commit 403e0024 authored by Stéphane Cerveau's avatar Stéphane Cerveau

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>
parent 3676a2c6
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment