[MPlayer-dev-eng] [PATCH]Fix -demuxer mpegts -vc ffh264vdpau
compn
tempn at twmi.rr.com
Sun Nov 15 17:04:56 CET 2009
On Sun, 15 Nov 2009 15:17:12 +0100 (CET), Carl Eugen Hoyos wrote:
>
>Hi!
>
>Attached patch fixes using the native demuxer and -vc ffh264vdpau when
>playing MPEG transport streams.
>--- 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);
did you test this with samples that have res changes?
-compn
More information about the MPlayer-dev-eng
mailing list