setting format for rawvideoparse

Yair Reshef yair99 at gmail.com
Thu Mar 26 20:09:12 UTC 2020


yesss adding
#include <gst/video/video.h> and gstvideo_dep =
dependency('gstreamer-video-1.0')
to meson.build made vscode happy



On Thu, Mar 26, 2020 at 9:31 PM Nicolas Dufresne <nicolas at ndufresne.ca> wrote:
>
> Le jeudi 26 mars 2020 à 12:49 -0500, yair a écrit :
> > thanks,
> > anything i place there is invalid. it think there is some conversion
> > missing'
> >
> >
> >   g_object_set (G_OBJECT (parse), "format", "rgb" , NULL);
>
> As per gst-inspect-1.0, type is:
>
>   Enum "GstVideoFormat"
>
> Sorry fo rmissing that, so you need to pass GST_VIDEO_FORMAT_RGB (make sure you
> have the right include and that gstreamer-video-1.0 library is included).
> >
> >
> > --
> > Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
> _______________________________________________
> 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