}
#endif
case GST_EVENT_EOS:
+ /* FIXME: EOS aggregation with audio pad looks wrong */
decklinksink->video_eos = TRUE;
decklinksink->video_seqnum = gst_event_get_seqnum (event);
{
gst_message_set_seqnum (message, decklinksink->video_seqnum);
gst_element_post_message (GST_ELEMENT_CAST (decklinksink), message);
}
-
+ res = gst_pad_event_default (pad, parent, event);
break;
default:
res = gst_pad_event_default (pad, parent, event);
gst_caps_unref (mode_caps);
gst_query_set_caps_result (query, caps);
gst_caps_unref (caps);
+ res = TRUE;
break;
}
default:
switch (GST_EVENT_TYPE (event)) {
case GST_EVENT_EOS:
+ /* FIXME: EOS aggregation with video pad looks wrong */
decklinksink->audio_eos = TRUE;
decklinksink->audio_seqnum = gst_event_get_seqnum (event);
+ res = gst_pad_event_default (pad, parent, event);
break;
default:
res = gst_pad_event_default (pad, parent, event);