# HG changeset patch # User michael # Date 1141683343 0 # Node ID 76287fba65ff69560f1f7481b0580376b78ac853 # Parent ea685f7f9ba7d5a6c72e342129aa1f9d8e320fb9 set track timescale to mov timescale if 0 patch by (Baptiste COUDURIER time_rate) sc->time_rate=1; + if(!sc->time_scale) + sc->time_scale= mov->time_scale; av_set_pts_info(s->streams[i], 64, sc->time_rate, sc->time_scale); if(s->streams[i]->duration != AV_NOPTS_VALUE){