[totem] backend: Print warning when stepping fails



commit c81396fdfecefc6b2b8909036b271deb35de354b
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Aug 22 02:57:49 2013 +0200

    backend: Print warning when stepping fails
    
    To help debug.

 src/backend/bacon-video-widget.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/backend/bacon-video-widget.c b/src/backend/bacon-video-widget.c
index 6499cfd..40847f5 100644
--- a/src/backend/bacon-video-widget.c
+++ b/src/backend/bacon-video-widget.c
@@ -3927,6 +3927,8 @@ bacon_video_widget_step (BaconVideoWidget *bvw, gboolean forward, GError **error
 
   if (retval != FALSE)
     bvw_query_timeout (bvw);
+  else
+    GST_WARNING ("Failed to step %s", DIRECTION_STR);
 
   return retval;
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]