Commit a0ced4a1 authored by Luis de Bethencourt's avatar Luis de Bethencourt

engine: don't try to save history if snappy has no content

parent 70e45dc5
......@@ -440,8 +440,10 @@ add_uri_unfinished (GstEngine * engine)
gboolean ret;
gint64 position;
position = query_position (engine);
ret = add_uri_unfinished_playback (engine, engine->uri, position);
if (engine->uri) {
position = query_position (engine);
ret = add_uri_unfinished_playback (engine, engine->uri, position);
}
return ret;
}
......
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