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.

-- 
Markus Linnala

...................................................................
Luukku Plus paketilla pääset eroon tila- ja turvallisuusongelmista.
Hanki Luukku Plus ja helpotat elämääsi. http://www.mtv3.fi/luukku
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."));
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

Reply via email to