[MPlayer-dev-eng] [PATCH] replay of ac3 in vdr-files

Matthias Schwarzott zzam at gmx.de
Tue Aug 24 19:05:44 CEST 2004


On Sunday 22 August 2004 01:57, Attila Kinali wrote:
> On Fri, Aug 13, 2004 at 06:10:40PM +0200, Matthias Schwarzott wrote:
>  Matthias
>
> > diff -u -r1.50 demux_mpg.c
> > --- libmpdemux/demux_mpg.c	7 Aug 2004 14:20:28 -0000	1.50
> > +++ libmpdemux/demux_mpg.c	13 Aug 2004 16:08:23 -0000
> > @@ -19,6 +19,12 @@
> >
> >  static int mpeg_pts_error=0;
> >
> > +// vdrfile_a52: Does the mpg-file contain a52-audio in a private1
> > substream +//  0  no
> > +//  1  yes
> > +//  2  autodetect
>
> I would change this to:
> -1: no
> 0: autodetect
> 1: yes
>
implemented

> This way we are able to add additional levels of yes and no, w/o
> breaking the already implented behaviour or the need to patch the
> whole code.
>
> > +          mp_msg(MSGT_DEMUX,MSGL_DBG3,"A52-Stream without
> > substream-header detected\n");
>
> Why do you use DBG3 as level ? If i understood that part right, it's
> only printed once, thus could be DBG2 or even V.
>
implemented

I also extended the patch to test up to 5 packets for a a52-syncword to be 
sure not to miss a stream without sync in the first packet.

Matthias Schwarzott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: demux-mpg-vdr-3.diff
Type: text/x-diff
Size: 3032 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040824/2bf0cf4f/attachment.diff>


More information about the MPlayer-dev-eng mailing list