<html><head></head><body><div class="ydp84fa07bfyahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div></div>
        <div dir="ltr" data-setdir="false">No, it is not the right way to set it. This func does not work. The code does not complain while the func call does not set it as well.</div><div dir="ltr" data-setdir="false">The default value is still auto = 0.</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_4268405706" class="yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Wednesday, May 10, 2023, 02:01:53 p.m. EDT, cfd new <newcfd@yahoo.com> wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div id="yiv1808268193"><div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;" class="yiv1808268193ydp412eaf35yahoo-style-wrap"><div></div>
        <div dir="ltr">I managed to set it with gst_util_set_object_arg( G_OBJECT( decoder ), "compliance", "flexible" );</div><div dir="ltr">Now the code does not complain the setting anymore. Is this the right way to set it?</div><div dir="ltr"><br clear="none"></div><div dir="ltr">    Joe<br clear="none"></div><div><br clear="none"></div>
        
        </div><div id="yiv1808268193yqt91995" class="yiv1808268193yqt6053245202"><div id="yiv1808268193yahoo_quoted_4621786386" class="yiv1808268193yahoo_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 clear="none"></div>
                <div><br clear="none"></div>
                <div><div id="yiv1808268193"><div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;" class="yiv1808268193yahoo-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 clear="none"></div><div dir="ltr">to build the pipeline in C/C++.<div dir="ltr"><pre><code><span></span></code></pre><pre><code>GstElement *</code><code><span> decoder = gst_element_factory_make</span>( "vah264dec", "decoder");</code></pre>

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