[vlc-devel] commit: Revert "avcodec: initialize fmt_in.video.i_aspect to 0" ( Ilkka Ollakka )
git version control
git at videolan.org
Tue Oct 6 23:28:35 CEST 2009
vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Wed Oct 7 00:26:25 2009 +0300| [4953db85b7dd7ca32ec8ef115676af0486857eca] | committer: 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 9810e995c431a150894fb2fa164dd66635e9cc8f.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4953db85b7dd7ca32ec8ef115676af0486857eca
---
modules/codec/avcodec/video.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/modules/codec/avcodec/video.c b/modules/codec/avcodec/video.c
index 8152771..13b0dba 100644
--- a/modules/codec/avcodec/video.c
+++ b/modules/codec/avcodec/video.c
@@ -335,7 +335,6 @@ int InitVideoDec( decoder_t *p_dec, AVCodecContext *p_context,
/* Set output properties */
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 )
{
/* we are doomed. but not really, because most codecs set their pix_fmt later on */
More information about the vlc-devel
mailing list