On Wed, Jun 22, 2005 at 02:30:59AM +0300, Markus Linnala wrote: > Guess if there is no valid audiostream, we get stuck at > AvFormatDecoder::autoSelectAudioTrack. > > It is possible the fix is not correct one, but there is definitely > busyloop there. > > Patch against CVS HEAD.
This has been batted around, but no one has committed a fix yet:
http://www.gossamer-threads.com/lists/mythtv/dev/135701
http://www.gossamer-threads.com/lists/mythtv/dev/136167
I still like Mark's solution the best.
> Index: ./libs/libmythtv/avformatdecoder.cpp
> ===================================================================
> RCS file: /var/lib/mythcvs/mythtv/libs/libmythtv/avformatdecoder.cpp,v
> retrieving revision 1.151
> diff -u -r1.151 avformatdecoder.cpp
> --- ./libs/libmythtv/avformatdecoder.cpp 3 Jun 2005 18:21:36 -0000
> 1.151
> +++ ./libs/libmythtv/avformatdecoder.cpp 21 Jun 2005 23:25:12 -0000
> @@ -1361,13 +1361,13 @@
> }
> }
> }
> - if (selectedTrack > maxTracks)
> + if (track > maxTracks)
> {
> minChannels--;
> }
> }
>
> - if (selectedTrack > maxTracks)
> + if (track > maxTracks)
> {
> VERBOSE(VB_AUDIO,
> QString("No suitable audio track exists."));
--Rob
signature.asc
Description: Digital signature
_______________________________________________ mythtv-dev mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
