mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 16:26:39 +00:00
13 lines
272 B
C
13 lines
272 B
C
|
#include <gst/gst.h>
|
||
|
|
||
|
void
|
||
|
gstsharp_gst_index_factory_set_plugin (GstIndexFactory * factory,
|
||
|
GstPlugin * plugin)
|
||
|
{
|
||
|
if (!plugin)
|
||
|
return;
|
||
|
|
||
|
GST_PLUGIN_FEATURE (factory)->plugin_name = g_strdup (plugin->desc.name);
|
||
|
GST_PLUGIN_FEATURE (factory)->loaded = TRUE;
|
||
|
}
|