Ticket #1741: wrong_video_id.diff
| File wrong_video_id.diff, 1.4 KB (added by , 16 years ago) |
|---|
-
libmpdemux/demux_lavf.c
461 461 } 462 462 if (stream_type) { 463 463 AVCodec *avc = avcodec_find_decoder(codec->codec_id); 464 mp_msg(MSGT_DEMUX, MSGL_INFO, "[lavf] stream %d: %s (%s), -%cid %d", i, stream_type, avc ? avc->name : "unknown", *stream_type, stream_id); 464 if (*stream_type == 'v') 465 mp_msg(MSGT_DEMUX, MSGL_INFO, "[lavf] stream %d: %s (%s), -%cid %d", i, stream_type, avc ? avc->name : "unknown", *stream_type, i); 466 else 467 mp_msg(MSGT_DEMUX, MSGL_INFO, "[lavf] stream %d: %s (%s), -%cid %d", i, stream_type, avc ? avc->name : "unknown", *stream_type, stream_id); 465 468 if (lang && lang->value && *stream_type != 'v') 466 469 mp_msg(MSGT_DEMUX, MSGL_INFO, ", -%clang %s", *stream_type, lang->value); 467 470 if (title && title->value) -
libmpdemux/demuxer.c
356 356 demuxer->v_streams[id] = sh; 357 357 sh->vid = vid; 358 358 sh->ds = demuxer->video; 359 mp_msg(MSGT_IDENTIFY, MSGL_INFO, "ID_VIDEO_ID=%d\n", vid);359 mp_msg(MSGT_IDENTIFY, MSGL_INFO, "ID_VIDEO_ID=%d\n", id); 360 360 } 361 361 return demuxer->v_streams[id]; 362 362 }
