setting format for rawvideoparse

Nicolas Dufresne nicolas at ndufresne.ca
Thu Mar 26 19:30:53 UTC 2020


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



More information about the gstreamer-devel mailing list