[FFmpeg-devel] [PATCH] ffmpeg: affect source stream index in new_output_stream function
Michael Niedermayer
michaelni at gmx.at
Mon Apr 2 17:40:20 CEST 2012
On Thu, Mar 29, 2012 at 04:57:42PM +0200, Matthieu Bouron wrote:
> 2012/3/29 Matthieu Bouron <matthieu.bouron at gmail.com>:
> > Hi there,
> >
> > This patch move the affection of source stream index / sync stream in
> > new_output_stream function and fix map_channel option when mapped
> > audio stream index is greater than 0.
> >
> > The problem is that new_audio_stream function isn't aware of the
> > source stream index which default to 0 at stream creation. This leads
> > to a wrong comparaison in map_channel code in this function.
> >
> > Please comment,
> > Matthieu
>
> Sorry, first patch broke fate tests.
> New patch attached.
> ffmpeg.c | 68 +++++++++++++++++++++++++++++----------------------------------
> 1 file changed, 32 insertions(+), 36 deletions(-)
> 6dd9c5942738fa8120768066c26a49ee0b8cf976 0001-ffmpeg-affect-source-stream-index-in-new_output_stre.patch
> From 93b30d0ae25fdcdb512dd2573863ff4256a15028 Mon Sep 17 00:00:00 2001
> From: Matthieu Bouron <matthieu.bouron at smartjog.com>
> Date: Thu, 29 Mar 2012 15:45:50 +0200
> Subject: [PATCH] ffmpeg: affect source stream index in new_output_stream
> function
>
> Fix map_channel when mapped audio stream index is greater than 0.
applied
thanks
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Many that live deserve death. And some that die deserve life. Can you give
it to them? Then do not be too eager to deal out death in judgement. For
even the very wise cannot see all ends. -- Gandalf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120402/7d937d07/attachment.asc>
More information about the ffmpeg-devel
mailing list