[FFmpeg-cvslog] ffplay: fix -vismv 1
Michael Niedermayer
git at videolan.org
Sun Jun 17 23:50:32 CEST 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Jun 17 20:56:30 2012 +0200| [db835708757462539ce6c5180ad1c07dbfdd5425] | committer: Marton Balint
ffplay: fix -vismv 1
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
Signed-off-by: Marton Balint <cus at passwd.hu>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=db835708757462539ce6c5180ad1c07dbfdd5425
---
ffplay.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ffplay.c b/ffplay.c
index 47e4b84..55c7825 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -1699,7 +1699,7 @@ static int video_thread(void *arg)
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 && frame->opaque) {
FrameBuffer *buf = frame->opaque;
AVFilterBufferRef *fb = avfilter_get_video_buffer_ref_from_arrays(
frame->data, frame->linesize,
More information about the ffmpeg-cvslog
mailing list