838bd73139 
								
							
								 
							
						 
						
							
							
								
								lavfi: create Libav-API compatibility layer for avfilter_graph_parse() at the next bump  
							
							Add function avfilter_graph_parse_ptr() and favor it in place of
avfilter_graph_parse(), which will be restored with the old/Libav
signature at the next bump.
If HAVE_INCOMPATIBLE_LIBAV_API is enabled it will use the
Libav-compatible signature for avfilter_graph_parse().
At the next major bump the current implementation of
avfilter_graph_parse() should be dropped in favor of the Libav/old
implementation.
Should address trac ticket #2672 . 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								02fc61a5a6 
								
							
								 
							
						 
						
							
							
								
								ffplay: always send zero packets to flush audio decoders  
							
							Zero packets are needed not for codecs with CODEC_CAP_DELAY but for
multithreaded decoders as well.
Signed-off-by: Marton Balint <cus@passwd.hu> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								447d2e31d1 
								
							
								 
							
						 
						
							
							
								
								ffplay: use frame->pkt_pts instead of pkt->pts in audio pts calculation  
							
							Fixes ticket #2717 .
Signed-off-by: Marton Balint <cus@passwd.hu> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9fac752afa 
								
							
								 
							
						 
						
							
							
								
								ffplay: simplify and fix flushing out old subtitles on seeking  
							
							Fixes the additional issue reported in ticket #2666 .
Signed-off-by: Marton Balint <cus@passwd.hu> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								96b33ddbd0 
								
							
								 
							
						 
						
							
							
								
								ffplay: remove remains of the old audio and video clock VideoState variables  
							
							The unified clock state holds this information now.
Signed-off-by: Marton Balint <cus@passwd.hu> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								05f0d53170 
								
							
								 
							
						 
						
							
							
								
								ffplay: fix missed conversion of video_current_pts to vidclk.pts in subtitles  
							
							Fixes regression with subtitles introduced in f2175a6#2666 .
Signed-off-by: Marton Balint <cus@passwd.hu> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f73d6d2af7 
								
							
								 
							
						 
						
							
							
								
								ffplay: cast vp->height to int64 in buffer size check  
							
							Fixes Coverity CID 1026769 and 1026756.
Signed-off-by: Marton Balint <cus@passwd.hu> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3b491c5a50 
								
							
								 
							
						 
						
							
							
								
								Use av_log() instead of fprintf() in ffplay.  
							
							Fixes ticket #2630 .
Reviewed-by: Marton Balint 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								30d724bdfd 
								
							
								 
							
						 
						
							
							
								
								ffplay: detect when the created overlay buffers are not valid for the wanted overlay height  
							
							Fixes cases when the picture height was bigger than the maximum supported
overlay height...
Signed-off-by: Marton Balint <cus@passwd.hu> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								87917a3283 
								
							
								 
							
						 
						
							
							
								
								ffplay: do not allow wider window than 16383  
							
							SDL surface pitch is 16bit, to avoid possible overflows, we limit the window
width to 16383. Fixes ticket #2428 .
Signed-off-by: Marton Balint <cus@passwd.hu> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3b6f1526c6 
								
							
								 
							
						 
						
							
							
								
								ffplay: use 0 frame delay if redisplaying an already displayed frame  
							
							With the previous patches this finally fixes ticket #1707 .
Signed-off-by: Marton Balint <cus@passwd.hu> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								97e42551e4 
								
							
								 
							
						 
						
							
							
								
								ffplay: use more sane frame timer resetting logic  
							
							Signed-off-by: Marton Balint <cus@passwd.hu> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								35b2f30fd1 
								
							
								 
							
						 
						
							
							
								
								ffplay: only update pts if not redisplaying a frame  
							
							Signed-off-by: Marton Balint <cus@passwd.hu> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e341cb1102 
								
							
								 
							
						 
						
							
							
								
								ffplay: fix compute_target_delay to better handle frames with long durations  
							
							Signed-off-by: Marton Balint <cus@passwd.hu> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5b492720ad 
								
							
								 
							
						 
						
							
							
								
								ffplay: if playing only audio or video only, show the master clock diff in status line  
							
							Showing A-V diff has no use if there is no audio and video stream, but showing
the audio or video clock difference to the master clock can be useful.
Signed-off-by: Marton Balint <cus@passwd.hu> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f2175a628b 
								
							
								 
							
						 
						
							
							
								
								ffplay: factorize clock functions  
							
							There should be no change in functionality.
Signed-off-by: Marton Balint <cus@passwd.hu> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b764b53aae 
								
							
								 
							
						 
						
							
							
								
								ffplay: decrease video picture queue size to 3  
							
							It was raised to 4 because of a theoretical issue, if we ensure that we do not
return from the display function without popping one picture from the queue,
then its OK to use the old size.
Signed-off-by: Marton Balint <cus@passwd.hu> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								840ee5e1a1 
								
							
								 
							
						 
						
							
							
								
								ffplay: dont forget passing lowres to private options  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								047716bbd8 
								
							
								 
							
						 
						
							
							
								
								ffplay: check av_samples_get_buffer_size() return  
							
							Fixes CID1005310
Reviewed-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b8facbeecb 
								
							
								 
							
						 
						
							
							
								
								ffplay: only do early frame drop if video queue is not empty  
							
							Fixes ticket #2446 .
Signed-off-by: Marton Balint <cus@passwd.hu> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d148339d19 
								
							
								 
							
						 
						
							
							
								
								ffplay: use AV_NOPTS_VALUE video frame pts instead of using 0  
							
							Assuming 0 pts may lead to bad framedrop decisions...
Signed-off-by: Marton Balint <cus@passwd.hu> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								40693ba3ac 
								
							
								 
							
						 
						
							
							
								
								ffplay: simplify aspect ratio calculation  
							
							Signed-off-by: Marton Balint <cus@passwd.hu> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9db6aaeb2c 
								
							
								 
							
						 
						
							
							
								
								ffplay: use format title metadata to set window caption.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e87c1cdbb5 
								
							
								 
							
						 
						
							
							
								
								ffplay: replace opaque/params for buffersinks  
							
							This fixes a regression caused by droping opaque.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								85b9bf5693 
								
							
								 
							
						 
						
							
							
								
								ffplay: simplify video pts calculation  
							
							Also use frame->pts instead of a standalone variable
Signed-off-by: Marton Balint <cus@passwd.hu> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5dacf7b1ab 
								
							
								 
							
						 
						
							
							
								
								ffplay: fix indentation  
							
							Signed-off-by: Marton Balint <cus@passwd.hu> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0b24e341ed 
								
							
								 
							
						 
						
							
							
								
								ffplay: handle audio buffersink output properly with buffering filters  
							
							Fixes cases when the audio filter generates less or more frames than the input.
Signed-off-by: Marton Balint <cus@passwd.hu> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								325846aac0 
								
							
								 
							
						 
						
							
							
								
								ffplay: set time_base of audio filter buffer src  
							
							Fixes ticket #2408 .
Signed-off-by: Marton Balint <cus@passwd.hu> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7f4b588fdf 
								
							
								 
							
						 
						
							
							
								
								ffplay: use seek per time for ogg by default  
							
							Fixes Ticket2383
Reviewed-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1c2ac44947 
								
							
								 
							
						 
						
							
							
								
								ffplay: always queue attachment pictures after flushing the video packet queue  
							
							Requeue them after seeking and also after opening a video stream. Also don't
fill the video queue in case of an attached picture video stream since there
will be no more than one packet from that stream.
Signed-off-by: Marton Balint <cus@passwd.hu> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								de81d8da47 
								
							
								 
							
						 
						
							
							
								
								ffplay: fix early frame dropped pts serial  
							
							Fixes early frame drop which was kind of broken since
26c208cf0f 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								612d9cdbe9 
								
							
								 
							
						 
						
							
							
								
								ffplay: use av_guess_frame_rate()  
							
							Reviewed-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c46a8c613e 
								
							
								 
							
						 
						
							
							
								
								ffplay: avoid frame data leak on early frame drop  
							
							Signed-off-by: Marton Balint <cus@passwd.hu> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4d16ba2dd8 
								
							
								 
							
						 
						
							
							
								
								ffplay: silence warning of mixed enumeration types  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5fe542d7e1 
								
							
								 
							
						 
						
							
							
								
								ffplay: remove options skiploop, skipidct, skipframe  
							
							The corresponding codec options (skip_loop, skip_idct, skip_frame) can be
set in a more flexible way.
This technically causes a user interface break, but since the options
were not even documented and we just released a major version that should
not be a serious issue. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f7d1a18c90 
								
							
								 
							
						 
						
							
							
								
								ffplay: remove unused variable "codec"  
							
							Fix warning:
ffplay.c: In function ‘video_thread’:
ffplay.c:1890:21: warning: unused variable ‘codec’ [-Wunused-variable] 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e96175ad7b 
								
							
								 
							
						 
						
							
							
								
								ffplay: add -af option  
							
							Based on a patch by Stefano Sabatini <stefasab@gmail.com>:
http://ffmpeg.org/pipermail/ffmpeg-devel/2013-February/138452.html 
Signed-off-by: Marton Balint <cus@passwd.hu> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								738487f8db 
								
							
								 
							
						 
						
							
							
								
								ffplay: use refcounted frames for audio  
							
							Signed-off-by: Marton Balint <cus@passwd.hu> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9eafdd518c 
								
							
								 
							
						 
						
							
							
								
								ffplay: use frame->pts if available for setting the audio clock  
							
							Signed-off-by: Marton Balint <cus@passwd.hu> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1822519d2a 
								
							
								 
							
						 
						
							
							
								
								ffplay: restructure audio stream opening code  
							
							Preparation for -af support.
Signed-off-by: Marton Balint <cus@passwd.hu> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ceac5c54dd 
								
							
								 
							
						 
						
							
							
								
								Remove references to the "ff" variant of buffersink.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ec1d2e2fb0 
								
							
								 
							
						 
						
							
							
								
								ffplay: use AVFrame accessor functions  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ac37d21f49 
								
							
								 
							
						 
						
							
							
								
								ffplay: do not cycle through unavailable show modes  
							
							Fixes ticket #2200 .
Signed-off-by: Marton Balint <cus@passwd.hu> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d0c6ed7da0 
								
							
								 
							
						 
						
							
							
								
								ffplay: add option to disable subtitling  
							
							Fixes ticket #2201 .
Signed-off-by: Marton Balint <cus@passwd.hu> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								daece4c674 
								
							
								 
							
						 
						
							
							
								
								ffplay: use NAN to signal invalid external clock  
							
							Signed-off-by: Marton Balint <cus@passwd.hu> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								26c208cf0f 
								
							
								 
							
						 
						
							
							
								
								ffplay: if audio or video clock is invalid return NAN  
							
							This helps us not to make bad decision (frame dropping, audio compensation)
right after seeking when we do not know yet the recent audio or video clock.
Signed-off-by: Marton Balint <cus@passwd.hu> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								38f649662c 
								
							
								 
							
						 
						
							
							
								
								ffplay: allow frame dropping if we redisplay an already displayed frame  
							
							Signed-off-by: Marton Balint <cus@passwd.hu> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								36dc476f83 
								
							
								 
							
						 
						
							
							
								
								ffplay: return true for pictq_prev_picture if it was successful  
							
							Signed-off-by: Marton Balint <cus@passwd.hu> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3070600d9b 
								
							
								 
							
						 
						
							
							
								
								ffplay: only quit from audio_decode_frame before decoding when paused  
							
							This way the audio clock is updated to a proper value even when the video is
paused.
Signed-off-by: Marton Balint <cus@passwd.hu> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								48e43a1999 
								
							
								 
							
						 
						
							
							
								
								ffplay: drop remaining frames in current audio avpacket when seeking  
							
							Fixes ticket #1928 .
Signed-off-by: Marton Balint <cus@passwd.hu> 
							
						 
						12 years ago