diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2013-03-20 10:49:04 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2013-03-22 10:38:42 +0000 |
commit | 1619caf4bb9c6e01740542f1687d976ce70c3a94 (patch) | |
tree | c1e48a3d66c322a4c48cb57b9d2ba59ed504cdaf | |
parent | 339c1d565991116bfa9aaddd0b42ee56407448d6 (diff) |
decklinksink: fix some compiler warnings
-rw-r--r-- | sys/decklink/gstdecklinksink.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/decklink/gstdecklinksink.cpp b/sys/decklink/gstdecklinksink.cpp index 48d0c826c..9abde79f2 100644 --- a/sys/decklink/gstdecklinksink.cpp +++ b/sys/decklink/gstdecklinksink.cpp @@ -529,6 +529,7 @@ gst_decklink_sink_videosink_event (GstPad * pad, GstObject * parent, } #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); { @@ -538,7 +539,7 @@ gst_decklink_sink_videosink_event (GstPad * pad, GstObject * parent, 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); @@ -571,6 +572,7 @@ gst_decklink_sink_videosink_query (GstPad * pad, GstObject * parent, gst_caps_unref (mode_caps); gst_query_set_caps_result (query, caps); gst_caps_unref (caps); + res = TRUE; break; } default: @@ -618,8 +620,10 @@ gst_decklink_sink_audiosink_event (GstPad * pad, GstObject * parent, 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); |