Michael Niedermayer [Sun, 7 Feb 2010 21:09:09 +0000 (21:09 +0000)]
Precalculate a few variables for direct mv prediction for interlaced MBs.
Originally committed as revision 21677 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Sun, 7 Feb 2010 19:10:04 +0000 (19:10 +0000)]
Directly use av_rescale_rnd() instead of av_convert_ts() as this cuts the
number of calls to it down by 2.
Originally committed as revision 21676 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Sun, 7 Feb 2010 17:40:22 +0000 (17:40 +0000)]
Set direct MB partitioning for 16x8 and 8x16 colocated MBs to the respective true partitioning.
Originally committed as revision 21675 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Sun, 7 Feb 2010 17:15:17 +0000 (17:15 +0000)]
Factorize setting sub_mb_type out.
Originally committed as revision 21674 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Sun, 7 Feb 2010 17:13:59 +0000 (17:13 +0000)]
Bump minor for av_compare_ts()
Originally committed as revision 21673 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Sun, 7 Feb 2010 16:27:17 +0000 (16:27 +0000)]
Use av_compare_ts() for interleaving per dts.
Originally committed as revision 21672 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Sun, 7 Feb 2010 16:26:50 +0000 (16:26 +0000)]
av_compare_ts()
Originally committed as revision 21671 to svn://svn.ffmpeg.org/ffmpeg/trunk
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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