can not set flexible to property compliance of vah264dec

cfd new newcfd at yahoo.com
Wed May 10 14:29:39 UTC 2023


I made a pipeline to receive rtsp streaming with vah264dec compliance=flexible.The pipeline runs fine from command line. But there is an error when I use gstreamer code 
to build the pipeline in C/C++.GstElement * decoder = gst_element_factory_make( "vah264dec", "decoder");g_object_set( decoder, "compliance", "flexible", nullptr );

I got error message:
GLib-GObject-WARNING **: 10:10:33.535: value "((GstH264DecoderCompliance) 1907760221)" of type 'GstH264DecoderCompliance' is invalid or out of range for property 'compliance' of type 'GstH264DecoderCompliance'

This property setting is not documented anywhere.
This is on Ubuntu 22.04 and gstreamer 1.22.2.
   Joe

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20230510/c20662d0/attachment.htm>


More information about the gstreamer-devel mailing list