[gst-devel] DVD Events

Jan Schmidt thaytan at mad.scientist.com
Mon Mar 22 17:27:12 CET 2004


<quote who="David I. Lehn">
> I don't think we should be adding media specific code to the core such
> as events named "GST_EVENT_DVD".  There are opposing forces of needing
> something to handle things like dvd specific events and the goal of
> keeping event types to a minimum.  I think if a new event type is needed
> it should be more generic but somehow restricted in use.  Something like
> GST_EVENT_CUSTOM or _GENERIC look like they might fit but they are so
> open ended that they could be abused.  I'm not sure what the answer is
> for custom events.

I agree - the core shouldn't need media-specific events. Just that Martin
and I haven't come up with a better answer yet.

> However, why can't the current navigation code be used to implement the
> above events?  Maybe it's overloading the meaning of "navigation" for
> both internal and user use.  The internal events are just flowing away
> from the src rather than back from the sink.  How about something
> similar to the current key/mouse code:

*snip*

Precisely what we are currently using. The _only_ difference is the enum
being attached to the event GST_EVENT_DVD instead of GST_EVENT_NAVIGATION.
I'm happy enough to use the GST_EVENT_NAVIGATION enum for our downstream
events if that is the decision, it's just a bit of a misnomer when we're
using it for sending subtitle colour tables and still frame events.

J.
-- 
Jan Schmidt                                  thaytan at mad.scientist.com

Have you been half-asleep? Have you heard voices?
I've heard them calling my name...
 -Kermit the Frog (Rainbow Connection)




More information about the gstreamer-devel mailing list