Commit 71b13565 authored by Marian Durkovic's avatar Marian Durkovic

fixed aspect ratio calculation when deinterlace->discard is used

parent afd4e73c
...@@ -371,7 +371,7 @@ static vout_thread_t *SpawnRealVout( vout_thread_t *p_vout ) ...@@ -371,7 +371,7 @@ static vout_thread_t *SpawnRealVout( vout_thread_t *p_vout )
case DEINTERLACE_MEAN: case DEINTERLACE_MEAN:
case DEINTERLACE_DISCARD: case DEINTERLACE_DISCARD:
fmt.i_height /= 2; fmt.i_visible_height /= 2; fmt.i_y_offset /= 2; 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 ); p_real_vout = vout_Create( p_vout, &fmt );
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment