Moved gst_init() in main application and added gst_deinit().

This commit is contained in:
Tats
2014-10-18 10:05:53 +00:00
parent 80d0f73407
commit 6f015b1cb8
3 changed files with 5 additions and 3 deletions
-2
View File
@@ -260,8 +260,6 @@ bool MediaImpl::loadMovie(QString filename)
// Free previously allocated structures
unloadMovie();
// Initialize GStreamer.
gst_init (NULL, NULL);
GstElement *capsFilter = NULL;
GstElement *videoScale = NULL;