mirror of
https://gitlab.freedesktop.org/dabrain34/GstPipelineStudio.git
synced 2024-06-02 21:39:25 +00:00
11ab47ffde
GraphManager is now using pipeviz category Logger class is able to read GST logs. Ony WARN and ERROR are logged now.
27 lines
459 B
C++
27 lines
459 B
C++
#include <QApplication>
|
|
#include "MainWindow.h"
|
|
|
|
#include <gst/gst.h>
|
|
|
|
int
|
|
main (int argc, char **argv)
|
|
{
|
|
Logger::instance().configure_logger ();
|
|
gst_init (&argc, &argv);
|
|
|
|
GstRegistry *registry;
|
|
#if GST_VERSION_MAJOR >= 1
|
|
registry = gst_registry_get();
|
|
#else
|
|
registry = gst_registry_get_default ();
|
|
#endif
|
|
gst_registry_scan_path (registry, "./plugins");
|
|
|
|
QApplication app (argc, argv);
|
|
|
|
MainWindow wgt;
|
|
wgt.show ();
|
|
|
|
return app.exec ();
|
|
}
|