static gboolean gst_asf_demux_element_send_event ( GstElement * element , GstEvent * event ) {
 GstASFDemux * demux = GST_ASF_DEMUX ( element ) ;
 gint i ;
 GST_DEBUG ( "handling element event of type %s" , GST_EVENT_TYPE_NAME ( event ) ) ;
 for ( i = 0 ;
 i < demux -> num_streams ;
 ++ i ) {
 gst_event_ref ( event ) ;
 if ( gst_asf_demux_handle_src_event ( demux -> stream [ i ] . pad , GST_OBJECT_CAST ( element ) , event ) ) {
 gst_event_unref ( event ) ;
 return TRUE ;
 }
 }
 gst_event_unref ( event ) ;
 return FALSE ;
 }
static gboolean gst_asf_demux_element_send_event ( GstElement * element , GstEvent * event ) {
 GstASFDemux * demux = GST_ASF_DEMUX ( element ) ;
 gint i ;
 GST_DEBUG ( "handling element event of type %s" , GST_EVENT_TYPE_NAME ( event ) ) ;
 for ( i = 0 ;
 i < demux -> num_streams ;
 ++ i ) {
 gst_event_ref ( event ) ;
 if ( gst_asf_demux_handle_src_event ( demux -> stream [ i ] . pad , GST_OBJECT_CAST ( element ) , event ) ) {
 gst_event_unref ( event ) ;
 return TRUE ;
 }
 }
 gst_event_unref ( event ) ;
 return FALSE ;
 }