From: Florian W. <fw...@gr...> - 2005-01-26 15:16:48
|
gst...@li... wrote: >Hi, > >On Tue, 2005-01-25 at 15:16, Thirupathiah Annapureddy wrote: > > >>I thought of sending a custom event from one element to another >>element to exchange this unique information. To create a custom event, >>should i extend GstEventType or i can use any event# higher than >>GST_EVENT_TAG. >> >> > >Any higher should be good. Maybe we want to add a _PRIVATE value, above >which everything is private (a GstStructure's name then implies the >actual event data). > what about two custom elements using an overlapping set of custom event tags? if two such elements have been written by different developers, does an application developer using both elements have to be avare of such a situation and modify the implementation of the custom elements by hand? if the application developer is not aware of events and event tags at all, how can such a situation be detected? what happens if a custom event is misidentified as another custom event because it happens to have the same event tag? fw |
From: Ronald S. B. <rb...@ro...> - 2005-01-28 15:06:44
|
On Wed, 2005-01-26 at 16:11, Florian Winter wrote: > what about two custom elements using an overlapping set of custom event > tags? The GstStructure in the GstEvent should have a unique name, which solves this problem. Ronald -- Ronald S. Bultje <rb...@ro...> |