summaryrefslogtreecommitdiff
path: root/contrib/vdr2jpeg/ffm.cpp
diff options
context:
space:
mode:
authorAndreas Brachold <vdr07@deltab.de>2008-10-09 16:32:01 +0000
committerAndreas Brachold <vdr07@deltab.de>2008-10-09 16:32:01 +0000
commiteaf39938d2ca89251254f6ee8cc8516e9fbe8e85 (patch)
tree5636487549635b2f40b71b3b8e7cfcc9c718e94b /contrib/vdr2jpeg/ffm.cpp
parent9d2c422e1a3ee274be76d0021f35a9b344e90881 (diff)
downloadxxv-eaf39938d2ca89251254f6ee8cc8516e9fbe8e85.tar.gz
xxv-eaf39938d2ca89251254f6ee8cc8516e9fbe8e85.tar.bz2
* update to build with ffmpeg-svn (r15589)
Diffstat (limited to 'contrib/vdr2jpeg/ffm.cpp')
-rw-r--r--contrib/vdr2jpeg/ffm.cpp1
1 files changed, 1 insertions, 0 deletions
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;