[MPlayer-dev-eng] [PATCH] update dwScale/dwRate when fps changes

Nico Sabbi nsabbi at tiscali.it
Wed Apr 20 20:00:34 CEST 2005


This patch updates the values of mux_v->dwScale and mux_v->dwRate when 
fps changes
(e.g. telecined mpeg2) and updates the muxer_stream's timer accordingly.
When saving mpeg files, this patch permits to auto-sync variable fps 
content as well as
constant fps (that is unaffected), but I'm not sure how these updates 
affect other muxers,
so comment please.

    Nico
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mux.diff
Type: text/x-patch
Size: 2081 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20050420/2b6f7fc7/attachment.bin>


More information about the MPlayer-dev-eng mailing list