mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
reverse-play: fix seek to end when starting reverse
Start reverse playback by actually seeking to the end of the file.
This commit is contained in:
parent
a0b8e96b77
commit
3c17b86639
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ eos_cb (GstBus * bus, GstMessage * msg, PlayState * state)
|
|||
state->fwd_play = FALSE;
|
||||
gst_element_seek (state->pipe, -1.0, GST_FORMAT_TIME,
|
||||
GST_SEEK_FLAG_ACCURATE | GST_SEEK_FLAG_FLUSH,
|
||||
GST_SEEK_TYPE_SET, 0, GST_SEEK_TYPE_NONE, -1);
|
||||
GST_SEEK_TYPE_SET, 0, GST_SEEK_TYPE_END, 0);
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue