[haiku-commits] r38500 - haiku/trunk/src/add-ons/media/plugins/ffmpeg

  • From: superstippi@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 1 Sep 2010 19:53:00 +0200 (CEST)

Author: stippi
Date: 2010-09-01 19:53:00 +0200 (Wed, 01 Sep 2010)
New Revision: 38500
Changeset: http://dev.haiku-os.org/changeset/38500

Modified:
   haiku/trunk/src/add-ons/media/plugins/ffmpeg/AVFormatReader.cpp
Log:
Fixed warning.


Modified: haiku/trunk/src/add-ons/media/plugins/ffmpeg/AVFormatReader.cpp
===================================================================
--- haiku/trunk/src/add-ons/media/plugins/ffmpeg/AVFormatReader.cpp     
2010-09-01 17:29:32 UTC (rev 38499)
+++ haiku/trunk/src/add-ons/media/plugins/ffmpeg/AVFormatReader.cpp     
2010-09-01 17:53:00 UTC (rev 38500)
@@ -746,12 +746,14 @@
        double frameRate = FrameRate();
        TRACE("  frameRate: %.4f\n", frameRate);
 
+       #if TRACE_AVFORMAT_READER
        if (fStream->start_time != kNoPTSValue) {
                bigtime_t startTime = 
_ConvertFromStreamTimeBase(fStream->start_time);
                TRACE("  start_time: %lld or %.5fs\n", startTime,
                        startTime / 1000000.0);
                // TODO: Handle start time in FindKeyFrame()?!
        }
+       #endif // TRACE_AVFORMAT_READER
 
        // TODO: This is obviously not working correctly for all stream types...
        // It seems that the calculations here are correct, because they work


Other related posts:

  • » [haiku-commits] r38500 - haiku/trunk/src/add-ons/media/plugins/ffmpeg - superstippi