mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
mpegpsdemux: log time format as name instead of the number
This commit is contained in:
parent
ce080cb7cc
commit
0d54e5857f
1 changed files with 6 additions and 6 deletions
|
@ -1351,8 +1351,8 @@ gst_flups_demux_src_query (GstPad * pad, GstObject * parent, GstQuery * query)
|
|||
gst_query_parse_position (query, &format, NULL);
|
||||
|
||||
if (format != GST_FORMAT_TIME) {
|
||||
GST_DEBUG_OBJECT (demux, "position not supported for format %d",
|
||||
format);
|
||||
GST_DEBUG_OBJECT (demux, "position not supported for format: %s",
|
||||
gst_format_get_name (format));
|
||||
goto not_supported;
|
||||
}
|
||||
|
||||
|
@ -1381,8 +1381,8 @@ gst_flups_demux_src_query (GstPad * pad, GstObject * parent, GstQuery * query)
|
|||
|
||||
/* For any format other than bytes, see if upstream knows first */
|
||||
if (format == GST_FORMAT_BYTES) {
|
||||
GST_DEBUG_OBJECT (demux, "duration not supported for format %d",
|
||||
format);
|
||||
GST_DEBUG_OBJECT (demux, "duration not supported for format: %s",
|
||||
gst_format_get_name (format));
|
||||
goto not_supported;
|
||||
}
|
||||
|
||||
|
@ -1394,8 +1394,8 @@ gst_flups_demux_src_query (GstPad * pad, GstObject * parent, GstQuery * query)
|
|||
/* Upstream didn't know, so we can only answer TIME queries from
|
||||
* here on */
|
||||
if (format != GST_FORMAT_TIME) {
|
||||
GST_DEBUG_OBJECT (demux, "duration not supported for format %d",
|
||||
format);
|
||||
GST_DEBUG_OBJECT (demux, "duration not supported for format: %s",
|
||||
gst_format_get_name (format));
|
||||
goto not_supported;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue