Commit f9785092 authored by Marcin Kolny's avatar Marcin Kolny

Examples, tests: remove unnecessary glibmm includes

parent 2979dc62
......@@ -7,7 +7,7 @@
#include <gstreamermm.h>
#include <iostream>
#include <glibmm.h>
#include <glibmm/main.h>
using namespace Gst;
using Glib::RefPtr;
......
......@@ -7,7 +7,7 @@
#include <gstreamermm.h>
#include <iostream>
#include <glibmm.h>
#include <glibmm/main.h>
using namespace Gst;
using Glib::RefPtr;
......
......@@ -2,7 +2,7 @@
* This example presents basic usage of the Gst::Bus class.
*/
#include <gstreamermm.h>
#include <glibmm.h>
#include <glibmm/main.h>
#include <iostream>
......
......@@ -2,7 +2,7 @@
* This example presents basic usage of dynamics Gst::Pad objects.
*/
#include <gstreamermm.h>
#include <glibmm.h>
#include <glibmm/main.h>
#include <iostream>
......
......@@ -4,7 +4,7 @@
* with your application's option group.
*/
#include <gstreamermm.h>
#include <glibmm.h>
#include <glibmm/optioncontext.h>
#include <iostream>
......
......@@ -8,7 +8,7 @@
*/
#include <gstreamermm.h>
#include <glibmm.h>
#include <glibmm/main.h>
#include <iostream>
#include <vector>
......
......@@ -5,7 +5,7 @@
* Author: m.kolny
*/
#include <gstreamermm.h>
#include <glibmm.h>
#include <glibmm/main.h>
#include <iostream>
using namespace Gst;
......
......@@ -17,7 +17,8 @@
*/
#include <gstreamermm.h>
#include <glibmm.h>
#include <glibmm/main.h>
#include <glibmm/convert.h>
#include <iostream>
#include <stdlib.h>
#include <gstreamermm/playbin.h>
......
......@@ -17,7 +17,7 @@
*/
#include <gstreamermm.h>
#include <glibmm.h>
#include <glibmm/main.h>
#include <iostream>
#include <iomanip>
......
#include <gstreamermm.h>
#include <glibmm.h>
#include <glibmm/main.h>
#include <iostream>
#include <stdlib.h>
......
......@@ -18,7 +18,7 @@
#include "sample_gl_filter.h"
#include <gstreamermm.h>
#include <glibmm.h>
#include <glibmm/main.h>
#include <iostream>
Glib::RefPtr<Glib::MainLoop> mainloop;
......
......@@ -17,7 +17,7 @@
*/
#include <gstreamermm.h>
#include <glibmm.h>
#include <glibmm/optioncontext.h>
#include <iostream>
Glib::OptionEntry make_entry(const Glib::ustring& long_name, const gchar& short_name, const Glib::ustring& description)
......@@ -45,11 +45,6 @@ int main(int argc, char** argv)
m_OptionGroup.add_entry(make_entry("silent", 's', "do not output status information"), silent);
m_OptionGroup.add_entry_filename(make_entry("output", 'o', "save xml representation of pipeline to file and exit"), path);
// We must initialise the threading system before using any other GLib function.
// See Gstreamer's documentation for more info.
if(!Glib::thread_supported())
Glib::thread_init();
m_OptionContext.set_main_group(m_OptionGroup);
Glib::OptionGroup m_GstOptiongroup = Gst::get_option_group();
......
......@@ -17,7 +17,7 @@
*/
#include <gstreamermm.h>
#include <glibmm.h>
#include <glibmm/main.h>
#include <iostream>
Glib::RefPtr<Glib::MainLoop> mainloop;
......
......@@ -12,7 +12,6 @@
#include <gstreamermm/private/bin_p.h>
#include <gstreamermm/filesrc.h>
#include <gstreamermm/filesink.h>
#include <glibmm.h>
#include <cstdio>
#include <sys/stat.h>
......
......@@ -9,7 +9,7 @@
#include <gstreamermm.h>
#include <gstreamermm/filesrc.h>
#include <gstreamermm/filesink.h>
#include <glibmm.h>
#include <glibmm/main.h>
using namespace Gst;
using Glib::RefPtr;
......
......@@ -7,7 +7,7 @@
#include "mmtest.h"
#include <gstreamermm.h>
#include <glibmm.h>
#include <glibmm/main.h>
#include "pluginbin.h"
......
......@@ -7,7 +7,7 @@
#include "mmtest.h"
#include <gstreamermm.h>
#include <glibmm.h>
#include <glibmm/main.h>
#include <cstdio>
#include "utils.h"
......
......@@ -8,7 +8,7 @@
#include "mmtest.h"
#include <gstreamermm.h>
#include <gstreamermm/fakesink.h>
#include <glibmm.h>
#include <glibmm/main.h>
#include "utils.h"
using namespace Gst;
......
......@@ -8,7 +8,7 @@
#include "mmtest.h"
#include <gstreamermm.h>
#include <gstreamermm/fakesink.h>
#include <glibmm.h>
#include <glibmm/main.h>
#include "utils.h"
using namespace Gst;
......
......@@ -8,7 +8,7 @@
#include <gstreamermm.h>
#include <gstreamermm/videotestsrc.h>
#include <gstreamermm/filesink.h>
#include <glibmm.h>
#include <glibmm/main.h>
#include "utils.h"
using Glib::RefPtr;
......
......@@ -7,7 +7,6 @@
#include "mmtest.h"
#include <gstreamermm.h>
#include <glibmm.h>
using namespace Gst;
using Glib::RefPtr;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment