[MPlayer-dev-eng] [PATCH] -oac copy with ac3 sound and lavf ts demuxer issues (Was: Re: [MEncoder-users] Video/Audio asynchronous)

Michael Niedermayer michaelni at gmx.at
Tue Feb 20 17:34:13 CET 2007


Hi

On Tue, Feb 20, 2007 at 04:14:25PM +0100, Matthias Hopf wrote:
> One other thing to think about:
> 
> On Feb 20, 07 15:59:05 +0100, Nico Sabbi wrote:
> > >Index: libmpdemux/demux_lavf.c
> > >===================================================================
> > >--- libmpdemux/demux_lavf.c	(revision 22261)
> > >+++ libmpdemux/demux_lavf.c	(working copy)
> > >@@ -295,7 +295,7 @@
> > >            }
> > >            sh_audio->wf= wf;
> > >            sh_audio->audio.dwSampleSize= codec->block_align;
> > >-            if(codec->frame_size && codec->sample_rate){
> > >+            if(0 && codec->frame_size && codec->sample_rate){
> > >                sh_audio->audio.dwScale=codec->frame_size;
> > >                sh_audio->audio.dwRate= codec->sample_rate;
> > >            }else{
> > 
> > as above, this stuff belongs to decoders, not to demuxers
> 
> dwScale and dwRate setting in demux_lavf.c was already present.
> I only (hard-coded) selected the constant bitrate path.

it is NOT the CBR path, its the "ohh shit we cant set them corretly so guess
and hope it wont be too wrong" path

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

While the State exists there can be no freedom; when there is freedom there
will be no State. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070220/f562c34d/attachment.pgp>


More information about the MPlayer-dev-eng mailing list