[totem] Add little debugging for seekable in the backend
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] Add little debugging for seekable in the backend
- Date: Mon, 7 Jun 2010 16:48:12 +0000 (UTC)
commit 6117981bacc3b56d2fa7ea4c37d1db295e2fe27f
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 00281a9..d429a24 100644
--- a/src/backend/bacon-video-widget-gst-0.10.c
+++ b/src/backend/bacon-video-widget-gst-0.10.c
@@ -5474,6 +5474,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]