[vlc-devel] commit: Set i_aspect after vfilter in transcode (Ilkka Ollakka )

git version control git at videolan.org
Sun Aug 31 15:17:28 CEST 2008


vlc | branch: 0.9-bugfix | Ilkka Ollakka <ileoo at videolan.org> | Fri Aug 29 10:12:55 2008 +0300| [f488df653c288fdf34026720111681a94bc2840b] | committer: Antoine Cellerier 

Set i_aspect after vfilter in transcode
(cherry picked from commit 9f6ce1a4d774becb39c683ab02ccd8a9315e2629)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f488df653c288fdf34026720111681a94bc2840b
---

 modules/stream_out/transcode.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules/stream_out/transcode.c b/modules/stream_out/transcode.c
index 1c417c8..7290b60 100644
--- a/modules/stream_out/transcode.c
+++ b/modules/stream_out/transcode.c
@@ -1949,6 +1949,8 @@ static int transcode_video_process( sout_stream_t *p_stream,
                     id->p_encoder->fmt_in.video.i_width;
                 id->p_encoder->fmt_out.video.i_height =
                     id->p_encoder->fmt_in.video.i_height;
+                id->p_encoder->fmt_out.video.i_aspect =
+                    id->p_encoder->fmt_in.video.i_aspect;
             }
 
             if( transcode_video_encoder_open( p_stream, id ) != VLC_SUCCESS )




More information about the vlc-devel mailing list