[MPlayer-dev-eng] [PATCH]Fix -demuxer mpegts -vc ffh264vdpau

Carl Eugen Hoyos cehoyos at rainbow.studorg.tuwien.ac.at
Sun Nov 15 15:17:12 CET 2009


Hi!

Attached patch fixes using the native demuxer and -vc ffh264vdpau when 
playing MPEG transport streams.

Please comment, Carl Eugen
-------------- next part --------------
Index: libmpdemux/video.c
===================================================================
--- libmpdemux/video.c	(revision 29912)
+++ libmpdemux/video.c	(working copy)
@@ -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;
    mp_msg(MSGT_DECVIDEO,MSGL_V,"Searching for picture parameter set... ");
    while(1){
       int i=sync_video_packet(d_video);


More information about the MPlayer-dev-eng mailing list