mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 11:10:37 +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 */
|
||||
stream_nr = CHUNKID_TO_STREAMNR (id);
|
||||
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;
|
||||
}
|
||||
stream = &avi->stream[stream_nr];
|
||||
|
|
Loading…
Reference in a new issue