]> git.sesse.net Git - vlc/commitdiff
fixed aspect ratio calculation when deinterlace->discard is used
authorMarian Durkovic <md@videolan.org>
Wed, 26 Oct 2005 07:05:06 +0000 (07:05 +0000)
committerMarian Durkovic <md@videolan.org>
Wed, 26 Oct 2005 07:05:06 +0000 (07:05 +0000)
modules/video_filter/deinterlace.c

index e6ea85e7011d9401c5f2cba8a6bb51f582feee56..083d57e367921f444532ef515cfa043d432eb1f0 100644 (file)
@@ -371,7 +371,7 @@ static vout_thread_t *SpawnRealVout( vout_thread_t *p_vout )
         case DEINTERLACE_MEAN:
         case DEINTERLACE_DISCARD:
             fmt.i_height /= 2; fmt.i_visible_height /= 2; fmt.i_y_offset /= 2;
-            fmt.i_aspect /= 2; fmt.i_sar_den *= 2;
+            fmt.i_sar_den *= 2;
             p_real_vout = vout_Create( p_vout, &fmt );
             break;