can not set flexible to property compliance of vah264dec

cfd new newcfd at yahoo.com
Wed May 10 18:01:52 UTC 2023


 I managed to set it with gst_util_set_object_arg( G_OBJECT( decoder ), "compliance", "flexible" );Now the code does not complain the setting anymore. Is this the right way to set it?
    Joe

    On Wednesday, May 10, 2023, 10:29:39 a.m. EDT, cfd new <newcfd at yahoo.com> wrote:  
 
 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/56283c44/attachment.htm>


More information about the gstreamer-devel mailing list