Fixed warning.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38500 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -746,12 +746,14 @@ AVFormatReader::StreamCookie::GetStreamInfo(int64* frameCount,
|
|||||||
double frameRate = FrameRate();
|
double frameRate = FrameRate();
|
||||||
TRACE(" frameRate: %.4f\n", frameRate);
|
TRACE(" frameRate: %.4f\n", frameRate);
|
||||||
|
|
||||||
|
#if TRACE_AVFORMAT_READER
|
||||||
if (fStream->start_time != kNoPTSValue) {
|
if (fStream->start_time != kNoPTSValue) {
|
||||||
bigtime_t startTime = _ConvertFromStreamTimeBase(fStream->start_time);
|
bigtime_t startTime = _ConvertFromStreamTimeBase(fStream->start_time);
|
||||||
TRACE(" start_time: %lld or %.5fs\n", startTime,
|
TRACE(" start_time: %lld or %.5fs\n", startTime,
|
||||||
startTime / 1000000.0);
|
startTime / 1000000.0);
|
||||||
// TODO: Handle start time in FindKeyFrame()?!
|
// TODO: Handle start time in FindKeyFrame()?!
|
||||||
}
|
}
|
||||||
|
#endif // TRACE_AVFORMAT_READER
|
||||||
|
|
||||||
// TODO: This is obviously not working correctly for all stream types...
|
// TODO: This is obviously not working correctly for all stream types...
|
||||||
// It seems that the calculations here are correct, because they work
|
// It seems that the calculations here are correct, because they work
|
||||||
|
|||||||
Reference in New Issue
Block a user