Mercurial > libavcodec.hg
comparison mpeg12.c @ 2590:4aba13499a91 libavcodec
reinitialize on aspect change,
required for dvb aspect changes
author | iive |
---|---|
date | Sun, 03 Apr 2005 17:34:31 +0000 |
parents | 0afef2899701 |
children | 65874d96c2da |
comparison
equal
deleted
inserted
replaced
2589:a5a62827f195 | 2590:4aba13499a91 |
---|---|
1979 | 1979 |
1980 if ( | 1980 if ( |
1981 (s1->mpeg_enc_ctx_allocated == 0)|| | 1981 (s1->mpeg_enc_ctx_allocated == 0)|| |
1982 avctx->coded_width != s->width || | 1982 avctx->coded_width != s->width || |
1983 avctx->coded_height != s->height|| | 1983 avctx->coded_height != s->height|| |
1984 // s1->save_aspect_info != avctx->aspect_ratio_info|| | 1984 s1->save_aspect_info != s->aspect_ratio_info|| |
1985 0) | 1985 0) |
1986 { | 1986 { |
1987 | 1987 |
1988 if (s1->mpeg_enc_ctx_allocated) { | 1988 if (s1->mpeg_enc_ctx_allocated) { |
1989 MPV_common_end(s); | 1989 MPV_common_end(s); |