- 15 Jan, 2012 1 commit
-
-
Stefano Sabatini authored
Fix gcc warning: ffplay.c: In function ‘toggle_full_screen’: ffplay.c:2792:9: warning: unused variable ‘i’ [-Wunused-variable]
-
- 11 Jan, 2012 2 commits
-
-
Marton Balint authored
Otherwise the audio channels sometimes would be shifted on output. Signed-off-by: Marton Balint <cus@passwd.hu>
-
Marton Balint authored
Also change synchronize_audio to only calculate the wanted number of samples instead of doing the actual synchronization, and make swr_convert handle the sample addition or deletion. This new method replaces the old buggy way which simply deleted or multiplied samples. Signed-off-by: Marton Balint <cus@passwd.hu>
-
- 09 Jan, 2012 1 commit
-
-
Michael Niedermayer authored
This allows to get out of ffplay if it or SDL got stuck. This for example happens when the audio driver is playing something else and doesnt support mixing multiple sources. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Marton Balint <cus@passwd.hu>
-
- 07 Jan, 2012 1 commit
-
-
Stefano Sabatini authored
Avoid printing on stdout when show_usage is used in an error message.
-
- 05 Jan, 2012 2 commits
-
-
Marton Balint authored
Signed-off-by: Marton Balint <cus@passwd.hu>
-
Marton Balint authored
Fixes ticket #838. Signed-off-by: Marton Balint <cus@passwd.hu>
-
- 27 Dec, 2011 1 commit
-
-
Stefano Sabatini authored
-
- 20 Dec, 2011 1 commit
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 19 Dec, 2011 1 commit
-
-
Marton Balint authored
Signed-off-by: Marton Balint <cus@passwd.hu>
-
- 14 Dec, 2011 4 commits
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Marton Balint <cus@passwd.hu>
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Marton Balint <cus@passwd.hu>
-
Panagiotis H.M. Issaris authored
Signed-off-by: Marton Balint <cus@passwd.hu>
-
Marton Balint authored
Fixes ticket #736. Based on the patch by glangshaw. Signed-off-by: Marton Balint <cus@passwd.hu>
-
- 13 Dec, 2011 1 commit
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 11 Dec, 2011 1 commit
-
-
Hanspeter Niederstrasser authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 05 Dec, 2011 1 commit
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 01 Dec, 2011 1 commit
-
-
Michael Niedermayer authored
ffplay: Copy audio side data too. This fixes handling of some rare nellymoser files that change the sample rate mid stream (sample file at: http://trac.videolan.org/vlc/ticket/5586) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Marton Balint <cus@passwd.hu>
-
- 27 Nov, 2011 1 commit
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 21 Nov, 2011 1 commit
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Marton Balint <cus@passwd.hu>
-
- 17 Nov, 2011 2 commits
-
-
Clément Bœsch authored
-
Clément Bœsch authored
-
- 11 Nov, 2011 1 commit
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 08 Nov, 2011 1 commit
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Marton Balint <cus@passwd.hu>
-
- 04 Nov, 2011 2 commits
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Marton Balint <cus@passwd.hu>
-
Clément Bœsch authored
Based on an initial work by Baptiste Coudurier.
-
- 31 Oct, 2011 1 commit
-
-
Michael Niedermayer authored
This reverts commit 2f642393.
-
- 24 Oct, 2011 3 commits
-
-
Marton Balint authored
Signed-off-by: Marton Balint <cus@passwd.hu>
-
Marton Balint authored
Signed-off-by: Marton Balint <cus@passwd.hu>
-
Marton Balint authored
This patch reimplements early frame drop, it is now based on the current difference between the master clock and the video clock, and the pts of the current and the last displayed (or skipped) frame. If the frame to be added to the queue is late after decoding, then we drop it early because later we would drop it anyway (unless it is the only frame in the picture queue). The current approach has only one downside that I know of, it does not handle well when the filters are changing significantly the pts of the frames, because we compare pts values from filtered and unfiltered frames. We also start using the pictq_mutex to ensure consistent video_current_pts, video_current_pts_drift, frame_last_pts, frame_last_dropped_pts and frame_last_dropped_pos values. Signed-off-by: Marton Balint <cus@passwd.hu>
-
- 20 Oct, 2011 1 commit
-
-
Marton Balint authored
Fixes missing blue channel when switching from/to fullscren on OSX and libsdl 1.2.14. Fixes issue 548. Thanks for Jean First for the original patch and for testing. Signed-off-by: Marton Balint <cus@passwd.hu>
-
- 16 Oct, 2011 4 commits
-
-
Jean First authored
Signed-off-by: Marton Balint <cus@passwd.hu>
-
Marton Balint authored
If the picture queue is empty, or when the calculated delay is 0, frame_timer is not increased but we are still displaying the old frame. When we eventually get a frame, where the computed delay is positive, so we don't need to drop any more frames, then it is best to update frame_timer to be as near as the current time as it can. This way we dont't have to wait several frames to add the necesarry delays to frame_timer to reach current time, therefore there are no extra frame drops after reaching a positive delay. Signed-off-by: Marton Balint <cus@passwd.hu>
-
Marton Balint authored
The current impementation of early frame drops (dropping frames before adding them to the picture queue) has multiple problems: Even after gettin A-V sync, the frame droping continues until VideoState->skip_frames reaches 1, which can take a lot of time causing useless additional frame drops and bad AV-sync. This issue can be easily triggered with for example changing the audio stream. Also video_refresh currenly does not handle early skipped frames in every case, for example if we skip a frame, then the last frame duration calculation will compute the duration of the sum of the skipped frame and the duration of the frame before that, and in compute_target_delay we may multiply this unusually big delay. Signed-off-by: Marton Balint <cus@passwd.hu>
-
Marton Balint authored
Since target clock is based on the current A-V delay, it is better calculate it when we actually need it rather than when we put a picture in the picture queue. The patch also makes a code a bit more readable by renaming some delay variables to duration, and converting compute_target_time to a delay calculating function which does not modify the state. Factoring out the iteration of the pictq to standalone function is also done in this patch. Signed-off-by: Marton Balint <cus@passwd.hu>
-
- 02 Oct, 2011 4 commits
-
-
Marton Balint authored
Previously ffplay expected SDL_AudioOpen to provide the requested sample rate and channel number. This is no longer a requirement because this patch replaces the audio convert function with libswresample's swr_convert which is capable of handling different sample formats, sample rates and different number of channels and different channel layouts. The patch also removes the hardcoded 16bit samples assumption and uses av_get_bytes_per_sample almost everywhere. The only exceptions are the update_sample_display and video_audio_display functions, it seemed too much of a headache to make them generic. We also fix a tiny bug in sdl_audio_callback, we ensure that the number of bytes when we put silence in the buffer is a multiple of the frame size.
-
Marton Balint authored
-
Marton Balint authored
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 28 Sep, 2011 1 commit
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-