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

Attila Kinali attila at kinali.ch
Sun Aug 22 01:57:32 CEST 2004


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

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.



			Attila Kinali




More information about the MPlayer-dev-eng mailing list