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

Diego Biurrun diego at biurrun.de
Thu Jul 2 13:40:20 CEST 2009


On Thu, Jul 02, 2009 at 01:37:58PM +0200, Attila Kinali wrote:
> 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.

Well, if you are confident and tested it thoroughly, apply..

Diego



More information about the MPlayer-dev-eng mailing list