[FFmpeg-cvslog] r15457 - trunk/ffmpeg.c

aurel subversion
Mon Sep 29 01:24:32 CEST 2008


Author: aurel
Date: Mon Sep 29 01:24:32 2008
New Revision: 15457

Log:
set video_enc->sample_aspect_ratio to fix stream copy
patch by Wolfram Gloger  wmglo _at_ dent.med.uni-muenchen _dot_ de


Modified:
   trunk/ffmpeg.c

Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c	(original)
+++ trunk/ffmpeg.c	Mon Sep 29 01:24:32 2008
@@ -2972,6 +2972,7 @@ static void new_video_stream(AVFormatCon
     if (video_stream_copy) {
         st->stream_copy = 1;
         video_enc->codec_type = CODEC_TYPE_VIDEO;
+        video_enc->sample_aspect_ratio =
         st->sample_aspect_ratio = av_d2q(frame_aspect_ratio*frame_height/frame_width, 255);
     } else {
         const char *p;




More information about the ffmpeg-cvslog mailing list