[FFmpeg-devel] [PATCH] pgsdec: export base video size

Reimar Döffinger Reimar.Doeffinger
Sun Aug 8 18:45:37 CEST 2010


Hello,
this patch would make the PGS decoder export the
"presentation video size" (i.e. the video dimensions
the coordinates are based on) in the AVCodecContext.
Not sure if it's that great, but it seems to work
fine in my quick testing hack for it in MPlayer.
It also has the probably purely theoretical advantage
that if those values are for some reason 0 in the
file, the decoder will use any defaults set by the user.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgswh.diff
Type: text/x-diff
Size: 1961 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100808/9e236739/attachment.diff>



More information about the ffmpeg-devel mailing list