Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: dvd-0.3.3-jau-p2 (audio-id patch)



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 01 October 2003 18:32, Andreas Schultz wrote:
> Hi Sven, Hi all
>
> On Tuesday 30 September 2003 10:36 pm, Sven Goethel wrote:
> > patch against Andreas Schultz'S vdr-dvd-0.3.3
> >
> > this patch allows you to use an PS stream
> > with many MP2 ES plus other audio ES streams, e.g:
> > 	MPEG2 + AC3 + MP2 + MP2
> >
> > if you switch the audio channel via dvd navigation,
> > this change will being respected an therefor the
> > right aid will being played.
>
> nice work, MP2 could indeed not work before. But i believe your patch is a
> bit overkill. The attached patch should achive the same.
>

> -        if (audioTrack != (cPStream::packetType(sector) & 7))
> +        if (audio_stream != (cPStream::packetType(sector) & 7))

i just did not know, that
              ((dvdnav_audio_stream_change_event_t *)cache_ptr)->physical
and
	      dvdnav_get_active_audio_stream(nav)

are the same - are they ? ;-)

and is it enough to do it "just" for the DVDNAV_AUDIO_STREAM_CHANGE ?
i guess it must being detected at least for DVDNAV_VTS_CHANGE, as well.

cheers, sven
- -- 
health & wealth
mailto:sgoethel@jausoft.com
www   : http://www.jausoft.com ; pgp: http://www.jausoft.com/gpg/
voice : +49-5121-999600 ; fax : +49-5121-999602
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/e4NJHdOA30NoFAARAuTtAJ9Ij7fp11QbyhxMgnj87oVBGhXv1gCfUVLc
9rzYN7WEWMU6cIgQHW6ohd8=
=6Jq7
-----END PGP SIGNATURE-----



-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index