File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ class AvExport AudioFrameDesc
31
31
32
32
size_t getSampleRate () const { return _sampleRate; }
33
33
size_t getChannels () const { return _channels; }
34
- size_t getFps () const { return _fps; }
34
+ double getFps () const { return _fps; }
35
35
AVSampleFormat getSampleFormat () const { return _sampleFormat; }
36
36
std::string getSampleFormatName () const
37
37
{
@@ -53,7 +53,7 @@ class AvExport AudioFrameDesc
53
53
54
54
void setSampleRate ( const size_t sampleRate ) { _sampleRate = sampleRate; }
55
55
void setChannels ( const size_t channels ) { _channels = channels; }
56
- void setFps ( const size_t fps ) { _fps = fps; }
56
+ void setFps ( const double fps ) { _fps = fps; }
57
57
void setSampleFormat ( const std::string& sampleFormatName ) { _sampleFormat = av_get_sample_fmt ( sampleFormatName.c_str () ); }
58
58
void setSampleFormat ( const AVSampleFormat sampleFormat ) { _sampleFormat = sampleFormat; }
59
59
You can’t perform that action at this time.
0 commit comments