mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
basesrc: improve debugging
This commit is contained in:
parent
72c512a87d
commit
d00e97b7ea
1 changed files with 3 additions and 0 deletions
|
@ -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. */
|
||||
|
|
Loading…
Reference in a new issue