[MPlayer-dev-eng] [PATCH] fix mencoder creates bad avi files when recording h264 in ts container from DVB

Attila Kinali attila at kinali.ch
Thu Jul 2 13:37:58 CEST 2009


On Thu, 11 Jun 2009 20:56:03 +0400
vladisslav vladisslav <vladisslav at inbox.ru> wrote:

> Simple patch originally written by Larry Reznick, http://www.mailinglistarchive.com/mplayer-users@mplayerhq.hu/msg09732.html fixes this problem:
> 
> --- r29354/libmpdemux/video.c   2009-05-13 06:58:57.000000000 +0400
> +++ r29354-my/libmpdemux/video.c        2009-06-11 20:30:44.000000000 +0400
> @@ -235,6 +235,8 @@
>       return 0;
>     }
>     h264_parse_sps(&picture, &(videobuffer[pos]), videobuf_len - pos);
> +   sh_video->disp_w=picture.display_picture_width;
> +   sh_video->disp_h=picture.display_picture_height;

Any comments on this patch?
It seems to be trival.

			Attila Kinali



More information about the MPlayer-dev-eng mailing list