[FFmpeg-devel] [PATCH] libavdevice: JACK demuxer
Fri Feb 27 21:29:32 CET 2009
Luca Abeni wrote:
> I do not comment on the rest of the patch (yet :), but:
> Reimar D?ffinger wrote:
>>> + info.pts = av_gettime() - (latency + cycle_delay) * self->frame_ms;
>> The system time should not be stored anywhere without explicit
>> permission from the user, particularly not as an absolute value.
> This is needed for synchronising the audio with video or other media
> coming from other devices. If it really is a security issue (but in this
> case I do not believe it is) maybe the usual "round the time to ms" can
> be a solution?
I have a simple question here: must the pts be absolute (number of seconds since
the epoch) or can it be relative (for example 0 for the first audio sample).
Luca you already told me it must be absolute, but I still have doubts about this.
More information about the ffmpeg-devel