Custom GstMeta data dissapearing when received in a new pipeline
Mailing List SVR
lists at svrinformatica.it
Wed Jun 29 11:40:44 UTC 2016
Il 29/06/2016 12:54, debruyn ha scritto:
> Thanks alot Tim! I seem to be progressing slowly but surely. Understand what
> you mean by the rtp buffer being mapped from the normal buffer. Question
> though I am getting an error when trying to use the following enum:
> GST_MAP_READWRITE. GST_MAP_READ or GST_MAP_WRITE seems to working fine. The
> error message states ->
>
> /usr/include/gstreamer-1.0/gst/gstmemory.h:185: error: invalid conversion
> from 'int' to 'GstMapFlags' [-fpermissive]
> #define GST_MAP_READWRITE (GST_MAP_READ | GST_MAP_WRITE)
> ~~~~~~~~~~~~~~^~~~~~~~~~~~~
>
> Any idea why this is happening?
You need a cast to GstMapFlags something like this
(GstMapFlags)(GST_MAP_READWRITE)
I think this happen in c++ only,
Nicola
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Custom-GstMeta-data-dissapearing-when-received-in-a-new-pipeline-tp4678272p4678298.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list