<html><head></head><body><div class="ydp412eaf35yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div></div>
        <div dir="ltr" data-setdir="false">I managed to set it with gst_util_set_object_arg( G_OBJECT( decoder ), "compliance", "flexible" );</div><div dir="ltr" data-setdir="false">Now the code does not complain the setting anymore. Is this the right way to set it?</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">    Joe<br></div><div><br></div>
        
        </div><div id="yahoo_quoted_4621786386" class="yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Wednesday, May 10, 2023, 10:29:39 a.m. EDT, cfd new <newcfd@yahoo.com> wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div id="yiv1664720764"><div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;" class="yiv1664720764yahoo-style-wrap"><div dir="ltr"><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">to build the pipeline in C/C++.<div dir="ltr"><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">   Joe<br></div></div><div><br></div></div></div></div></div></div>
            </div>
        </div></body></html>