mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
Slightly better backward seek. Not working yet, though.
This commit is contained in:
parent
460cd5fe48
commit
c1fae49828
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ static void send_seek_event (CustomData *data) {
|
||||||
GST_SEEK_TYPE_SET, position, GST_SEEK_TYPE_NONE, 0);
|
GST_SEEK_TYPE_SET, position, GST_SEEK_TYPE_NONE, 0);
|
||||||
} else {
|
} else {
|
||||||
seek_event = gst_event_new_seek (data->rate, GST_FORMAT_TIME, GST_SEEK_FLAG_FLUSH | GST_SEEK_FLAG_ACCURATE,
|
seek_event = gst_event_new_seek (data->rate, GST_FORMAT_TIME, GST_SEEK_FLAG_FLUSH | GST_SEEK_FLAG_ACCURATE,
|
||||||
GST_SEEK_TYPE_NONE, 0, GST_SEEK_TYPE_SET, position);
|
GST_SEEK_TYPE_SET, 0, GST_SEEK_TYPE_SET, position);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (data->video_sink == NULL) {
|
if (data->video_sink == NULL) {
|
||||||
|
|
Loading…
Reference in a new issue