mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
test-onvif-client: remove unused query
This commit is contained in:
parent
f834700eff
commit
9cba1f7708
1 changed files with 0 additions and 2 deletions
|
@ -189,7 +189,6 @@ translate_seek_parameters (Context * ctx, SeekParameters * seek_params)
|
||||||
GstSeekFlags flags;
|
GstSeekFlags flags;
|
||||||
gchar **split = NULL;
|
gchar **split = NULL;
|
||||||
GstClockTime trickmode_interval = 0;
|
GstClockTime trickmode_interval = 0;
|
||||||
gint64 cur_pos;
|
|
||||||
|
|
||||||
range_str = g_strdup_printf ("clock=%s", seek_params->range);
|
range_str = g_strdup_printf ("clock=%s", seek_params->range);
|
||||||
|
|
||||||
|
@ -211,7 +210,6 @@ translate_seek_parameters (Context * ctx, SeekParameters * seek_params)
|
||||||
if (!ctx->new_range) {
|
if (!ctx->new_range) {
|
||||||
GstClockTime current_position =
|
GstClockTime current_position =
|
||||||
get_current_position (ctx, seek_params->reverse);
|
get_current_position (ctx, seek_params->reverse);
|
||||||
gst_element_query_position (ctx->pipe, GST_FORMAT_TIME, &cur_pos);
|
|
||||||
|
|
||||||
if (seek_params->reverse) {
|
if (seek_params->reverse) {
|
||||||
stop_type = GST_SEEK_TYPE_SET;
|
stop_type = GST_SEEK_TYPE_SET;
|
||||||
|
|
Loading…
Reference in a new issue