mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-01 17:31:10 +00:00
basevideo: Fix GType names to not conflict with the public video base classes
It's still not possible to include headers of both in the same file or compile/link both into the same plugin but that shouldn't be necessary anyway.
This commit is contained in:
parent
9c9315059e
commit
c62dd0f0c3
1 changed files with 10 additions and 1 deletions
|
@ -16,12 +16,21 @@ noinst_HEADERS = \
|
||||||
gstbasevideodecoder.h \
|
gstbasevideodecoder.h \
|
||||||
gstbasevideoencoder.h
|
gstbasevideoencoder.h
|
||||||
|
|
||||||
|
fixbaseclasses = \
|
||||||
|
-DGstBaseVideoCodec=OMXBaseVideoCodec \
|
||||||
|
-DGstBaseVideoCodecClass=OMXBaseVideoCodecClass \
|
||||||
|
-DGstBaseVideoEncoder=OMXBaseVideoEncoder \
|
||||||
|
-DGstBaseVideoEncoderClass=OMXBaseVideoEncoderClass \
|
||||||
|
-DGstBaseVideoDecoder=OMXBaseVideoDecoder \
|
||||||
|
-DGstBaseVideoDecoderClass=OMXBaseVideoDecoderClass
|
||||||
|
|
||||||
libgstomx_la_CFLAGS = \
|
libgstomx_la_CFLAGS = \
|
||||||
-DGST_USE_UNSTABLE_API=1 \
|
-DGST_USE_UNSTABLE_API=1 \
|
||||||
-I$(srcdir)/openmax \
|
-I$(srcdir)/openmax \
|
||||||
$(GST_PLUGINS_BASE_CFLAGS) \
|
$(GST_PLUGINS_BASE_CFLAGS) \
|
||||||
$(GST_BASE_CFLAGS) \
|
$(GST_BASE_CFLAGS) \
|
||||||
$(GST_CFLAGS)
|
$(GST_CFLAGS) \
|
||||||
|
$(fixbaseclasses)
|
||||||
libgstomx_la_LIBADD = \
|
libgstomx_la_LIBADD = \
|
||||||
$(GST_PLUGINS_BASE_LIBS) \
|
$(GST_PLUGINS_BASE_LIBS) \
|
||||||
-lgstvideo-@GST_MAJORMINOR@ \
|
-lgstvideo-@GST_MAJORMINOR@ \
|
||||||
|
|
Loading…
Reference in a new issue