Advertisement
Guest User

Untitled

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