[totem] No need to call _play() in the video indexer
- From: Bastien Nocera <hadess src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [totem] No need to call _play() in the video indexer
- Date: Mon, 16 Nov 2009 14:06:38 +0000 (UTC)
commit 05cdc7f04998c9928dee3461abb076256f13f2f5
Author: Bastien Nocera <hadess hadess net>
Date: Mon Nov 16 14:03:39 2009 +0000
No need to call _play() in the video indexer
It's a no-op for metadata mode.
src/totem-video-indexer.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/src/totem-video-indexer.c b/src/totem-video-indexer.c
index d9b3d44..465d198 100644
--- a/src/totem-video-indexer.c
+++ b/src/totem-video-indexer.c
@@ -208,14 +208,12 @@ int main (int argc, char **argv)
g_print ("Can't open %s: %s\n", path, error->message);
return 1;
}
- if (bacon_video_widget_play (bvw, &error) == FALSE) {
- g_print ("Can't play %s: %s\n", path, error->message);
- return 1;
- }
- totem_resources_monitor_stop ();
gtk_main ();
+ if (time_limit != FALSE)
+ totem_resources_monitor_stop ();
+
return 0;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]