[totem] backend: Don't use keyframe seeks for inaccurate seeks
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] backend: Don't use keyframe seeks for inaccurate seeks
- Date: Mon, 23 Apr 2012 17:10:52 +0000 (UTC)
commit f0796f0d4f1a1cf2b12c9bc5149ec96e6d84d87d
Author: Bastien Nocera <hadess hadess net>
Date: Mon Apr 23 18:09:04 2012 +0100
backend: Don't use keyframe seeks for inaccurate seeks
Because we actually want those seeks to be rather quick, but
we don't need them to be frame perfect, so seek without any flags
rather than with GST_SEEK_FLAG_KEY_UNIT.
See https://bugzilla.gnome.org/show_bug.cgi?id=618746#c8
for a longer explanation
src/backend/bacon-video-widget-gst-0.10.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/backend/bacon-video-widget-gst-0.10.c b/src/backend/bacon-video-widget-gst-0.10.c
index 357c972..5dab045 100644
--- a/src/backend/bacon-video-widget-gst-0.10.c
+++ b/src/backend/bacon-video-widget-gst-0.10.c
@@ -3660,7 +3660,7 @@ bacon_video_widget_seek_time (BaconVideoWidget *bvw, gint64 _time, gboolean accu
return TRUE;
}
- flag = (accurate ? GST_SEEK_FLAG_ACCURATE : GST_SEEK_FLAG_KEY_UNIT);
+ flag = (accurate ? GST_SEEK_FLAG_ACCURATE : GST_SEEK_FLAG_NONE);
bacon_video_widget_seek_time_no_lock (bvw, _time, flag, error);
return TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]