[Ffmpeg-cvslog] CVS: ffmpeg ffmpeg.c,1.333,1.334
Michael Niedermayer CVS
michael
Sat Jun 18 03:52:26 CEST 2005
- Previous message: [Ffmpeg-cvslog] CVS: ffmpeg/libavcodec avcodec.h, 1.401, 1.402 bitstream.h, 1.152, 1.153 h263.c, 1.282, 1.283 h263dec.c, 1.167, 1.168 motion_est.c, 1.105, 1.106 mpegvideo.c, 1.484, 1.485 mpegvideo.h, 1.224, 1.225 utils.c, 1.142, 1.143
- Next message: [Ffmpeg-cvslog] CVS: ffmpeg/libavformat avformat.h, 1.121, 1.122 gif.c, 1.18, 1.19
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/ffmpeg/ffmpeg
In directory mail:/var2/tmp/cvs-serv5062
Modified Files:
ffmpeg.c
Log Message:
Animated GIF looping patch by (Todd Kirby // ffmpeg.php gmail com)
Index: ffmpeg.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/ffmpeg.c,v
retrieving revision 1.333
retrieving revision 1.334
diff -u -d -r1.333 -r1.334
--- ffmpeg.c 7 Jun 2005 21:53:56 -0000 1.333
+++ ffmpeg.c 18 Jun 2005 01:52:24 -0000 1.334
@@ -209,6 +209,7 @@
static int frame_skip_exp= 0;
static int frame_skip_cmp= FF_CMP_DCTMAX;
extern int loop_input; /* currently a hack */
+static int loop_output = AVFMT_NOOUTPUTLOOP;
static int gray_only = 0;
static int gop_size = 12;
@@ -3689,6 +3690,7 @@
oc->mux_rate= mux_rate;
oc->preload= (int)(mux_preload*AV_TIME_BASE);
oc->max_delay= (int)(mux_max_delay*AV_TIME_BASE);
+ oc->loop_output = loop_output;
/* reset some options */
file_oformat = NULL;
@@ -4177,6 +4179,7 @@
{ "bitexact", OPT_EXPERT, {(void*)opt_bitexact}, "only use bit exact algorithms (for codec testing)" },
{ "re", OPT_BOOL | OPT_EXPERT, {(void*)&rate_emu}, "read input at native frame rate", "" },
{ "loop", OPT_BOOL | OPT_EXPERT, {(void*)&loop_input}, "loop (current only works with images)" },
+ { "loop_output", HAS_ARG | OPT_INT | OPT_EXPERT, {(void*)&loop_output}, "number of times to loop output in formats that support looping (0 loops forever)", "" },
{ "v", HAS_ARG, {(void*)opt_verbose}, "control amount of logging", "verbose" },
{ "target", HAS_ARG, {(void*)opt_target}, "specify target file type (\"vcd\", \"svcd\", \"dvd\", \"dv\", \"pal-vcd\", \"ntsc-svcd\", ...)", "type" },
{ "threads", HAS_ARG | OPT_EXPERT, {(void*)opt_thread_count}, "thread count", "count" },
- Previous message: [Ffmpeg-cvslog] CVS: ffmpeg/libavcodec avcodec.h, 1.401, 1.402 bitstream.h, 1.152, 1.153 h263.c, 1.282, 1.283 h263dec.c, 1.167, 1.168 motion_est.c, 1.105, 1.106 mpegvideo.c, 1.484, 1.485 mpegvideo.h, 1.224, 1.225 utils.c, 1.142, 1.143
- Next message: [Ffmpeg-cvslog] CVS: ffmpeg/libavformat avformat.h, 1.121, 1.122 gif.c, 1.18, 1.19
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the ffmpeg-cvslog
mailing list