summaryrefslogtreecommitdiff
path: root/ffplay.c
Commit message (Collapse)AuthorAge
...
* Rename the "enc" variable, which refers to the AVCodecContext of aStefano Sabatini2010-02-16
| | | | | | | | | | decoder, to "avctx". See the thread: Subject: [FFmpeg-devel] [PATCH] enc is not a good name for a decoder context Date: Mon, 28 Dec 2009 22:56:25 +0100 Originally committed as revision 21855 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics : re-indent after r21639.Jai Menon2010-02-06
| | | | Originally committed as revision 21658 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused variable ref_clock, fix the warning:Stefano Sabatini2010-02-06
| | | | | | | 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
* make the RDFT vissualizatiom default, the scopes are ugly and eat CPU likeMichael Niedermayer2010-02-05
| | | | | | piranhas. Originally committed as revision 21646 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make sure the rdft has enough audio available.Michael Niedermayer2010-02-05
| | | | | | 10l (looks cleaner now) Originally committed as revision 21645 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Scale rdft vissualization up by 2 so theres no unused space on the topMichael Niedermayer2010-02-05
| | | | | | | 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
* Do not segfault when doing "ffplay -h"Vitor Sessak2010-02-05
| | | | Originally committed as revision 21640 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Pretty RDFT audio visualization.Michael Niedermayer2010-02-05
| | | | Originally committed as revision 21639 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fast seeking.Michael Niedermayer2010-02-05
| | | | | | 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
* autoexitMichael Niedermayer2010-02-04
| | | | | | implements issue1019 Originally committed as revision 21634 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Clean after toggling wave.Michael Niedermayer2010-02-03
| | | | | | Fixes issue1180. Originally committed as revision 21632 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move is->frame_timer init from start to flush_pkt handling so it is alsoMichael Niedermayer2010-02-03
| | | | | | | 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
* The convertion between bit and byte is 8 not 60.Michael Niedermayer2010-02-03
| | | | | | Fixes wrong cursor key seek distances. Originally committed as revision 21627 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Compare the correct clocks for syncing video to audio/ext.Michael Niedermayer2010-02-02
| | | | | | Fixes initial delay on video from issue1134. Originally committed as revision 21618 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move the initial refresh scheduling for audio display away from where itMichael Niedermayer2010-02-02
| | | | | | can interfere with video. Originally committed as revision 21616 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Commit disapeared hunk, must have editied this out by mistake between local ↵Michael Niedermayer2010-02-02
| | | | | | | | debug statements. This should fix seeking in TS. Originally committed as revision 21614 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Autodetect when byte based seeking is better (that is for all formats that allowMichael Niedermayer2010-02-02
| | | | | | | discontinuities) Fixes issue1090 Originally committed as revision 21606 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use currently displayed file position instead of just url_ftell() for ↵Michael Niedermayer2010-02-02
| | | | | | | | 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
* Fix seek flagsMichael Niedermayer2010-02-02
| | | | Originally committed as revision 21603 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use parentheses around && within ||, fix the gcc warning:Stefano Sabatini2010-02-01
| | | | | | | 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
* Reindent.Stefano Sabatini2010-02-01
| | | | Originally committed as revision 21599 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make sure the faulty timestamp detection is just done when we have a pictureMichael Niedermayer2010-02-01
| | | | | | from the decoder. Originally committed as revision 21593 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reset frame_last_delay to 0.Michael Niedermayer2010-02-01
| | | | | | 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
* Move frame_last_delay into flush code as it must be reset on seeks to,Michael Niedermayer2010-02-01
| | | | | | 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
* Reset frame_last_pts on flush (and thus also at start)Michael Niedermayer2010-02-01
| | | | | | fixes issue558 and probably others. Originally committed as revision 21590 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Insert a flush packet into the que on init, that way common code betweenMichael Niedermayer2010-02-01
| | | | | | flush and init can be put into the flush handling. Originally committed as revision 21589 to svn://svn.ffmpeg.org/ffmpeg/trunk
* "Flush" the picture que on seeks, this prevents the display thread fromMichael Niedermayer2010-02-01
| | | | | | 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
* Schedule refreshes from a thread that actually knows the PTS.Michael Niedermayer2010-02-01
| | | | | | Fixes wernfried_1.avi Originally committed as revision 21586 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix race condition with reading between video_current_pts and ↵Michael Niedermayer2010-02-01
| | | | | | video_current_pts_time. Originally committed as revision 21585 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Try to more completely update time variables on unpause.Michael Niedermayer2010-02-01
| | | | | | Could not notice a differenc in behavior. Originally committed as revision 21584 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify get_video_clock()Michael Niedermayer2010-02-01
| | | | Originally committed as revision 21582 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10l, forgot HAS_ARG, -drp segfaulted.Michael Niedermayer2010-02-01
| | | | Originally committed as revision 21581 to svn://svn.ffmpeg.org/ffmpeg/trunk
* decoder reorder pts auto detection.Michael Niedermayer2010-01-31
| | | | Originally committed as revision 21579 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix indention.Michael Niedermayer2010-01-31
| | | | Originally committed as revision 21578 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix seeking by bytes with the mouse and do so by default if the duration isMichael Niedermayer2010-01-30
| | | | | | nonsense. Originally committed as revision 21563 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix AVFormat AVOprions.Michael Niedermayer2010-01-30
| | | | Originally committed as revision 21561 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Redesign packet queue full check to be more robust.Michael Niedermayer2010-01-30
| | | | Originally committed as revision 21555 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Bump up MAX_VIDEOQ_SIZE to fix stuttering of oddly interleaved avi files.Michael Niedermayer2010-01-30
| | | | | | Fixes issue1211 Originally committed as revision 21554 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use av_get_pix_fmt() instead of the deprecated avcodec_get_pix_fmt()Stefano Sabatini2010-01-30
| | | | | | function. Originally committed as revision 21550 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move array specifiers outside DECLARE_ALIGNED() invocationsMåns Rullgård2010-01-22
| | | | Originally committed as revision 21377 to svn://svn.ffmpeg.org/ffmpeg/trunk
* IndentMåns Rullgård2010-01-20
| | | | Originally committed as revision 21359 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Always call avcodec_thread_init()Måns Rullgård2010-01-20
| | | | | | | | | The various avcodec_thread_init() functions are updated to return immediately after setting avctx->thread_count. This allows -threads 0 to pass through to codecs. It also simplifies the usage for apps using libavcodec. Originally committed as revision 21358 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set thread_count in the decoder before to open it.Stefano Sabatini2009-12-28
| | | | | | | | | | | | | | | This is safer since avcodec_open() may initialize some structure using the thread_count default value which will be changed later, causing potential security / stability issues. Also do not explicitely set the thread_count value in the decoder, since this is already done by avcodec_thread_init(). See the thread: "[FFmpeg-devel] [PATCH] Make ffplay define in the encoder the number of threads *before* to open it", started in date 2008-03-08. Originally committed as revision 20954 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Print usage instead of help when no files are specified.Ramiro Polla2009-12-21
| | | | Originally committed as revision 20905 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split show_usage() out of show_help().Ramiro Polla2009-12-21
| | | | Originally committed as revision 20904 to svn://svn.ffmpeg.org/ffmpeg/trunk
* First print the program description and then the basic usage line.Ramiro Polla2009-12-21
| | | | Originally committed as revision 20902 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Until -DHAVE_AV_CONFIG_H is removed from ffplays compilation, *printf must ↵Michael Niedermayer2009-12-13
| | | | | | | | | | be #undef. Without this random changes to the header inclusion can trigger linking failures, and these are not even picked up in some environments (some fate machines didnt catch it). Originally committed as revision 20833 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Show help if no cmd line options are provided at all.Michael Niedermayer2009-12-13
| | | | | | This safes the users time to find out which of -h --help -? works. Originally committed as revision 20822 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factorize common commandline options definition.Stefano Sabatini2009-11-29
| | | | Originally committed as revision 20664 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split show_formats().Michael Niedermayer2009-11-19
| | | | Originally committed as revision 20553 to svn://svn.ffmpeg.org/ffmpeg/trunk