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="'courier new', monospace">bus = self.player.get_bus()</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">bus.add_signal_watch()</font></div><div><font class="Apple-style-span" face="'courier new', monospace">bus.enable_sync_message_emission()</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">bus.connect("message", self.on_message)</font></div></div><div><br></div><div>...</div><div><br></div><div><div>within the message handler I'm checking against the message type like:</div>
<div><br></div><div><font class="Apple-style-span" face="'courier new', monospace">def on_message(self, bus, message)</font></div><div><font class="Apple-style-span" face="'courier new', monospace"> msg_type = message.type</font></div>
<div><font class="Apple-style-span" face="'courier new', 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="'courier new', monospace">bus.connect"message::eos", self.on_eos)</font></div>
<div><font class="Apple-style-span" face="'courier new', 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>