OSDN Git Service

coroid/libav_saccubus.git
14 years agoMake parse_options() explicitely handle the case where an opt_func2
Stefano Sabatini [Sun, 7 Feb 2010 15:46:18 +0000 (15:46 +0000)]
Make parse_options() explicitely handle the case where an opt_func2
function returns a negative value, rather than erroneously trigger the
code which manages the case of unknown option.

Originally committed as revision 21670 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoRemove FIXMEs for cases that are disallowed by the spec.
Michael Niedermayer [Sun, 7 Feb 2010 15:13:56 +0000 (15:13 +0000)]
Remove FIXMEs for cases that are disallowed by the spec.

Originally committed as revision 21669 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoCheck direct_8x8_inference_flag.
Michael Niedermayer [Sun, 7 Feb 2010 15:12:37 +0000 (15:12 +0000)]
Check direct_8x8_inference_flag.

Originally committed as revision 21668 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoSkip the fill_colmap() case thats for MBAFF if we dont have an MBAFF frame.
Michael Niedermayer [Sun, 7 Feb 2010 14:55:59 +0000 (14:55 +0000)]
Skip the fill_colmap() case thats for MBAFF if we dont have an MBAFF frame.

Originally committed as revision 21667 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoImplement a physical concatenation protocol.
Michele Orrù [Sun, 7 Feb 2010 10:25:58 +0000 (10:25 +0000)]
Implement a physical concatenation protocol.

Patch by Michele Orrù reverse(<moc.liamg@yp.rekam>).

Originally committed as revision 21666 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoFix CAVLC+8x8DCT+MBAFF loopfiltering.
Michael Niedermayer [Sun, 7 Feb 2010 02:00:00 +0000 (02:00 +0000)]
Fix CAVLC+8x8DCT+MBAFF loopfiltering.
Fixes issue1250

Originally committed as revision 21665 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoFix colocated map.
Michael Niedermayer [Sun, 7 Feb 2010 01:18:00 +0000 (01:18 +0000)]
Fix colocated map.

Originally committed as revision 21664 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoFix reference selection for colocated MBs from frames to fields.
Michael Niedermayer [Sun, 7 Feb 2010 01:17:13 +0000 (01:17 +0000)]
Fix reference selection for colocated MBs from frames to fields.

Originally committed as revision 21663 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoAdd assert(sps.direct_8x8_inference_flag) to FIXME comment.
Michael Niedermayer [Sun, 7 Feb 2010 01:14:58 +0000 (01:14 +0000)]
Add assert(sps.direct_8x8_inference_flag) to FIXME comment.

Originally committed as revision 21662 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoref_offset must be added after checking references validity.
Michael Niedermayer [Sun, 7 Feb 2010 01:13:56 +0000 (01:13 +0000)]
ref_offset must be added after checking references validity.

Originally committed as revision 21661 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoAdd missing entries for the recent lsws API changes.
Stefano Sabatini [Sat, 6 Feb 2010 23:25:10 +0000 (23:25 +0000)]
Add missing entries for the recent lsws API changes.

Originally committed as revision 21660 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agolibgsm installs headers in a subdirectory, use gsm.h from that subdirectory.
Reinhard Tartler [Sat, 6 Feb 2010 16:52:38 +0000 (16:52 +0000)]
libgsm installs headers in a subdirectory, use gsm.h from that subdirectory.
Approved by Diego at FOSDEM.

Originally committed as revision 21659 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agocosmetics : re-indent after r21639.
Jai Menon [Sat, 6 Feb 2010 13:15:15 +0000 (13:15 +0000)]
cosmetics : re-indent after r21639.

Originally committed as revision 21658 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoAdd include necessary for ff_set_qscale
Reimar Döffinger [Sat, 6 Feb 2010 12:53:28 +0000 (12:53 +0000)]
Add include necessary for ff_set_qscale

Originally committed as revision 21657 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoAvoid using an intermediate variable.
Jai Menon [Sat, 6 Feb 2010 12:52:22 +0000 (12:52 +0000)]
Avoid using an intermediate variable.

Originally committed as revision 21656 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoRemove redundant use of numchannels since it is 1 for mono.
Jai Menon [Sat, 6 Feb 2010 12:48:37 +0000 (12:48 +0000)]
Remove redundant use of numchannels since it is 1 for mono.

Originally committed as revision 21655 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoalac.c : Use av_freep instead of av_free.
Jai Menon [Sat, 6 Feb 2010 12:38:42 +0000 (12:38 +0000)]
alac.c : Use av_freep instead of av_free.

Originally committed as revision 21654 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoAdd AVI metadata conversion table.
Anton Khirnov [Sat, 6 Feb 2010 12:32:44 +0000 (12:32 +0000)]
Add AVI metadata conversion table.

Patch by Anton Khirnov (gmail{wyskas}).

Originally committed as revision 21653 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoRevert r21615 | cehoyos | 2010-02-02 23:23:09 +0100 (Tue, 02 Feb 2010) | 5 lines
Justin Johnson [Sat, 6 Feb 2010 11:11:10 +0000 (11:11 +0000)]
Revert  r21615 | cehoyos | 2010-02-02 23:23:09 +0100 (Tue, 02 Feb 2010) | 5 lines
Guess the duration before converting video and write guessed duration
into flv header.
Patch by Justin Johnson, justin D johnson3 A gmail

The change to ffmpeg.c is wrong as input and output files arent connected 1:1
(i seem to have missed that)
Also it can segfault see ([FFmpeg-devel] rtp streaming x264+audio issues (and some ideas to fix them))

Originally committed as revision 21652 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoLong term references behave different from short term in spatial direct MV calculation.
Michael Niedermayer [Sat, 6 Feb 2010 02:55:58 +0000 (02:55 +0000)]
Long term references behave different from short term in spatial direct MV calculation.
Fixes FRExt_MMCO4_Sony_B / issue1251

Originally committed as revision 21651 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoAdd parentheses in boolean expression: (A && B || C) => ((A && B) || C),
Stefano Sabatini [Sat, 6 Feb 2010 00:10:42 +0000 (00:10 +0000)]
Add parentheses in boolean expression: (A && B || C) => ((A && B) || C),
fix the warning:
ffmpeg.c: In function ‘output_packet’:
ffmpeg.c:1317: warning: suggest parentheses around && within ||

Originally committed as revision 21650 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoRemove unused variable ref_clock, fix the warning:
Stefano Sabatini [Sat, 6 Feb 2010 00:05:38 +0000 (00:05 +0000)]
Remove unused variable ref_clock, fix the warning:
ffplay.c: In function ‘compute_frame_delay’:
ffplay.c:1064: warning: unused variable ‘ref_clock’

Originally committed as revision 21649 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoSimplify how usesVFilter and usesHFilter are set.
Stefano Sabatini [Fri, 5 Feb 2010 23:53:25 +0000 (23:53 +0000)]
Simplify how usesVFilter and usesHFilter are set.

Originally committed as revision 30520 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

14 years agoSatisfy style nits.
Stefano Sabatini [Fri, 5 Feb 2010 23:24:08 +0000 (23:24 +0000)]
Satisfy style nits.

Originally committed as revision 21648 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoDoxument url_fdopen().
Stefano Sabatini [Fri, 5 Feb 2010 23:03:32 +0000 (23:03 +0000)]
Doxument url_fdopen().

Originally committed as revision 21647 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoApply misc fixes to sws_getCoefficients() doxy.
Stefano Sabatini [Fri, 5 Feb 2010 22:56:59 +0000 (22:56 +0000)]
Apply misc fixes to sws_getCoefficients() doxy.

Originally committed as revision 30519 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

14 years agoSatisfy consistency need:
Stefano Sabatini [Fri, 5 Feb 2010 22:54:45 +0000 (22:54 +0000)]
Satisfy consistency need:
int * sws_getCoefficients  -> int *sws_getCoefficients.

Originally committed as revision 30518 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

14 years agoAdd function to translate SWS_CS_* to coefficient array
David Conrad [Fri, 5 Feb 2010 16:09:03 +0000 (16:09 +0000)]
Add function to translate SWS_CS_* to coefficient array

Originally committed as revision 30513 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

14 years agomake the RDFT vissualizatiom default, the scopes are ugly and eat CPU like
Michael Niedermayer [Fri, 5 Feb 2010 15:26:42 +0000 (15:26 +0000)]
make the RDFT vissualizatiom default, the scopes are ugly and eat CPU like
piranhas.

Originally committed as revision 21646 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoMake sure the rdft has enough audio available.
Michael Niedermayer [Fri, 5 Feb 2010 15:16:38 +0000 (15:16 +0000)]
Make sure the rdft has enough audio available.
10l (looks cleaner now)

Originally committed as revision 21645 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agostrn muxing in avi support.
Michael Niedermayer [Fri, 5 Feb 2010 15:14:56 +0000 (15:14 +0000)]
strn muxing in avi support.
untested as ffmpeg.c has no means to set AVStream metadata (patchwelcome)

Originally committed as revision 21644 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoSupport strn tag in avidec.
Michael Niedermayer [Fri, 5 Feb 2010 12:16:59 +0000 (12:16 +0000)]
Support strn tag in avidec.

Originally committed as revision 21643 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoCorrecting wrong looking stream_id validity check in avidec.
Michael Niedermayer [Fri, 5 Feb 2010 11:50:44 +0000 (11:50 +0000)]
Correcting wrong looking stream_id validity check in avidec.

Originally committed as revision 21642 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoScale rdft vissualization up by 2 so theres no unused space on the top
Michael Niedermayer [Fri, 5 Feb 2010 11:25:58 +0000 (11:25 +0000)]
Scale rdft vissualization up by 2 so theres no unused space on the top
but rather the unimportant high frequencies are cut off if the window is
not a multiple of 2 high.

Originally committed as revision 21641 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoDo not segfault when doing "ffplay -h"
Vitor Sessak [Fri, 5 Feb 2010 04:42:20 +0000 (04:42 +0000)]
Do not segfault when doing "ffplay -h"

Originally committed as revision 21640 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoPretty RDFT audio visualization.
Michael Niedermayer [Fri, 5 Feb 2010 02:06:38 +0000 (02:06 +0000)]
Pretty RDFT audio visualization.

Originally committed as revision 21639 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoFast seeking.
Michael Niedermayer [Fri, 5 Feb 2010 00:37:39 +0000 (00:37 +0000)]
Fast seeking.
Try clicking with the mouse in the window, hold the button and drag.

Originally committed as revision 21638 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoAdd ALAC 24 bps decoding support.
Jai Menon [Thu, 4 Feb 2010 16:21:26 +0000 (16:21 +0000)]
Add ALAC 24 bps decoding support.

Originally committed as revision 21637 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoFix large timebases.
Michael Niedermayer [Thu, 4 Feb 2010 15:30:37 +0000 (15:30 +0000)]
Fix large timebases.
Fixed issue1633

Originally committed as revision 21636 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoImplement cool new vlc code.
Michael Niedermayer [Thu, 4 Feb 2010 14:26:57 +0000 (14:26 +0000)]
Implement cool new vlc code.
Fixes issue1637

Originally committed as revision 21635 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoautoexit
Michael Niedermayer [Thu, 4 Feb 2010 01:54:24 +0000 (01:54 +0000)]
autoexit
implements issue1019

Originally committed as revision 21634 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoDont try generic seek if seek request before first index entry and backward.
Michael Niedermayer [Wed, 3 Feb 2010 23:59:48 +0000 (23:59 +0000)]
Dont try generic seek if seek request before first index entry and backward.
Fixes issue1275

Originally committed as revision 21633 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoImplement shuffle_bytes_abcd() functions and use them for shuffling
Stefano Sabatini [Wed, 3 Feb 2010 23:46:00 +0000 (23:46 +0000)]
Implement shuffle_bytes_abcd() functions and use them for shuffling
bytes when converting between RGB32 variants.

In particular fix the argb -> rgba and abgr -> bgra conversions.

See the thread:
Subject: [FFmpeg-devel] [RFC] RGB32 / BGR32 ethernal bug
Date: Tue, 26 Jan 2010 01:06:18 +0100

Originally committed as revision 30501 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

14 years agoClean after toggling wave.
Michael Niedermayer [Wed, 3 Feb 2010 23:34:06 +0000 (23:34 +0000)]
Clean after toggling wave.
Fixes issue1180.

Originally committed as revision 21632 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoUse pixel format descriptors for checking if the input format is
Stefano Sabatini [Wed, 3 Feb 2010 23:10:18 +0000 (23:10 +0000)]
Use pixel format descriptors for checking if the input format is
paletted. Simpler and more robust.

Originally committed as revision 21631 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoTry to open decoders in av_find_stream_info() even if no packets for the
Michael Niedermayer [Wed, 3 Feb 2010 23:05:58 +0000 (23:05 +0000)]
Try to open decoders in av_find_stream_info() even if no packets for the
stream are found.
Fixes issue1385

Originally committed as revision 21630 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoMove is->frame_timer init from start to flush_pkt handling so it is also
Michael Niedermayer [Wed, 3 Feb 2010 21:33:31 +0000 (21:33 +0000)]
Move is->frame_timer init from start to flush_pkt handling so it is also
done on seeking. This fixes the bug where after reaching the end and waiting
a few seconds seeking back to the begin messes up AV sync and playback speed.

Originally committed as revision 21629 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoMake opt_frame_pix_fmt() call show_pix_fmts() if the provided option
Stefano Sabatini [Wed, 3 Feb 2010 19:55:45 +0000 (19:55 +0000)]
Make opt_frame_pix_fmt() call show_pix_fmts() if the provided option
is "list".

Originally committed as revision 21628 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoThe convertion between bit and byte is 8 not 60.
Michael Niedermayer [Wed, 3 Feb 2010 15:19:19 +0000 (15:19 +0000)]
The convertion between bit and byte is 8 not 60.
Fixes wrong cursor key seek distances.

Originally committed as revision 21627 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoCorrect opts calulation in ffmpeg.c.
Michael Niedermayer [Wed, 3 Feb 2010 15:09:04 +0000 (15:09 +0000)]
Correct opts calulation in ffmpeg.c.
This correct the stop point for demuxing with -vcodec copy and -t as well as
packet interleaving. (we already diddrop packets but kept demuxing them
for too long due to opts being wrong)
the change to ffm is due to 2 packets with timestamp 0 being stored
in different order.

Originally committed as revision 21626 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoAlternative solution for the mpegvideo_split + mov problem.
Michael Niedermayer [Wed, 3 Feb 2010 14:53:14 +0000 (14:53 +0000)]
Alternative solution for the mpegvideo_split + mov problem.

Originally committed as revision 21625 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoIndentation cleanup
Peter Ross [Wed, 3 Feb 2010 09:58:14 +0000 (09:58 +0000)]
Indentation cleanup

Originally committed as revision 21624 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoExtend IFF demuxer to parse PBM/ILBM bitmap chunks
Peter Ross [Wed, 3 Feb 2010 09:57:21 +0000 (09:57 +0000)]
Extend IFF demuxer to parse PBM/ILBM bitmap chunks

Originally committed as revision 21623 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoIFF PBM/ILBM bitmap decoder
Peter Ross [Wed, 3 Feb 2010 09:56:16 +0000 (09:56 +0000)]
IFF PBM/ILBM bitmap decoder

Originally committed as revision 21622 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoRevert
Michael Niedermayer [Wed, 3 Feb 2010 04:40:42 +0000 (04:40 +0000)]
Revert
r12684 | michael | 2008-04-04 02:43:34 +0200 (Fri, 04 Apr 2008) | 2 lines
Disable the split function. This should end the mpeg1/2 global header issues.
The split function is essential for -ss to work
Fixes issue1226
If this breaks something please tell me, also if someoen remembers what problem
this originally caused tell me too, i searched but couldnt find it.

Originally committed as revision 21621 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoOnly set duration for streams where it is likely correct.
Michael Niedermayer [Wed, 3 Feb 2010 00:35:10 +0000 (00:35 +0000)]
Only set duration for streams where it is likely correct.
Fixes issue1120

Originally committed as revision 21620 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoSet nb_frames.
Michael Niedermayer [Tue, 2 Feb 2010 23:53:38 +0000 (23:53 +0000)]
Set nb_frames.
Also add DXSA tag (commited by mistake in this commit, i can revert and recommit
seperately if someone wants)

Originally committed as revision 21619 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoCompare the correct clocks for syncing video to audio/ext.
Michael Niedermayer [Tue, 2 Feb 2010 23:22:35 +0000 (23:22 +0000)]
Compare the correct clocks for syncing video to audio/ext.
Fixes initial delay on video from issue1134.

Originally committed as revision 21618 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoFix r21223: AVup samples (issue 1685) need a buf offset like AV1x (issue 1684).
Carl Eugen Hoyos [Tue, 2 Feb 2010 22:57:56 +0000 (22:57 +0000)]
Fix r21223: AVup samples (issue 1685) need a buf offset like AV1x (issue 1684).

Originally committed as revision 21617 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoMove the initial refresh scheduling for audio display away from where it
Michael Niedermayer [Tue, 2 Feb 2010 22:43:09 +0000 (22:43 +0000)]
Move the initial refresh scheduling for audio display away from where it
can interfere with video.

Originally committed as revision 21616 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoGuess the duration before converting video and write guessed duration
Justin Johnson [Tue, 2 Feb 2010 22:23:09 +0000 (22:23 +0000)]
Guess the duration before converting video and write guessed duration
into flv header.

Patch by Justin Johnson, justin D johnson3 A gmail

Originally committed as revision 21615 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoCommit disapeared hunk, must have editied this out by mistake between local debug...
Michael Niedermayer [Tue, 2 Feb 2010 21:31:20 +0000 (21:31 +0000)]
Commit disapeared hunk, must have editied this out by mistake between local debug statements.
This should fix seeking in TS.

Originally committed as revision 21614 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoFix warnings about redefining constants when compiling libpostproc.
Yuriy Kaminskiy [Tue, 2 Feb 2010 19:35:52 +0000 (19:35 +0000)]
Fix warnings about redefining constants when compiling libpostproc.

Patch by Yuriy Kaminskiy, yumkam mail ru

Originally committed as revision 21607 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoAutodetect when byte based seeking is better (that is for all formats that allow
Michael Niedermayer [Tue, 2 Feb 2010 18:02:16 +0000 (18:02 +0000)]
Autodetect when byte based seeking is better (that is for all formats that allow
discontinuities)
Fixes issue1090

Originally committed as revision 21606 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoUse currently displayed file position instead of just url_ftell() for seeking by...
Michael Niedermayer [Tue, 2 Feb 2010 16:51:02 +0000 (16:51 +0000)]
Use currently displayed file position instead of just url_ftell() for seeking by bytes.
This fixes seeking back with the cursor keys and -bytes.

Originally committed as revision 21605 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoSet AVPacket.pos in MPEG-PS demuxer.
Michael Niedermayer [Tue, 2 Feb 2010 16:47:51 +0000 (16:47 +0000)]
Set AVPacket.pos in MPEG-PS demuxer.

Originally committed as revision 21604 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoFix seek flags
Michael Niedermayer [Tue, 2 Feb 2010 16:01:22 +0000 (16:01 +0000)]
Fix seek flags

Originally committed as revision 21603 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoFix build
Måns Rullgård [Mon, 1 Feb 2010 23:30:30 +0000 (23:30 +0000)]
Fix build

Originally committed as revision 21602 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoFix warnings about implicit function declaration when compiling rtpdec.c
Alexis Ballier [Mon, 1 Feb 2010 23:10:04 +0000 (23:10 +0000)]
Fix warnings about implicit function declaration when compiling rtpdec.c

Patch by Alexis Ballier, alexis D ballier A gmail

Originally committed as revision 21601 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoUse parentheses around && within ||, fix the gcc warning:
Stefano Sabatini [Mon, 1 Feb 2010 22:23:17 +0000 (22:23 +0000)]
Use parentheses around && within ||, fix the gcc warning:
ffplay.c: In function ‘video_thread’:
ffplay.c:1391: warning: suggest parentheses around && within ||

Originally committed as revision 21600 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoReindent.
Stefano Sabatini [Mon, 1 Feb 2010 22:17:15 +0000 (22:17 +0000)]
Reindent.

Originally committed as revision 21599 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoCheck pkt.pts against the recording time.
Michael Niedermayer [Mon, 1 Feb 2010 22:08:45 +0000 (22:08 +0000)]
Check pkt.pts against the recording time.
This fixes at least ogg encoding with -t where the file was slightly too long.

Originally committed as revision 21598 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoUse pixel format descriptors to check if the input format is paletted.
Stefano Sabatini [Mon, 1 Feb 2010 19:50:17 +0000 (19:50 +0000)]
Use pixel format descriptors to check if the input format is paletted.

Originally committed as revision 21597 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agomention symbol versioning
Reinhard Tartler [Mon, 1 Feb 2010 15:51:05 +0000 (15:51 +0000)]
mention symbol versioning

Originally committed as revision 21594 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoMake sure the faulty timestamp detection is just done when we have a picture
Michael Niedermayer [Mon, 1 Feb 2010 13:03:46 +0000 (13:03 +0000)]
Make sure the faulty timestamp detection is just done when we have a picture
from the decoder.

Originally committed as revision 21593 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoReset frame_last_delay to 0.
Michael Niedermayer [Mon, 1 Feb 2010 12:31:28 +0000 (12:31 +0000)]
Reset frame_last_delay to 0.
This avoids a few ms delay for the first frame after a seek in theory.

Originally committed as revision 21592 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoMove frame_last_delay into flush code as it must be reset on seeks to,
Michael Niedermayer [Mon, 1 Feb 2010 12:30:14 +0000 (12:30 +0000)]
Move frame_last_delay into flush code as it must be reset on seeks to,
otherwise the first frame after a seek would be delayed by that amount.

Originally committed as revision 21591 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoReset frame_last_pts on flush (and thus also at start)
Michael Niedermayer [Mon, 1 Feb 2010 12:27:26 +0000 (12:27 +0000)]
Reset frame_last_pts on flush (and thus also at start)
fixes issue558 and probably others.

Originally committed as revision 21590 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoInsert a flush packet into the que on init, that way common code between
Michael Niedermayer [Mon, 1 Feb 2010 12:22:12 +0000 (12:22 +0000)]
Insert a flush packet into the que on init, that way common code between
flush and init can be put into the flush handling.

Originally committed as revision 21589 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years ago"Flush" the picture que on seeks, this prevents the display thread from
Michael Niedermayer [Mon, 1 Feb 2010 12:19:28 +0000 (12:19 +0000)]
"Flush" the picture que on seeks, this prevents the display thread from
having frames from before and after the seek which just isnt a good idea.

Originally committed as revision 21588 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoAdd a list of generic tags and change demuxers to follow it.
Anton Khirnov [Mon, 1 Feb 2010 11:39:10 +0000 (11:39 +0000)]
Add a list of generic tags and change demuxers to follow it.
Patch by Anton Khirnov, wyskas at gmail dot com

Originally committed as revision 21587 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoSchedule refreshes from a thread that actually knows the PTS.
Michael Niedermayer [Mon, 1 Feb 2010 11:30:31 +0000 (11:30 +0000)]
Schedule refreshes from a thread that actually knows the PTS.
Fixes wernfried_1.avi

Originally committed as revision 21586 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoFix race condition with reading between video_current_pts and video_current_pts_time.
Michael Niedermayer [Mon, 1 Feb 2010 10:55:51 +0000 (10:55 +0000)]
Fix race condition with reading between video_current_pts and video_current_pts_time.

Originally committed as revision 21585 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoTry to more completely update time variables on unpause.
Michael Niedermayer [Mon, 1 Feb 2010 10:32:17 +0000 (10:32 +0000)]
Try to more completely update time variables on unpause.
Could not notice a differenc in behavior.

Originally committed as revision 21584 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoRemove unnecessary fields in ALSSpecificConfig.
Thilo Borgmann [Mon, 1 Feb 2010 09:53:37 +0000 (09:53 +0000)]
Remove unnecessary fields in ALSSpecificConfig.

Originally committed as revision 21583 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoSimplify get_video_clock()
Michael Niedermayer [Mon, 1 Feb 2010 09:26:30 +0000 (09:26 +0000)]
Simplify  get_video_clock()

Originally committed as revision 21582 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years ago10l, forgot HAS_ARG, -drp segfaulted.
Michael Niedermayer [Mon, 1 Feb 2010 03:12:01 +0000 (03:12 +0000)]
10l, forgot HAS_ARG, -drp segfaulted.

Originally committed as revision 21581 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoSet reordered_opaque during context alloc by default to AV_NOPTS_VALUE.
Michael Niedermayer [Mon, 1 Feb 2010 00:18:49 +0000 (00:18 +0000)]
Set reordered_opaque during context alloc by default to AV_NOPTS_VALUE.
This should make sure that pictures allocated prior to avcodec_decode_video()
get AV_NOPTS_VALUE assigned.

Originally committed as revision 21580 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agodecoder reorder pts auto detection.
Michael Niedermayer [Sun, 31 Jan 2010 18:54:32 +0000 (18:54 +0000)]
decoder reorder pts auto detection.

Originally committed as revision 21579 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoFix indention.
Michael Niedermayer [Sun, 31 Jan 2010 18:07:58 +0000 (18:07 +0000)]
Fix indention.

Originally committed as revision 21578 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoIncrease search range if no end timestamp could be found for the duration
Michael Niedermayer [Sun, 31 Jan 2010 17:43:18 +0000 (17:43 +0000)]
Increase search range if no end timestamp could be found for the duration
calculation.

Originally committed as revision 21577 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoFix grammar: write to DST THING -> write THING to DST.
Stefano Sabatini [Sun, 31 Jan 2010 17:13:57 +0000 (17:13 +0000)]
Fix grammar: write to DST THING -> write THING to DST.

Originally committed as revision 21576 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoAvoid usage of avcodec_get_pix_fmt_name() and
Stefano Sabatini [Sun, 31 Jan 2010 16:33:29 +0000 (16:33 +0000)]
Avoid usage of avcodec_get_pix_fmt_name() and
avcodec_get_chroma_sub_sample(), directly access
av_pix_fmt_descriptors instead.

Remove some of the dependancies of lavfi on lavc.

Originally committed as revision 21575 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoBink video codec id is there, demuxer can use it
Kostya Shishkov [Sun, 31 Jan 2010 16:21:49 +0000 (16:21 +0000)]
Bink video codec id is there, demuxer can use it

Originally committed as revision 21574 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoUpdate binkaudio to new DECLARE_ALIGNED syntax
Daniel Verkamp [Sun, 31 Jan 2010 15:07:25 +0000 (15:07 +0000)]
Update binkaudio to new DECLARE_ALIGNED syntax

Originally committed as revision 21573 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agolibavcodec version bump for Bink codec IDs (r21536)
Daniel Verkamp [Sun, 31 Jan 2010 13:34:28 +0000 (13:34 +0000)]
libavcodec version bump for Bink codec IDs (r21536)

Originally committed as revision 21572 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoLatent libavformat version bump for Bink demuxer (r21569)
Peter Ross [Sun, 31 Jan 2010 13:01:00 +0000 (13:01 +0000)]
Latent libavformat version bump for Bink demuxer (r21569)

Originally committed as revision 21571 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoBink Audio decoder
Peter Ross [Sun, 31 Jan 2010 12:51:15 +0000 (12:51 +0000)]
Bink Audio decoder

Originally committed as revision 21570 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoBink demuxer
Peter Ross [Sun, 31 Jan 2010 12:35:09 +0000 (12:35 +0000)]
Bink demuxer

Originally committed as revision 21569 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoAdd include to fix implicit declaration of ff_mpeg4_init_direct_mv and
Reimar Döffinger [Sun, 31 Jan 2010 12:27:05 +0000 (12:27 +0000)]
Add include to fix implicit declaration of ff_mpeg4_init_direct_mv and
ff_h263_encode_mba

Originally committed as revision 21568 to svn://svn.ffmpeg.org/ffmpeg/trunk