mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
avidemux: improve debug
This commit is contained in:
parent
9b8a3a40ce
commit
0e522bc69a
1 changed files with 3 additions and 1 deletions
|
@ -2587,7 +2587,9 @@ gst_avi_demux_stream_for_id (GstAviDemux * avi, guint32 id)
|
||||||
/* get the stream for this entry */
|
/* get the stream for this entry */
|
||||||
stream_nr = CHUNKID_TO_STREAMNR (id);
|
stream_nr = CHUNKID_TO_STREAMNR (id);
|
||||||
if (G_UNLIKELY (stream_nr >= avi->num_streams)) {
|
if (G_UNLIKELY (stream_nr >= avi->num_streams)) {
|
||||||
GST_WARNING_OBJECT (avi, "invalid stream nr %d", stream_nr);
|
GST_WARNING_OBJECT (avi,
|
||||||
|
"invalid stream nr %d (0x%08x, %" GST_FOURCC_FORMAT ")", stream_nr, id,
|
||||||
|
GST_FOURCC_ARGS (id));
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
stream = &avi->stream[stream_nr];
|
stream = &avi->stream[stream_nr];
|
||||||
|
|
Loading…
Reference in a new issue