[FFmpeg-devel] [PATCH 2/5] ffplay: Restore -drp 0/1 behavior after last commit

Alexander Strange astrange
Mon Sep 13 05:05:13 CEST 2010


On Tue, Jul 27, 2010 at 8:59 AM, Michael Niedermayer <michaelni at gmx.at> wrote:
> 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.

Done and included in previous patch.



More information about the ffmpeg-devel mailing list