summaryrefslogtreecommitdiff
path: root/browser-plugin
diff options
context:
space:
mode:
authorAlexander Saprykin <xelfium@gmail.com>2010-05-17 16:14:26 +0400
committerBastien Nocera <hadess@hadess.net>2010-05-18 10:39:55 +0100
commite1332de49febdd4135adf193440340fbd48717dd (patch)
tree57c204c1c6eb52c93fea2a182d1c79f4c4a73f39 /browser-plugin
parentdaa1b3d36490c2fc05723585557843b5c08b11d2 (diff)
Add support for accurate seek
Add "accurate" argument to seek functions, and use GST_SEEK_FLAG_ACCURATE instead of GST_SEEK_FLAG_KEY_UNIT when an accurate seek is requested. All the users of the seek functions will request "inaccurate" seeks except the video thumbnailer and the skipto plugin. https://bugzilla.gnome.org/show_bug.cgi?id=618746
Diffstat (limited to 'browser-plugin')
-rw-r--r--browser-plugin/totem-plugin-viewer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/browser-plugin/totem-plugin-viewer.c b/browser-plugin/totem-plugin-viewer.c
index cc816a8a..b60a0f8f 100644
--- a/browser-plugin/totem-plugin-viewer.c
+++ b/browser-plugin/totem-plugin-viewer.c
@@ -802,7 +802,7 @@ totem_embedded_set_time (TotemEmbedded *emb,
{
g_message ("totem_embedded_set_time: %"G_GUINT64_FORMAT, time);
- bacon_video_widget_seek_time (emb->bvw, time, NULL);
+ bacon_video_widget_seek_time (emb->bvw, time, FALSE, NULL);
return TRUE;
}
@@ -913,6 +913,7 @@ totem_embedded_open_playlist_item (TotemEmbedded *emb,
g_message ("Seeking to %d seconds for starttime", plitem->starttime);
retval = bacon_video_widget_seek_time (emb->bvw,
plitem->starttime * 1000,
+ FALSE,
NULL /* FIXME */);
if (!retval)
return TRUE;