@@ -176,36 +176,36 @@ namespace openshot
176176 void ChangeMapping (Fraction target_fps, PulldownType pulldown, int target_sample_rate, int target_channels, ChannelLayout target_channel_layout);
177177
178178 // / Close the openshot::FrameMapper and internal reader
179- void Close ();
179+ void Close () override ;
180180
181181 // / Get a frame based on the target frame rate and the new frame number of a frame
182182 MappedFrame GetMappedFrame (int64_t TargetFrameNumber);
183183
184184 // / Get the cache object used by this reader
185- CacheMemory* GetCache () { return &final_cache; };
185+ CacheMemory* GetCache () override { return &final_cache; };
186186
187187 // / @brief This method is required for all derived classes of ReaderBase, and return the
188188 // / openshot::Frame object, which contains the image and audio information for that
189189 // / frame of video.
190190 // /
191191 // / @returns The requested frame of video
192192 // / @param requested_frame The frame number that is requested.
193- std::shared_ptr<Frame> GetFrame (int64_t requested_frame);
193+ std::shared_ptr<Frame> GetFrame (int64_t requested_frame) override ;
194194
195195 // / Determine if reader is open or closed
196- bool IsOpen ();
196+ bool IsOpen () override ;
197197
198198 // / Return the type name of the class
199- std::string Name () { return " FrameMapper" ; };
199+ std::string Name () override { return " FrameMapper" ; };
200200
201201 // / Get and Set JSON methods
202202 std::string Json () const override ; // /< Generate JSON string of this object
203- void SetJson (const std::string value); // /< Load JSON string into this object
203+ void SetJson (const std::string value) override ; // /< Load JSON string into this object
204204 Json::Value JsonValue () const override ; // /< Generate Json::Value for this object
205- void SetJsonValue (const Json::Value root); // /< Load Json::Value into this object
205+ void SetJsonValue (const Json::Value root) override ; // /< Load Json::Value into this object
206206
207207 // / Open the internal reader
208- void Open ();
208+ void Open () override ;
209209
210210 // / Print all of the original frames and which new frames they map to
211211 void PrintMapping ();
0 commit comments