<html><head></head><body><div class="yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div dir="ltr" data-setdir="false"><div><div dir="ltr">I made a pipeline to receive rtsp streaming with <span><span>vah264dec compliance=flexible.</span></span></div><div dir="ltr">The pipeline runs fine from command line. But there is an error when I use gstreamer code <br></div><div dir="ltr" data-setdir="false">to build the pipeline in C/C++.<div dir="ltr" data-setdir="false"><pre><code><span><pre><code>GstElement *</code><code><span> decoder = gst_element_factory_make</span>( "vah264dec", "decoder");</code></pre></span></code></pre>

<pre><code>g_object_set( decoder, "compliance", "flexible", nullptr );<br><br>I got error message:<br><span>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'</span><br><br>This property setting is not documented anywhere.<br></code></pre></div></div><div>This is on Ubuntu 22.04 and gstreamer 1.22.2.</div><div><br></div><div dir="ltr" data-setdir="false">   Joe<br></div></div><div><br></div></div></div></body></html>