Browse Source

ffplay: fix frame aspect ratio after qatar merge

Signed-off-by: Marton Balint <cus@passwd.hu>
tags/n1.0
Marton Balint 13 years ago
parent
commit
0a501c756f
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      ffplay.c

+ 1
- 0
ffplay.c View File

@@ -1699,6 +1699,7 @@ static int video_thread(void *arg)
} }


frame->pts = pts_int; frame->pts = pts_int;
frame->sample_aspect_ratio = av_guess_sample_aspect_ratio(is->ic, is->video_st, frame);
if (is->use_dr1) { if (is->use_dr1) {
FrameBuffer *buf = frame->opaque; FrameBuffer *buf = frame->opaque;
AVFilterBufferRef *fb = avfilter_get_video_buffer_ref_from_arrays( AVFilterBufferRef *fb = avfilter_get_video_buffer_ref_from_arrays(


Loading…
Cancel
Save