From 6e2695947d69dde82b16d289d1f0dbd812b316e4 Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier Date: Mon, 6 Mar 2006 22:15:43 +0000 Subject: [PATCH] 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){ -- 2.7.4