Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [gbee@scafell mythtv (master)]$ git log -n1 -u
- commit edbecda517688c5dab5018ead25f15471b8b9b69
- Author: Stuart Morgan <smorgan@mythtv.org>
- Date: Wed Dec 12 13:28:20 2012 +0000
- Add A/V Stream index to video stream debugging
- diff --git a/mythtv/libs/libmythtv/avformatdecoder.cpp b/mythtv/libs/libmythtv/avformatdecoder.cpp
- index 70060c0..7bc2db1 100644
- --- a/mythtv/libs/libmythtv/avformatdecoder.cpp
- +++ b/mythtv/libs/libmythtv/avformatdecoder.cpp
- @@ -1800,9 +1800,10 @@ int AvFormatDecoder::ScanStreams(bool novideo)
- {
- AVCodecContext *enc = ic->streams[i]->codec;
- LOG(VB_PLAYBACK, LOG_INFO, LOC +
- - QString("Stream #%1, has id 0x%2 codec id %3, "
- - "type %4, bitrate %5 at 0x%6")
- - .arg(i).arg((uint64_t)ic->streams[i]->id,0,16)
- + QString("Stream #%1 (A/V track %2) has id 0x%3 codec id %4, "
- + "type %5, bitrate %6 at 0x%7")
- + .arg(i).arg((uint64_t)ic->streams[i]->index,0,16)
- + .arg((uint64_t)ic->streams[i]->id,0,16)
- .arg(ff_codec_id_string(enc->codec_id))
- .arg(ff_codec_type_string(enc->codec_type))
- .arg(enc->bit_rate).arg((uint64_t)ic->streams[i],0,16));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement