[mythtv] [PATCH] AvFmtDec scanAudioStreams

J. Donavan Stanley jdonavan at jdonavan.net
Thu Oct 28 10:05:51 UTC 2004

Daniel Thor Kristjansson wrote:

>On Tue, 26 Oct 2004, Kenneth Aafl°y wrote:
>]Could be, I've been reading some of the commits to avfd, nvp and tv_play, but 
>]I've not found anything yet. I'm wondering though, could it be that it will 
>]select the wrong stream id for whatever reason, and then output no audio 
>]because of the pkt->stream_index != wantedAudioStream in avfd? I think there 
>]should be some sort of protection there, ie perform autoselect if no audio 
>]packets of the current stream is found within say 2 seconds.
>Here's another patch for the audio. At one point I thought we might be 
>selecting a stream we couldn't decode. This turned out not to be the 
>case, but this patch would address that problem if it happened.

This is in.

By the way, can anyone point me to some specs for MPEG2 formats.  The 
selection of the audio track to use was based on a sampling of some DVD 
rips I had, however it's not right for ALL DVD rips.  I assume theres a 
rule to follow for always getting the main audio track for a given 
stream, I just don't know what it is.

More information about the mythtv-dev mailing list