setting format for rawvideoparse
Yair Reshef
yair99 at gmail.com
Thu Mar 26 18:58:19 UTC 2020
ok..
had to call them by their id number as specified in the link above.
g_object_set (G_OBJECT (parse), "format", 25 , NULL)
On Thu, Mar 26, 2020 at 8:16 PM Yair Reshef <yair99 at gmail.com> wrote:
>
> looking at the source i see
>
> g_object_class_install_property (object_class,
> PROP_FORMAT,
> g_param_spec_enum ("format",
> "Format",
> "Format of frames in raw stream",
> GST_TYPE_VIDEO_FORMAT,
> DEFAULT_FORMAT, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)
> );
>
> but cant find what GST_TYPE_VIDEO_FORMAT is
> plugging formats[1] doesnt work
> im missing something trivial
>
> [1]
> https://gstreamer.freedesktop.org/documentation/video/video-format.html#members-1
>
> On Thu, Mar 26, 2020 at 7:49 PM yair <yair99 at gmail.com> wrote:
>
>> thanks,
>> anything i place there is invalid. it think there is some conversion
>> missing'
>>
>>
>> g_object_set (G_OBJECT (parse), "format", "rgb" , NULL);
>>
>>
>>
>> --
>> 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
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200326/1cf88e41/attachment.htm>
More information about the gstreamer-devel
mailing list