[MPlayer-dev-eng] [PATCH] packet pts as ASS start time

Evgeniy Stepanov eugeni.stepanov at gmail.com
Sun Sep 14 20:20:26 CEST 2008


On Sunday 14 September 2008 21:55:16 Aurelien Jacobs wrote:
> Attached patch adds ability for the demuxers to override the ASS events
> start time with the pts read from the container when sending new ASS
> event with ass_process_data().

Well, what about duration? Are you going to read start pts from 
demux_packet_t::pts and end pts from the packet data?

Anyway, it is better to return the index of the new event from 
ass_process_data and ass_process_chunk, and override any field in the calling 
function.




More information about the MPlayer-dev-eng mailing list