diff options
Diffstat (limited to 'media/tools/player_wtl/movie.cc')
-rw-r--r-- | media/tools/player_wtl/movie.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/media/tools/player_wtl/movie.cc b/media/tools/player_wtl/movie.cc index 70ede51..7a06cb9 100644 --- a/media/tools/player_wtl/movie.cc +++ b/media/tools/player_wtl/movie.cc @@ -4,6 +4,7 @@ #include "media/tools/player_wtl/movie.h" +#include "base/singleton.h" #include "base/utf_string_conversions.h" #include "media/base/filter_collection.h" #include "media/base/pipeline_impl.h" @@ -39,6 +40,10 @@ Movie::Movie() Movie::~Movie() { } +Movie* Movie::GetInstance() { + return Singleton<Movie>::get(); +} + bool Movie::IsOpen() { return pipeline_ != NULL; } |