projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72c512a
)
basesrc: improve debugging
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Tue, 4 May 2010 09:45:02 +0000
(11:45 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Tue, 4 May 2010 09:45:02 +0000
(11:45 +0200)
libs/gst/base/gstbasesrc.c
patch
|
blob
|
history
diff --git
a/libs/gst/base/gstbasesrc.c
b/libs/gst/base/gstbasesrc.c
index
401781f
..
c6d84dd
100644
(file)
--- a/
libs/gst/base/gstbasesrc.c
+++ b/
libs/gst/base/gstbasesrc.c
@@
-927,6
+927,9
@@
gst_base_src_default_query (GstBaseSrc * src, GstQuery * query)
seg_format = src->segment.format;
GST_OBJECT_UNLOCK (src);
+ GST_LOG_OBJECT (src, "duration %" G_GINT64_FORMAT ", format %s",
+ duration, gst_format_get_name (seg_format));
+
if (duration != -1) {
/* convert to requested format, if this fails, we have a duration
* but we cannot answer the query, we must return FALSE. */