- 28 Nov, 2012 3 commits
-
-
Marton Balint authored
Partially fixes ticket #1707. A-V sync still needs some work after seeking... Signed-off-by: Marton Balint <cus@passwd.hu>
-
Marton Balint authored
Now it should work for the timestamp based and the byte based case as well. Also only update the external clock if the seeking was successful. Signed-off-by: Marton Balint <cus@passwd.hu>
-
Marton Balint authored
In timestamp based seeking we update the external clock to the seek target, therefore we should use sane timestamps even if libavformat could handle seeking before the start of the file. Signed-off-by: Marton Balint <cus@passwd.hu>
-
- 04 Nov, 2012 1 commit
-
-
Marton Balint authored
This provides a means to synchronize the player clock to the clock of the encoder. Signed-off-by: Marton Balint <cus@passwd.hu>
-
- 01 Nov, 2012 8 commits
-
-
Marton Balint authored
Signed-off-by: Marton Balint <cus@passwd.hu>
-
Marton Balint authored
Fixes Coverity CID 733793. Signed-off-by: Marton Balint <cus@passwd.hu>
-
Marton Balint authored
Fixes Coverity CID 733792. Signed-off-by: Marton Balint <cus@passwd.hu>
-
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
Fixes Coverity CID 733791. Signed-off-by: Marton Balint <cus@passwd.hu>
-
Marton Balint authored
Should fix ticket #1667. Signed-off-by: Marton Balint <cus@passwd.hu>
-
Marton Balint authored
Signed-off-by: Marton Balint <cus@passwd.hu>
-
- 21 Oct, 2012 9 commits
-
-
Marton Balint authored
Otherwise playing the video could be much slower than realtime if the system can't decode or display the frames fast enough. Signed-off-by: Marton Balint <cus@passwd.hu>
-
Marton Balint authored
We should make decisions based on the real sync type. This also simplifies the code. Signed-off-by: Marton Balint <cus@passwd.hu>
-
Marton Balint authored
The real av_sync_type may be different to VideoState->av_sync_type, because the required audio or video stream for audio or video clock may not be available. We will use a function to query the real av_sync_type which is used for determining the master clock. Signed-off-by: Marton Balint <cus@passwd.hu>
-
Marton Balint authored
This way we avoid updating the external clocks with timestamps beloging to frames before seek. Signed-off-by: Marton Balint <cus@passwd.hu>
-
Marton Balint authored
The purpose of the serial field is to accompany the decoded data during the decoding process to know if the decoded data belongs to the data stream after the latest packet queue flush. Signed-off-by: Marton Balint <cus@passwd.hu>
-
Marton Balint authored
We now initalize the external clock to 0 and, we use the system clock to regulate the timings of audio and video in external clock sync mode. We recover from external clock sync loss, when the delay to external clock is bigger than AV_NOSYNC_THRESHOLD. Signed-off-by: Marton Balint <cus@passwd.hu>
-
Marton Balint authored
This makes sensible audio and video clock values even before displaying the first frame. Signed-off-by: Marton Balint <cus@passwd.hu>
-
Marton Balint authored
Signed-off-by: Marton Balint <cus@passwd.hu>
-
Marton Balint authored
When using external sync, framedrop is perfectly fine. Signed-off-by: Marton Balint <cus@passwd.hu>
-
- 14 Oct, 2012 1 commit
-
-
Michael Niedermayer authored
0/0 fails to be parsed Fixes Ticket1814 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 13 Oct, 2012 1 commit
-
-
Michael Niedermayer authored
Based on commit by Justin Ruggles (the changed code is too different to apply as is) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 04 Oct, 2012 2 commits
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 16 Sep, 2012 1 commit
-
-
Marton Balint authored
Also signal the wait if audio buffer is empty. This fixes jerky audio with realtime sources. Signed-off-by: Marton Balint <cus@passwd.hu>
-
- 15 Sep, 2012 1 commit
-
-
Nicolas George authored
-
- 11 Sep, 2012 5 commits
-
-
Marton Balint authored
A decoded and resampled audio frame may not fit in the current size which is not handled by the current code causing out of order waveform displays or even channel mixups. A todo is added because this part can certainly be improved to consume less memory but work reliably for any frame size. Signed-off-by: Marton Balint <cus@passwd.hu>
-
Marton Balint authored
It was theoretically possible for pictq_prev_picture to fill the picture queue which may have caused problems when a write to the queue was still in progress. Signed-off-by: Marton Balint <cus@passwd.hu>
-
Marton Balint authored
This also makes sure the aspect ratio of the picture is set before allocating the picture, this way video_open can calculate with the correct aspect ratio even for the first frame. Signed-off-by: Marton Balint <cus@passwd.hu>
-
Marton Balint authored
Fixes ticket #291. Signed-off-by: Marton Balint <cus@passwd.hu>
-
Marton Balint authored
Signed-off-by: Marton Balint <cus@passwd.hu>
-
- 01 Sep, 2012 1 commit
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 31 Aug, 2012 5 commits
-
-
Marton Balint authored
Freeing it in the end of the video thread is not a good idea, because we still may need the filter names for the next video thread, in order to apply the filters after chaning the video stream. Signed-off-by: Marton Balint <cus@passwd.hu>
-
Marton Balint authored
When the audio queue was empty, it was not filled until the 10ms delay expired in the read thread. This patch changes the delay method with a condition wait, which reacts to an empty queue a lot faster, therefore the audio buffer underruns become less common especially after seeking. Signed-off-by: Marton Balint <cus@passwd.hu>
-
Marton Balint authored
Fixes ticket #1609. Signed-off-by: Marton Balint <cus@passwd.hu>
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 26 Aug, 2012 1 commit
-
-
Marton Balint authored
Should fix issue #1322. Signed-off-by: Marton Balint <cus@passwd.hu> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 18 Aug, 2012 1 commit
-
-
Stefano Sabatini authored
Address trac ticket #1599.
-