From eaf39938d2ca89251254f6ee8cc8516e9fbe8e85 Mon Sep 17 00:00:00 2001 From: Andreas Brachold Date: Thu, 9 Oct 2008 16:32:01 +0000 Subject: * update to build with ffmpeg-svn (r15589) --- contrib/vdr2jpeg/ffm.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'contrib/vdr2jpeg/ffm.cpp') diff --git a/contrib/vdr2jpeg/ffm.cpp b/contrib/vdr2jpeg/ffm.cpp index 348ef7f..d52cf36 100644 --- a/contrib/vdr2jpeg/ffm.cpp +++ b/contrib/vdr2jpeg/ffm.cpp @@ -1130,6 +1130,7 @@ static bool new_video_stream(AVFormatContext *oc) video_enc->sample_aspect_ratio = av_d2q(frame_aspect_ratio*video_enc->height/video_enc->width, 255); video_enc->pix_fmt = frame_pix_fmt; + st->sample_aspect_ratio = video_enc->sample_aspect_ratio; if(codec && codec->pix_fmts){ const enum PixelFormat *p= codec->pix_fmts; -- cgit v1.2.3