Slightly better backward seek. Not working yet, though.

This commit is contained in:
Xavi Artigas 2012-07-05 17:04:15 +02:00
parent 460cd5fe48
commit c1fae49828

View file

@ -28,7 +28,7 @@ static void send_seek_event (CustomData *data) {
GST_SEEK_TYPE_SET, position, GST_SEEK_TYPE_NONE, 0);
} else {
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) {