mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
qtdemux: don't use ininitialized var in debug log statement
Also make the log statement useful by printing the human readable format name.
This commit is contained in:
parent
f4f6d9799c
commit
0889ac1092
1 changed files with 2 additions and 2 deletions
|
@ -962,6 +962,8 @@ gst_qtdemux_do_seek (GstQTDemux * qtdemux, GstPad * pad, GstEvent * event)
|
|||
if (!gst_qtdemux_convert_seek (pad, &format, cur_type, &cur,
|
||||
stop_type, &stop))
|
||||
goto no_format;
|
||||
|
||||
GST_DEBUG_OBJECT (qtdemux, "seek format %s", gst_format_get_name (format));
|
||||
} else {
|
||||
GST_DEBUG_OBJECT (qtdemux, "doing seek without event");
|
||||
flags = 0;
|
||||
|
@ -969,8 +971,6 @@ gst_qtdemux_do_seek (GstQTDemux * qtdemux, GstPad * pad, GstEvent * event)
|
|||
|
||||
flush = flags & GST_SEEK_FLAG_FLUSH;
|
||||
|
||||
GST_DEBUG_OBJECT (qtdemux, "seek format %d", format);
|
||||
|
||||
/* stop streaming, either by flushing or by pausing the task */
|
||||
if (flush) {
|
||||
/* unlock upstream pull_range */
|
||||
|
|
Loading…
Reference in a new issue