[snappy] ui: seek to 0 when video finishes
- From: Luis de Bethencourt <luisbg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [snappy] ui: seek to 0 when video finishes
- Date: Thu, 29 Nov 2012 20:21:41 +0000 (UTC)
commit 4a0381d57904b76750bdfaa811ced05107d884ad
Author: Luis de Bethencourt <luis debethencourt com>
Date: Thu Nov 29 15:21:34 2012 -0500
ui: seek to 0 when video finishes
src/user_interface.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/user_interface.c b/src/user_interface.c
index 1de4d90..9a7b75b 100644
--- a/src/user_interface.c
+++ b/src/user_interface.c
@@ -1082,6 +1082,9 @@ interface_play_next_or_prev (UserInterface * ui, gboolean next)
engine_open_uri (ui->engine, uri);
interface_load_uri (ui, uri);
engine_play (ui->engine);
+ } else {
+ engine_seek (ui->engine, 0, TRUE);
+ toggle_playing (ui);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]