mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 10:19:59 +01:00
Simple check for names of decoder inside uridecodebin and cross check with the list of known hardware Decoder Names
33 lines
738 B
C++
33 lines
738 B
C++
#ifndef __GSTGUI_TOOLKIT_H_
|
|
#define __GSTGUI_TOOLKIT_H_
|
|
|
|
#include <gst/gst.h>
|
|
|
|
#include <string>
|
|
#include <list>
|
|
|
|
namespace GstToolkit
|
|
{
|
|
|
|
typedef enum {
|
|
TIME_STRING_FIXED = 0,
|
|
TIME_STRING_ADJUSTED,
|
|
TIME_STRING_MINIMAL
|
|
} time_string_mode;
|
|
|
|
std::string time_to_string(guint64 t, time_string_mode m = TIME_STRING_ADJUSTED);
|
|
std::string filename_to_uri(std::string filename);
|
|
|
|
std::string gst_version();
|
|
|
|
std::list<std::string> all_plugins();
|
|
std::list<std::string> enable_gpu_decoding_plugins(bool enable = true);
|
|
std::string used_gpu_decoding_plugins(GstElement *gstbin);
|
|
|
|
std::list<std::string> all_plugin_features(std::string pluginname);
|
|
bool enable_feature (std::string name, bool enable);
|
|
|
|
}
|
|
|
|
#endif // __GSTGUI_TOOLKIT_H_
|