Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitaliy E Sugrobov <vsugrob@hotmail.com>2012-11-30 12:58:56 +0400
committerPaul B Mahol <onemda@gmail.com>2012-11-30 18:33:58 +0400
commit5603b2bf6e00f0f7d96448535f9fe6c293308225 (patch)
treea918f9ad9f4fc8521af65df57c0410e7253c7ffc /libavformat/allformats.c
parent005cb97e3e710a5266cbcad47b1c5060933646bd (diff)
Gif demuxer
Gif demuxer is capable of extracting multiple frames from gif file. In conjunction with gif decoder it implements support for reading animated gifs. Demuxer has two options available to user: default_delay and min_delay. These options are for protection from too rapid gif animations. In practice it is standard approach to slow down rendering of this kind of gifs. If you try to play gif with delay between frames of one hundredth of second (100fps) using one of major web browsers, you get significantly slower playback, around 10 fps. This is because browser detects that delay value is less than some threshold (usually 2 hundredths of second) and reset it to default value (usually 10 hundredths of second, which corresponds to 10fps). Manipulating these options user can achieve the same effect during conversion to some video format. Otherwise user can set them to not protect from rapid animations at all. The other case when these options necessary is for gif images encoded according to gif87a standard since prior to gif89a there was no delay information included in file. Bump lavf minor version. Signed-off-by: Vitaliy E Sugrobov <vsugrob@hotmail.com>
Diffstat (limited to 'libavformat/allformats.c')
-rw-r--r--libavformat/allformats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/allformats.c b/libavformat/allformats.c
index e183d4013c..2c32cc28fd 100644
--- a/libavformat/allformats.c
+++ b/libavformat/allformats.c
@@ -111,7 +111,7 @@ void av_register_all(void)
REGISTER_MUXDEMUX (G722, g722);
REGISTER_MUXDEMUX (G723_1, g723_1);
REGISTER_DEMUXER (G729, g729);
- REGISTER_MUXER (GIF, gif);
+ REGISTER_MUXDEMUX (GIF, gif);
REGISTER_DEMUXER (GSM, gsm);
REGISTER_MUXDEMUX (GXF, gxf);
REGISTER_MUXDEMUX (H261, h261);