[FFmpeg-devel] Fix -t with some formats

Michael Niedermayer michaelni at gmx.at
Fri Jun 10 21:14:23 CEST 2011

On Fri, Jun 10, 2011 at 02:00:40PM +0200, Etienne Buira wrote:
> Hi all.
> I recently ran into an issue recently reported on ffmpeg-user by Namsuk
> Kim, despite it have been introduced a while ago.
> This happened to me when transcoding an AVI source.
> The issue is that with some formats, specifying -t ... does not stop
> encoding, it just stops audio.
> The attached patch fixes things for me (tm)(c).
> Regards.

>  ffmpeg.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 81303204d76b9baa1ed304e566d3677575ecfe10  ffmpeg_fix_-t_with_some_formats.diff

applied, btw, if you use git, you can generate a patch by
git format-patch -1
this also includes commit message and author and is easier to apply

and thx for the bugfix


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The greatest way to live with honor in this world is to be what we pretend
to be. -- Socrates
-------------- 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/20110610/62848002/attachment.asc>

More information about the ffmpeg-devel mailing list