]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/log
frescor/ffmpeg.git
15 years agoSplit PGM and PPM in image formats section.
diego [Mon, 2 Mar 2009 00:34:34 +0000 (00:34 +0000)]
Split PGM and PPM in image formats section.
patch by Daniel Verkamp, daniel drv nu

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17702 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd missing image formats, patch by Daniel Verkamp, daniel drv nu.
diego [Mon, 2 Mar 2009 00:29:24 +0000 (00:29 +0000)]
Add missing image formats, patch by Daniel Verkamp, daniel drv nu.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17701 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoSplit PGM and PPM in image formats section.
diego [Mon, 2 Mar 2009 00:27:51 +0000 (00:27 +0000)]
Split PGM and PPM in image formats section.
patch by Daniel Verkamp, daniel drv nu

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17700 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agocosmetics: Break image format lines before comments.
diego [Mon, 2 Mar 2009 00:24:10 +0000 (00:24 +0000)]
cosmetics: Break image format lines before comments.
patch by Daniel Verkamp, daniel drv nu

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17699 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRA144: work around gcc bug/oddity on ARM
mru [Sun, 1 Mar 2009 23:41:39 +0000 (23:41 +0000)]
RA144: work around gcc bug/oddity on ARM

This should not make any difference, yet some gcc versions on ARM
produce incorrect output without this fix.

Approved by Vitor.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17698 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoadd an API changelog with a first entry for the new metadata API
aurel [Sun, 1 Mar 2009 18:20:26 +0000 (18:20 +0000)]
add an API changelog with a first entry for the new metadata API

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17697 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd release version number.
diego [Sun, 1 Mar 2009 18:12:06 +0000 (18:12 +0000)]
Add release version number.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17696 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoconfigure: fix return value from check_header
mru [Sun, 1 Mar 2009 17:57:14 +0000 (17:57 +0000)]
configure: fix return value from check_header

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17695 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoDocument ffplay -ast, -vst, and -sst options.
stefano [Sun, 1 Mar 2009 17:13:33 +0000 (17:13 +0000)]
Document ffplay -ast, -vst, and -sst options.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17694 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoApply the same logic used for subtitle stream selection to audio and video
stefano [Sun, 1 Mar 2009 17:06:01 +0000 (17:06 +0000)]
Apply the same logic used for subtitle stream selection to audio and video
stream selection.

Make the counting starts from 0, and disable the corresponding playbck
when the selected stream number is negative.

See the thread:
" [FFmpeg-devel] [PATCH] Add documentation for -ast, -vst, -sst".

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17693 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoSimplify the logic for the subtitle stream selection.
stefano [Sun, 1 Mar 2009 17:02:21 +0000 (17:02 +0000)]
Simplify the logic for the subtitle stream selection.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17692 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix subtitle selection logic, make ffplay select the subtitle stream N
stefano [Sun, 1 Mar 2009 16:58:59 +0000 (16:58 +0000)]
Fix subtitle selection logic, make ffplay select the subtitle stream N
rather than the subtitle stream N-1 when N is not zero.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17691 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agodeprecate old metadata API
aurel [Sun, 1 Mar 2009 16:35:25 +0000 (16:35 +0000)]
deprecate old metadata API

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17690 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agofix missed usage of old metadata API in mov demuxer
aurel [Sun, 1 Mar 2009 16:06:26 +0000 (16:06 +0000)]
fix missed usage of old metadata API in mov demuxer

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17689 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agofix last usage of old metadata API in ffmpeg.c (handling of AVStream language)
aurel [Sun, 1 Mar 2009 15:58:57 +0000 (15:58 +0000)]
fix last usage of old metadata API in ffmpeg.c (handling of AVStream language)

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17688 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agouse new metadata API in libavformat/utils.c
aurel [Sun, 1 Mar 2009 15:38:06 +0000 (15:38 +0000)]
use new metadata API in libavformat/utils.c

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17687 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agouse new metadata API in r3d demuxer
aurel [Sun, 1 Mar 2009 15:28:56 +0000 (15:28 +0000)]
use new metadata API in r3d demuxer

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17686 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoconvert ffserver to new metadata API
aurel [Sun, 1 Mar 2009 14:56:27 +0000 (14:56 +0000)]
convert ffserver to new metadata API

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17685 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoconvert ffplay to new metadata API
aurel [Sun, 1 Mar 2009 14:55:21 +0000 (14:55 +0000)]
convert ffplay to new metadata API

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17684 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoconvert ffmpeg to new metadata API
aurel [Sun, 1 Mar 2009 14:54:22 +0000 (14:54 +0000)]
convert ffmpeg to new metadata API

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17683 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agonew metadata API is now officially part of public API
aurel [Sun, 1 Mar 2009 14:50:03 +0000 (14:50 +0000)]
new metadata API is now officially part of public API

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17682 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agosimplify metadata conversion and fixes gcc-2.95 at the same time
aurel [Sun, 1 Mar 2009 14:29:30 +0000 (14:29 +0000)]
simplify metadata conversion and fixes gcc-2.95 at the same time

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17681 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoSVQ3: Fix decoding with A32_BITSTREAM_READER
mru [Sun, 1 Mar 2009 12:11:07 +0000 (12:11 +0000)]
SVQ3: Fix decoding with A32_BITSTREAM_READER

svq3_decode_slice_header() modifies the buffer used by the bitstream
reader.  Some of the bitstream readers cache a few bytes of data, which
must be flushed after such a modification.  Calling skip_bits_long(gb, 0)
achieves this.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17680 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoARM: fix missing MUL16() return type
mru [Sun, 1 Mar 2009 12:11:02 +0000 (12:11 +0000)]
ARM: fix missing MUL16() return type

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17679 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoReindent after last commit
vitor [Sun, 1 Mar 2009 11:16:57 +0000 (11:16 +0000)]
Reindent after last commit

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17678 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoDo not read uninitialized buffer, no matter if it will be multiplied by
vitor [Sun, 1 Mar 2009 11:14:21 +0000 (11:14 +0000)]
Do not read uninitialized buffer, no matter if it will be multiplied by
zero later. This should fix some valgrind warnings and hopefully FATE
ra144 test on ARM.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17677 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRemove unused variable in mpeg_mc_decode_init
reimar [Sun, 1 Mar 2009 09:14:20 +0000 (09:14 +0000)]
Remove unused variable in mpeg_mc_decode_init

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17676 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoChange the timebase of the raw demuxer to one that can represent the ts of fields.
michael [Sun, 1 Mar 2009 03:48:35 +0000 (03:48 +0000)]
Change the timebase of the raw demuxer to one that can represent the ts of fields.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17675 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoDisable MPEG1/2 style timestamp calculation for H264 it still randomizes
michael [Sun, 1 Mar 2009 03:17:24 +0000 (03:17 +0000)]
Disable MPEG1/2 style timestamp calculation for H264 it still randomizes
the timestamps because delay is not known for the first few frames.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17674 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoDo not set low_delay if has_b_frames has been set before init()
michael [Sun, 1 Mar 2009 03:13:04 +0000 (03:13 +0000)]
Do not set low_delay if has_b_frames has been set before init()
this will be needed once the parser can figure out has_b_frames
in av_find_stream_info().

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17673 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAAC: Make the CPE function more consistent with the functions for other channel elements.
alexc [Sun, 1 Mar 2009 00:23:05 +0000 (00:23 +0000)]
AAC: Make the CPE function more consistent with the functions for other channel elements.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17672 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoadd missing const qualifiers for metadata_conv in AV{In|Out}putFormat
aurel [Sun, 1 Mar 2009 00:12:08 +0000 (00:12 +0000)]
add missing const qualifiers for metadata_conv in AV{In|Out}putFormat

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17671 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoadd a metadata conversion API
aurel [Sat, 28 Feb 2009 23:34:16 +0000 (23:34 +0000)]
add a metadata conversion API

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17670 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdjust time_base exactly when changing ticks_per_frame to 2 this is safer
michael [Sat, 28 Feb 2009 20:58:07 +0000 (20:58 +0000)]
Adjust time_base exactly when changing ticks_per_frame to 2 this is safer
and for some raw h264 we managed to change the timebase twice before.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17669 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoconfigure: check_func_headers should mark headers as found
mru [Sat, 28 Feb 2009 19:56:21 +0000 (19:56 +0000)]
configure: check_func_headers should mark headers as found

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17668 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoconfigure: {enable,disable}_safe functions that sanitise arguments
mru [Sat, 28 Feb 2009 19:56:19 +0000 (19:56 +0000)]
configure: {enable,disable}_safe functions that sanitise arguments

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17667 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoDocument ff_rtp_codec_id()
lucabe [Sat, 28 Feb 2009 19:34:50 +0000 (19:34 +0000)]
Document ff_rtp_codec_id()

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17666 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoChange TS seeking so it returns position/timestamp of a key frame.
cehoyos [Sat, 28 Feb 2009 18:35:53 +0000 (18:35 +0000)]
Change TS seeking so it returns position/timestamp of a key frame.

Patch by Ivan Schreter, schreter gmx net

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17665 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix typo in a comment
lucabe [Sat, 28 Feb 2009 18:23:19 +0000 (18:23 +0000)]
Fix typo in a comment

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17664 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoDocument ff_rtp_enc_name()
lucabe [Sat, 28 Feb 2009 18:21:43 +0000 (18:21 +0000)]
Document ff_rtp_enc_name()

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17663 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agocosmetics: indentation
jbr [Sat, 28 Feb 2009 17:31:25 +0000 (17:31 +0000)]
cosmetics: indentation

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17662 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoDocument ff_rtp_get_codec_info()
lucabe [Sat, 28 Feb 2009 17:24:56 +0000 (17:24 +0000)]
Document ff_rtp_get_codec_info()

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17661 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoSeparate the raw FLAC demuxer from raw.c and put in a new file,
jbr [Sat, 28 Feb 2009 17:24:46 +0000 (17:24 +0000)]
Separate the raw FLAC demuxer from raw.c and put in a new file,
flacdec.c.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17660 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRename movenc.c MOVContext to MOVMuxContext, since MOVContext is already used
rbultje [Sat, 28 Feb 2009 16:02:29 +0000 (16:02 +0000)]
Rename movenc.c MOVContext to MOVMuxContext, since MOVContext is already used
in mov.c for the demuxer. See "[PATCH] rename movenc.c MOVContext to
MOVMuxContext" thread on the mailinglist.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17659 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRevert "Improve frame rate guessing for streams with two fields per frame."
mru [Sat, 28 Feb 2009 15:15:54 +0000 (15:15 +0000)]
Revert "Improve frame rate guessing for streams with two fields per frame."

This reverts r17656, which broke many tests.  Further investigation
is necessary.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17658 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoARM: fix corner-case overflow in H.264 weighted prediction
mru [Sat, 28 Feb 2009 13:48:54 +0000 (13:48 +0000)]
ARM: fix corner-case overflow in H.264 weighted prediction

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17657 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoImprove frame rate guessing for streams with two fields per frame.
cehoyos [Sat, 28 Feb 2009 13:14:46 +0000 (13:14 +0000)]
Improve frame rate guessing for streams with two fields per frame.

Patch by Ivan Schreter, schreter gmx net

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17656 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agosub_mb_type[] needs to be 8-byte aligned because it is referenced
stefang [Sat, 28 Feb 2009 08:38:33 +0000 (08:38 +0000)]
sub_mb_type[] needs to be 8-byte aligned because it is referenced
as a uint64_t in get_dct8x8_allowed().
Patch by David S. Miller <davem at davemloft dot net>

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17655 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix avpicture_layout to not chroma shift the alpha plane when outputting YUVA420P
sdrik [Sat, 28 Feb 2009 07:31:36 +0000 (07:31 +0000)]
Fix avpicture_layout to not chroma shift the alpha plane when outputting YUVA420P

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17654 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agouse new metadata API in nut muxer
aurel [Fri, 27 Feb 2009 23:12:14 +0000 (23:12 +0000)]
use new metadata API in nut muxer
This is only a straight conversion of current code, so for now, it won't
mux generic metadata. It will only mux Title, Author and Copyright.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17653 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agouse new metadata API in nut demuxer
aurel [Fri, 27 Feb 2009 23:10:34 +0000 (23:10 +0000)]
use new metadata API in nut demuxer

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17652 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoCorrectly reset SEI variables.
cehoyos [Fri, 27 Feb 2009 21:28:41 +0000 (21:28 +0000)]
Correctly reset SEI variables.

Patch by Ivan Schreter, schreter gmx net

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17651 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoconfigure: remove redundant alsa/asoundlib.h check
mru [Fri, 27 Feb 2009 21:15:12 +0000 (21:15 +0000)]
configure: remove redundant alsa/asoundlib.h check

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17650 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoDetect static prototypes.
michael [Fri, 27 Feb 2009 21:11:49 +0000 (21:11 +0000)]
Detect static prototypes.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17649 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoImprove detection of non doxy comments.
michael [Fri, 27 Feb 2009 21:08:32 +0000 (21:08 +0000)]
Improve detection of non doxy comments.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17648 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix misdetection of #else in 'missing } prior to else'.
michael [Fri, 27 Feb 2009 18:33:46 +0000 (18:33 +0000)]
Fix misdetection of #else in  'missing } prior to else'.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17647 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMake ff_print_debug_info() a no-op when using HW acceleration.
benoit [Fri, 27 Feb 2009 15:51:15 +0000 (15:51 +0000)]
Make ff_print_debug_info() a no-op when using HW acceleration.
Patch by Gwenolé Beauchesne.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17646 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoUse ff_hwaccel_pixfmt_list_420[] in H.263 decoder.
benoit [Fri, 27 Feb 2009 15:49:32 +0000 (15:49 +0000)]
Use ff_hwaccel_pixfmt_list_420[] in H.263 decoder.
Patch by Gwenolé Beauchesne.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17645 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd hardware acceleration hooks to H.264.
benoit [Fri, 27 Feb 2009 15:45:55 +0000 (15:45 +0000)]
Add hardware acceleration hooks to H.264.
Patch by Gwenolé Beauchesne.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17644 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMake sure -vsync 2 does not produce timestamps equal to the previous,
michael [Fri, 27 Feb 2009 14:53:29 +0000 (14:53 +0000)]
Make sure -vsync 2 does not produce timestamps equal to the previous,
rather drop a frame.
Fixes Issue872.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17643 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoUpdate commented fprintf().
michael [Fri, 27 Feb 2009 14:44:58 +0000 (14:44 +0000)]
Update commented fprintf().

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17642 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoDo not allow standard-frame-rate detection to increase the value of
reimar [Fri, 27 Feb 2009 14:13:15 +0000 (14:13 +0000)]
Do not allow standard-frame-rate detection to increase the value of
r_frame_rate by more than 1% over a previously set/detected value.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17641 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix SVQ3 regression since ticks_per_frame=2.
michael [Fri, 27 Feb 2009 14:01:32 +0000 (14:01 +0000)]
Fix SVQ3 regression since ticks_per_frame=2.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17640 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoSimplify ipmovie.c pts calculation by using an appropriate time_base.
reimar [Fri, 27 Feb 2009 10:07:12 +0000 (10:07 +0000)]
Simplify ipmovie.c pts calculation by using an appropriate time_base.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17639 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd a context to av_log() call.
benoit [Fri, 27 Feb 2009 08:31:20 +0000 (08:31 +0000)]
Add a context to av_log() call.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17638 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd HW acceleration hooks for MPEG-4 / H.263 decoding.
benoit [Fri, 27 Feb 2009 08:27:50 +0000 (08:27 +0000)]
Add HW acceleration hooks for MPEG-4 / H.263 decoding.
Patch by Gwenole Beauchesne.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17637 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRemove superfluous call to mpeg_decode_slice() for hwaccel, this
benoit [Fri, 27 Feb 2009 08:20:45 +0000 (08:20 +0000)]
Remove superfluous call to mpeg_decode_slice() for hwaccel, this
function already contains the needed code.
Patch by Gwenole Beauchesne.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17636 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoReturn early if a HW accelerator is used.
benoit [Fri, 27 Feb 2009 08:16:22 +0000 (08:16 +0000)]
Return early if a HW accelerator is used.
Patch by Gwenole Beauchesne.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17635 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd VA API pixel formats.
benoit [Fri, 27 Feb 2009 08:12:41 +0000 (08:12 +0000)]
Add VA API pixel formats.
Patch by Gwenole Beauchesne.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17634 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd ff_hwaccel_pixfmt_list_420[] definition.
benoit [Fri, 27 Feb 2009 08:09:23 +0000 (08:09 +0000)]
Add ff_hwaccel_pixfmt_list_420[] definition.
Patch by Gwenole Beauchesne.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17633 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoHack: #undef printf so compilation works with DEBUG_IPMOVIE set to 1
reimar [Fri, 27 Feb 2009 08:02:34 +0000 (08:02 +0000)]
Hack: #undef printf so compilation works with DEBUG_IPMOVIE set to 1

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17632 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoDetect the case when the time base is exact but far finer than necessary to
reimar [Fri, 27 Feb 2009 07:56:24 +0000 (07:56 +0000)]
Detect the case when the time base is exact but far finer than necessary to
represent the time stamps, as e.g. for ipmovie.c and set a better r_frame_rate.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17631 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd ticks_per_frame, this should hopefully fix the regressions caused
michael [Thu, 26 Feb 2009 23:47:32 +0000 (23:47 +0000)]
Add ticks_per_frame, this should hopefully fix the regressions caused
by the time_base change.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17630 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agocosmetics: vertical alignment
aurel [Thu, 26 Feb 2009 22:39:53 +0000 (22:39 +0000)]
cosmetics: vertical alignment

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17629 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agouse new metadata API in rpl demuxer
aurel [Thu, 26 Feb 2009 22:38:46 +0000 (22:38 +0000)]
use new metadata API in rpl demuxer

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17628 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agouse new metadata API in wc3 demuxer
aurel [Thu, 26 Feb 2009 22:35:26 +0000 (22:35 +0000)]
use new metadata API in wc3 demuxer

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17627 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMark as "internal but installed" the avio.h file.
stefano [Thu, 26 Feb 2009 22:34:18 +0000 (22:34 +0000)]
Mark as "internal but installed" the avio.h file.

This should prevent its direct inclusion in an external project, which
results broken if avformat.h is not included before.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17626 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd a @file notice to avio.h.
stefano [Thu, 26 Feb 2009 22:28:42 +0000 (22:28 +0000)]
Add a @file notice to avio.h.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17625 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRename avfilter_parse_graph() to avfilter_graph_parse(), for better
stefano [Thu, 26 Feb 2009 22:03:55 +0000 (22:03 +0000)]
Rename avfilter_parse_graph() to avfilter_graph_parse(), for better
consistency with the rest of the API.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17624 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRename avfilter_destroy_graph() to avfilter_graph_destroy(), for better
stefano [Thu, 26 Feb 2009 22:02:09 +0000 (22:02 +0000)]
Rename avfilter_destroy_graph() to avfilter_graph_destroy(), for better
consistency with the rest of the API.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17623 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoHalf user provided time_base once during the first frame when there is no
michael [Thu, 26 Feb 2009 21:09:24 +0000 (21:09 +0000)]
Half user provided time_base once during the first frame when there is no
timebase stored in the h264 stream.
This should fix fate. (ffmpeg.c used pict_repeat with its default 1/25 timebase)

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17622 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoCosmetics: Fix indentation after last commit.
cehoyos [Thu, 26 Feb 2009 20:36:47 +0000 (20:36 +0000)]
Cosmetics: Fix indentation after last commit.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17621 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoInitialize H264 parser context correctly if the optional SEI messages
cehoyos [Thu, 26 Feb 2009 20:36:02 +0000 (20:36 +0000)]
Initialize H264 parser context correctly if the optional SEI messages
are not present.

Patch by Ivan Schreter, schreter gmx net

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17620 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agomove static tables from asf.h to non-static tables in asf.c
aurel [Thu, 26 Feb 2009 16:17:17 +0000 (16:17 +0000)]
move static tables from asf.h to non-static tables in asf.c
this avoid getting those tables duplicated in asfenc.o and asfdec.o

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17619 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agorename asf-enc.c to asfenc.c and asf.c to asfdec.c for consistency
aurel [Thu, 26 Feb 2009 15:44:19 +0000 (15:44 +0000)]
rename asf-enc.c to asfenc.c and asf.c to asfdec.c for consistency

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17618 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agofix a memleak in av_metadata_set()
aurel [Thu, 26 Feb 2009 14:40:04 +0000 (14:40 +0000)]
fix a memleak in av_metadata_set()

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17617 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoImplement marker bit, which is used for several RTP payloads currently
rbultje [Thu, 26 Feb 2009 14:24:50 +0000 (14:24 +0000)]
Implement marker bit, which is used for several RTP payloads currently
under review. See "[FFmpeg-devel] RTP mark bit not passed to parse_packet"
thread on mailinglist.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17616 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoDon't (ab)use PKT_FLAG_* in RTP code, since the two have virtually nothing
rbultje [Thu, 26 Feb 2009 14:23:05 +0000 (14:23 +0000)]
Don't (ab)use PKT_FLAG_* in RTP code, since the two have virtually nothing
in common except for this one value. Change was requested by Luca in the
"[FFmpeg-devel] RTP mark bit not passed to parse_packet" thread.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17615 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoDocument rtsp.h, see "[PATCH] document rtsp.h" thread.
rbultje [Thu, 26 Feb 2009 14:15:41 +0000 (14:15 +0000)]
Document rtsp.h, see "[PATCH] document rtsp.h" thread.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17614 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix next_pts computation to consider repeat_pict.
michael [Thu, 26 Feb 2009 13:15:22 +0000 (13:15 +0000)]
Fix next_pts computation to consider repeat_pict.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17613 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agomovenc: add muxing of language along with metadata tags when available
aurel [Thu, 26 Feb 2009 13:13:48 +0000 (13:13 +0000)]
movenc: add muxing of language along with metadata tags when available

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17612 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoreturn -1 for errors in ff_mov_iso639_to_lang() to allow for error checking
aurel [Thu, 26 Feb 2009 13:11:18 +0000 (13:11 +0000)]
return -1 for errors in ff_mov_iso639_to_lang() to allow for error checking

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17611 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agocosmetics: indentation
aurel [Thu, 26 Feb 2009 13:08:22 +0000 (13:08 +0000)]
cosmetics: indentation

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17610 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agouse new metadata API in mov muxer
aurel [Thu, 26 Feb 2009 13:06:49 +0000 (13:06 +0000)]
use new metadata API in mov muxer

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17609 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agodon't trigger metadata compatibility code when user app already set metadata
aurel [Thu, 26 Feb 2009 13:00:13 +0000 (13:00 +0000)]
don't trigger metadata compatibility code when user app already set metadata
using new API

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17608 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agodv probe
bcoudurier [Thu, 26 Feb 2009 08:45:59 +0000 (08:45 +0000)]
dv probe

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17607 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoShare the function to write a raw FLAC header and use it in the Matroska
jbr [Thu, 26 Feb 2009 02:41:53 +0000 (02:41 +0000)]
Share the function to write a raw FLAC header and use it in the Matroska
muxer.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17606 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agocosmetics: add a comment in flac_write_header().
jbr [Thu, 26 Feb 2009 02:33:19 +0000 (02:33 +0000)]
cosmetics: add a comment in flac_write_header().

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17605 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd support for full header extradata to raw FLAC muxer.
jbr [Thu, 26 Feb 2009 02:32:18 +0000 (02:32 +0000)]
Add support for full header extradata to raw FLAC muxer.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17604 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agocosmetics: line wrap and indentation after last commit.
jbr [Thu, 26 Feb 2009 02:30:29 +0000 (02:30 +0000)]
cosmetics: line wrap and indentation after last commit.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17603 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b