Не удается загрузить плагин gstreamer, неопределенная ссылка 'gst_base_sink_get_last_sample' - PullRequest
0 голосов
/ 30 ноября 2018

Я написал простой плагин gstremaer, который я не могу загрузить.Когда я вызываю gst-inspect-1.0, приложение сообщает мне, что плагин заблокирован из-за неопределенного символа.В документации gstreamer я не могу найти правильную зависимость.Поэтому я пытаюсь связать плагин с deps «gstreamer-base-1.0».Для простоты диагностики я делюсь своими источниками на GitHub

Я подаю в суд на корицу F29.

Результат gst-осмотра:

pbieguszewski@localhost simple_plugin_tester] $ gst-inspect-1.0 --gst-plugin-path = $ {PWD: A} libsimple_plugin_tester.so

(gst-plugin-scanner: 7213): GStreamer-WARNING **: 19: 03: 11.986: Не удалось загрузить плагин '/mnt/Data/Repozytoria/gstreamer_plugin/build/Desktop/Debug/simple_plugin_tester/libsimple_plugin_tester.so': / mnt / Data / Repozytoria / gstreamer_limp_limp_lug_plugin_plugin_plugin_plugin_plugin_plugin_plugin_plugin_plugin_plugin_plugin_plugin_plugin_plugin_plugin_plugin_plugin_plugin_plugin_p_мычками.so: неопределенный символ: gst_base_sink_get_last_sample

Информация о плагине:

Имя libsimple_plugin_tester.so

Описание Плагин для занесенного в черный файл файла

Имя файла / mnt / Data / Repozytoria/gstreamer_plugin/build/Desktop/Debug/simple_plugin_tester/libsimple_plugin_tester.so

Версия 0.0.0

Лицензия BLACKLIST

Исходный модуль BLACKLIST

Бинарный пакетBLACKLIST

Исходный URL BLACKLIST

0 функций:

Установленные библиотеки gstreamer:

[pbieguszewski @ localhost simple_plugin_tester] $ dnf listустановленный gstreamer *

Установленные пакеты

gstreamer1.i686 1.14.4-1.fc29 @fedora

gstreamer1.x86_64 1.14.4-1.fc29 @ anaconda

gstreamer1-devel.x86_64 1.14.4-1.fc29 @fedora

gstreamer1-plugins-bad-free.x86_64 1.14.4-1.fc29 @ anaconda

gstreamer1-plugins-base.i686 1.14.4-1.fc29 @fedora

gstreamer1-plugins-base.x86_64 1.14.4-1.fc29 @ anaconda

gstreamer1-plugins-base-devel.x86_641.14.4-1.fc29 @fedora

gstreamer1-plugins-good.x86_64 1.14.4-1.fc29 @ anaconda

gstreamer1-plugins-good-gtk.x86_64 1.14.4-1.fc29 @ anaconda

gstreamer1-plugins-ugly-free.x86_64 1.14.4-1.fc29 @ anaconda

Редактировать:

Исправлена ​​проблема с неопределенными символами.Я пропустил "gstreamer-video-1.0".Однако я все еще не могу загрузить плагин.Я бегу еще раз "GST-Inspect".В логах ничего интересного не могу.Может быть, это будет полезно:

0:00:00.005923221 11256 0x56483ebc3000 DEBUG           GST_REGISTRY gstregistry.c:1348:gst_registry_scan_path_level:<registry0> file /mnt/Data/Repozytorium/gstreamer_plugin/build/Desktop/Default/simple_plugin/libsimple_plugin.so not yet in registry
0:00:00.005927431 11256 0x56483ebc3000 DEBUG           GST_REGISTRY gstregistry.c:1153:gst_registry_scan_plugin_file: Starting plugin scanner for file /mnt/Data/Repozytorium/gstreamer_plugin/build/Desktop/Default/simple_plugin/libsimple_plugin.so
0:00:00.011120707 11256 0x56483ebc3000 LOG       GST_PLUGIN_LOADING gstpluginloader.c:1003:read_one: No payload to read for 0 length packet type 3 tag 0
0:00:00.011135408 11256 0x56483ebc3000 LOG       GST_PLUGIN_LOADING gstpluginloader.c:233:plugin_loader_load:<registry0> Sending file /mnt/Data/Repozytorium/gstreamer_plugin/build/Desktop/Default/simple_plugin/libsimple_plugin.so to child. tag 0
0:00:00.014111565 11256 0x56483ebc3000 DEBUG     GST_PLUGIN_LOADING gstpluginloader.c:358:plugin_loader_create_blacklist_plugin: Adding blacklist plugin 'libsimple_plugin.so'
0:00:00.014131667 11256 0x56483ebc3000 TRACE        GST_REFCOUNTING gstobject.c:293:gst_object_ref_sink:<plugin1> 0x56483ebe7190 ref_sink 1->2
0:00:00.014140347 11256 0x56483ebc3000 LOG             GST_REGISTRY gstregistry.c:479:gst_registry_add_plugin:<registry0> emitting plugin-added for filename "/mnt/Data/Repozytorium/gstreamer_plugin/build/Desktop/Default/simple_plugin/libsimple_plugin.so"

Остальные доступные журналы здесь .

...