File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ bool ofBaseVideoPlayer::load(const of::filesystem::path & fileName){
5353}
5454
5555// ---------------------------------------------------------------------------
56- bool ofBaseVideoPlayer::load (const std::string & fileName){
56+ bool ofBaseVideoPlayer::load (std::string fileName){
5757 ofLogError (" ofBaseVideoPlayer" ) << " One of the two load functions need to be implemented " ;
5858 return false ;
5959}
@@ -64,7 +64,7 @@ void ofBaseVideoPlayer::loadAsync(const of::filesystem::path & fileName){
6464}
6565
6666// ---------------------------------------------------------------------------
67- void ofBaseVideoPlayer::loadAsync (const std::string & fileName){
67+ void ofBaseVideoPlayer::loadAsync (std::string fileName){
6868 ofLogWarning (" ofBaseVideoPlayer" ) << " loadAsync() not implemented, loading synchronously" ;
6969 load (fileName);
7070}
Original file line number Diff line number Diff line change @@ -212,7 +212,7 @@ class ofBaseVideoPlayer: virtual public ofBaseVideo{
212212 // / \brief Legacy approach for loading videos for older inherited classes
213213 // / \param name The name of the video resource to load.
214214 // / \return True if the video was loaded successfully.
215- virtual bool load (const std::string & fileName);
215+ virtual bool load (std::string fileName);
216216
217217 // / \brief Asynchronously load a video resource by name.
218218 // /
@@ -228,7 +228,7 @@ class ofBaseVideoPlayer: virtual public ofBaseVideo{
228228
229229 // / \brief Legacy approach for Asynchronously load a video resource by name.
230230 // / \param name The name of the video resource to load.
231- virtual void loadAsync (const std::string & fileName);
231+ virtual void loadAsync (std::string fileName);
232232
233233 // / \brief Play the video from the current playhead position.
234234 // /
You can’t perform that action at this time.
0 commit comments