Hi,<div><br></div><div>running several applications wit gst-python I recently run into an obviously changed message handling behavior. Usually I do the following:</div><div><br></div><div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">bus = self.player.get_bus()</font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">bus.add_signal_watch()</font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">bus.enable_sync_message_emission()</font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">bus.connect(&quot;message&quot;, self.on_message)</font></div></div><div><br></div><div>...</div><div><br></div><div><div>within the message handler I&#39;m checking against the message type like:</div>
<div><br></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">def on_message(self, bus, message)</font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">        msg_type = message.type</font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">        if msg_type == gst.MESSAGE_EOS:</font></div></div><div>           ...</div><div><br></div><div>For whatever reason this does not work any more.</div>
<div><br></div><div>Directly connecting the specific message properties like:</div><div><br></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">bus.connect&quot;message::eos&quot;, self.on_eos)</font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif">works perfectly well. </font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"><br>
</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif">Any idea where this behavior may come from and how to get back to the previous approach.</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"><br>
</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif">Thanks</font></div><div><br></div><div><br></div><div><br></div>