diff -r -u mythtv-0.21.base/mythtv-0.21/libs/libmythtv/avformatdecoder.cpp mythtv-0.21/mythtv-0.21/libs/libmythtv/avformatdecoder.cpp
old
|
new
|
|
3455 | 3455 | .av_substream_index; |
3456 | 3456 | } |
3457 | 3457 | |
3458 | | if (firstloop && pkt->pts != (int64_t)AV_NOPTS_VALUE) |
3459 | | lastapts = (long long)(av_q2d(curstream->time_base) * |
3460 | | pkt->pts * 1000); |
3461 | | |
3462 | 3458 | if ((onlyvideo > 0) || (pkt->stream_index != audIdx)) |
3463 | 3459 | { |
3464 | 3460 | ptr += len; |
… |
… |
|
3466 | 3462 | continue; |
3467 | 3463 | } |
3468 | 3464 | |
| 3465 | if (firstloop && pkt->pts != (int64_t)AV_NOPTS_VALUE) |
| 3466 | lastapts = (long long)(av_q2d(curstream->time_base) * |
| 3467 | pkt->pts * 1000); |
| 3468 | |
3469 | 3469 | if (skipaudio) |
3470 | 3470 | { |
3471 | 3471 | if ((lastapts < lastvpts - (10.0 / fps)) || |