[android-developers] Re: seeking with av_seek_frame or url_seek

2011-04-22 Thread omfarka
emymrin, do you know any idea about calculating iNewPosition? How can we get that value? On Apr 22, 10:26 pm, emymrin wrote: > I guess new position must be expressed in stream time units: > > // iNewPosition is in seconds > int64_t timeStamp = iNewPosition * > pFormatCtx->streams[iStreamIndex]->

[android-developers] Re: seeking with av_seek_frame or url_seek

2011-04-22 Thread omfarka
hello emymrin how can we calculate inewposition value, do you have any suggestion? On Apr 22, 10:26 pm, emymrin wrote: > I guess new position must be expressed in stream time units: > > // iNewPosition is in seconds > int64_t timeStamp = iNewPosition * > pFormatCtx->streams[iStreamIndex]->time_