queue2: Use g_object_notify_by_pspec
authorNiels De Graef <niels.degraef@barco.com>
Thu, 31 Oct 2019 10:06:48 +0000 (11:06 +0100)
committerNiels De Graef <niels.degraef@barco.com>
Thu, 31 Oct 2019 10:06:48 +0000 (11:06 +0100)
commit0ca0a9d9822610964b8ce6d1e217133ef4c42861
treeb9b0489717aee5a4724093ee290ee675db97194b
parentd25a88e3a15b9f38a66ae6d2735c625b6f8db476
queue2: Use g_object_notify_by_pspec

`g_object_notify()` actually takes a global lock to look up the
`GParamSpec` that corresponds to the given property name. It's not a
huge performance hit, but it's easily avoidable by using the
`_by_pspec()` variant.
plugins/elements/gstqueue2.c