[FFmpeg-devel] [PATCH 2/5] ffplay: Restore -drp 0/1 behavior after last commit
Michael Niedermayer
michaelni
Tue Jul 27 14:59:26 CEST 2010
On Mon, Jul 26, 2010 at 01:16:07PM -0700, Alexander Strange wrote:
> ---
> ffplay.c | 8 +++++++-
> 1 files changed, 7 insertions(+), 1 deletions(-)
>
> diff --git a/ffplay.c b/ffplay.c
> index e352392..b48611a 100644
> --- a/ffplay.c
> +++ b/ffplay.c
> @@ -1512,7 +1512,13 @@ static int get_video_frame(VideoState *is, AVFrame *frame, int64_t *pts, AVPacke
> pkt);
>
> if (got_picture) {
> - *pts = guess_correct_pts(&is->pts_ctx, frame->reordered_opaque, pkt->dts);
> + if (decoder_reorder_pts == -1)
> + *pts = guess_correct_pts(&is->pts_ctx, frame->reordered_opaque, pkt->dts);
> + else if (decoder_reorder_pts)
> + *pts = frame->reordered_opaque;
> + else
missing {}
and a patchseries should be a bit more cleaned up than still containing
bugs and subsequent bugfixes seperated.
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Breaking DRM is a little like attempting to break through a door even
though the window is wide open and the only thing in the house is a bunch
of things you dont want and which you would get tomorrow for free anyway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100727/72954e8c/attachment.pgp>
More information about the ffmpeg-devel
mailing list