[gst-devel] events for mad
apwingo at eos.ncsu.edu
Sat Dec 8 23:36:05 CET 2001
Hi vishnu, hope life is treating you well.
On Sun, 09 Dec 2001, Joshua N Pritikin wrote:
> + default:
> + g_warning ("Don't know how to cope with event type %d",
> + GST_EVENT_TYPE (event));
> + break;
> + }
> + gst_event_free (event);
> + /* osssink, etc doesn't understand or need events yet
> + if (GST_PAD_CONNECTED (mad->srcpad))
> + gst_pad_push (mad->srcpad, inbuf); */
1) should you really warn if you don't know what event it is? ok,
2) osssink, alsasink, and others can deal with events and it is useful.
3) so in general keep pushing the event along. if a downstream plugin
can't deal with it it needs fixing.
More information about the gstreamer-devel