Commit 4953db85 authored by Ilkka Ollakka's avatar Ilkka Ollakka

Revert "avcodec: initialize fmt_in.video.i_aspect to 0"

this seems to break ar-changes alltogether, lets try again
This reverts commit 9810e995.
parent 9810e995
...@@ -335,7 +335,6 @@ int InitVideoDec( decoder_t *p_dec, AVCodecContext *p_context, ...@@ -335,7 +335,6 @@ int InitVideoDec( decoder_t *p_dec, AVCodecContext *p_context,
/* Set output properties */ /* Set output properties */
p_dec->fmt_out.i_cat = VIDEO_ES; p_dec->fmt_out.i_cat = VIDEO_ES;
p_dec->fmt_in.video.i_aspect = 0;
if( GetVlcChroma( &p_dec->fmt_out.video, p_context->pix_fmt ) != VLC_SUCCESS ) if( GetVlcChroma( &p_dec->fmt_out.video, p_context->pix_fmt ) != VLC_SUCCESS )
{ {
/* we are doomed. but not really, because most codecs set their pix_fmt later on */ /* we are doomed. but not really, because most codecs set their pix_fmt later on */
......
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