<div>
Hi Tim,
</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>From the source code of gstbasesink.c, the default value of 'max-lateness' is -1 (-1 unlimited)</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>and 'qos' property is 'false' also,</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>but the feature 'qos' is enable by default in my case, i want to disable this feature, how could i do ?</div><div><br></div><div>#define DEFAULT_MAX_LATENESS -1</div><div>#define DEFAULT_QOS <span class="Apple-tab-span" style="white-space:pre"> </span> FALSE</div><div><br></div><div><div> g_object_class_install_property (gobject_class, PROP_MAX_LATENESS,</div><div> g_param_spec_int64 ("max-lateness", "Max Lateness",</div><div> "Maximum number of nanoseconds that a buffer can be late before it "</div><div> "is dropped (-1 unlimited)", -1, G_MAXINT64, DEFAULT_MAX_LATENESS,</div><div> G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));</div><div><br></div><div> g_object_class_install_property (gobject_class, PROP_QOS,</div><div> g_param_spec_boolean ("qos", "Qos",</div><div> "Generate Quality-of-Service events upstream", DEFAULT_QOS,</div><div> G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));</div></div>
<div><div><br></div><div>Thanks,</div><div><br></div><div>- Jojo</div><div><br></div></div>
<p style="color: #A0A0A8;">在 2014年1月18日星期六,下午10:32,Tim Müller 写道:</p>
<blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
<span><span style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); display: inline !important; float: none; ">max-lateness</span></span>
</blockquote>
<div>
<br>
</div>