transcode: Fix a typo about scale.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Fri, 16 May 2008 15:42:40 +0000 (17:42 +0200)
committerJean-Paul Saman <jpsaman@videolan.org>
Sat, 17 May 2008 08:38:19 +0000 (10:38 +0200)
Signed-off-by: Jean-Paul Saman <jpsaman@videolan.org>
modules/stream_out/transcode.c

index 7ed39ad..3847bae 100644 (file)
@@ -2268,9 +2268,9 @@ static int transcode_video_process( sout_stream_t *p_stream,
             if( ( id->p_decoder->fmt_out.video.i_chroma !=
                   id->p_encoder->fmt_in.video.i_chroma ) ||
                 ( id->p_decoder->fmt_out.video.i_width !=
-                  id->p_encoder->fmt_out.video.i_width ) ||
+                  id->p_encoder->fmt_in.video.i_width ) ||
                 ( id->p_decoder->fmt_out.video.i_height !=
-                  id->p_encoder->fmt_out.video.i_height ) )
+                  id->p_encoder->fmt_in.video.i_height ) )
             {
                 id->pp_filter[id->i_filter] =
                     transcode_video_filter_new( p_stream,