aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Input/ffmpeg_legacy
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/Input/ffmpeg_legacy')
-rw-r--r--src/plugins/Input/ffmpeg_legacy/decoder_ffmpeg.cpp6
-rw-r--r--src/plugins/Input/ffmpeg_legacy/decoder_ffmpeg.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/Input/ffmpeg_legacy/decoder_ffmpeg.cpp b/src/plugins/Input/ffmpeg_legacy/decoder_ffmpeg.cpp
index 6b7917c33..022a4b8ae 100644
--- a/src/plugins/Input/ffmpeg_legacy/decoder_ffmpeg.cpp
+++ b/src/plugins/Input/ffmpeg_legacy/decoder_ffmpeg.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2006-2013 by Ilya Kotov *
+ * Copyright (C) 2006-2016 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -252,12 +252,12 @@ bool DecoderFFmpeg::initialize()
}
-qint64 DecoderFFmpeg::totalTime()
+qint64 DecoderFFmpeg::totalTime() const
{
return m_totalTime;
}
-int DecoderFFmpeg::bitrate()
+int DecoderFFmpeg::bitrate() const
{
return m_bitrate;
}
diff --git a/src/plugins/Input/ffmpeg_legacy/decoder_ffmpeg.h b/src/plugins/Input/ffmpeg_legacy/decoder_ffmpeg.h
index b35a82506..cb93a1759 100644
--- a/src/plugins/Input/ffmpeg_legacy/decoder_ffmpeg.h
+++ b/src/plugins/Input/ffmpeg_legacy/decoder_ffmpeg.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2006-2013 by Ilya Kotov *
+ * Copyright (C) 2006-2016 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -44,8 +44,8 @@ public:
// Standard Decoder API
bool initialize();
- qint64 totalTime();
- int bitrate();
+ qint64 totalTime() const;
+ int bitrate() const;
qint64 read(unsigned char *audio, qint64 maxSize);
void seek(qint64 time);