ffplay external_clock

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

ffplay external_clock

Terleira Irazábal, Enrique
In ffplay.c there is a function;

/* get the current external clock value */
static double get_external_clock(VideoState *is)
    int64_t ti;
    ti = av_gettime();
    return is->external_clock + ((ti - is->external_clock_time) * 1e-6);

External_clock and external_clock_time are never set only
read. Is the code correct, and am i just missing something, or is this a
bug ?

Also, if I set av_sync_type to AV_SYNC_EXTERNAL_CLOCK, I can't seek while playing. If I try to, the program crashes.

- Enrique

ffmpeg-user mailing list
[hidden email]