[totem/gnome-2-30] Add little debugging for seekable in the backend



commit 675d6dbedaf9b296a0cac47cd98d1b7f4d65501c
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Jun 7 16:39:47 2010 +0100

    Add little debugging for seekable in the backend

 src/backend/bacon-video-widget-gst-0.10.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/backend/bacon-video-widget-gst-0.10.c b/src/backend/bacon-video-widget-gst-0.10.c
index ebd6e8f..8b4c14c 100644
--- a/src/backend/bacon-video-widget-gst-0.10.c
+++ b/src/backend/bacon-video-widget-gst-0.10.c
@@ -5529,6 +5529,7 @@ bacon_video_widget_is_seekable (BaconVideoWidget * bvw)
     query = gst_query_new_seeking (GST_FORMAT_TIME);
     if (gst_element_query (bvw->priv->play, query)) {
       gst_query_parse_seeking (query, NULL, &res, NULL, NULL);
+      GST_DEBUG ("seeking query says the stream is%s seekable", (res) ? "" : " not");
       bvw->priv->seekable = (res) ? 1 : 0;
     } else {
       GST_DEBUG ("seeking query failed");



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