[FFmpeg-devel] [PATCH] FFplay speedup if stepping whilst paused
Michael Niedermayer
michaelni
Sun Aug 26 13:15:08 CEST 2007
Hi
On Sun, Aug 26, 2007 at 11:45:22AM +0200, Stefano Sabatini wrote:
[...]
> Since Craig does not seem to come back with a new patch I've done
> that.
>
> I simply removed the line:
> cur_stream->video_current_pts = get_video_clock(cur_stream);
>
> since that is already done in stream_pause(), as suggested by Michael.
>
> BTW the patch should be attributed anyway to Craig in the commit
> message.
[...]
> Index: ffplay.c
> ===================================================================
> --- ffplay.c (revision 10230)
> +++ ffplay.c (working copy)
> @@ -2196,9 +2196,9 @@
> static void step_to_next_frame(void)
> {
> if (cur_stream) {
> - if (cur_stream->paused)
[...]
> + if (cur_stream->paused)
no
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
While the State exists there can be no freedom; when there is freedom there
will be no State. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070826/5de553cb/attachment.pgp>
More information about the ffmpeg-devel
mailing list