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

git version control git at videolan.org
Sat Aug 30 11:48:20 CEST 2008


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Fri Aug 29 10:12:55 2008 +0300| [9f6ce1a4d774becb39c683ab02ccd8a9315e2629] | committer: Ilkka Ollakka 

Set i_aspect after vfilter in transcode

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

 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 55684bf..620a109 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