gme: Forward other non-EOS events downstream

Allow most events through as-is so at least we don't
warn about missing stream-start. Drop segment and caps,
as those are sent internally.
This commit is contained in:
Jan Schmidt 2016-12-14 13:10:46 +11:00
parent 5c99f9cf37
commit 60f41c7b81

View file

@ -162,7 +162,11 @@ gst_gme_dec_sink_event (GstPad * pad, GstObject * parent, GstEvent * event)
forward = TRUE; forward = TRUE;
} }
break; break;
case GST_EVENT_CAPS:
case GST_EVENT_SEGMENT:
break;
default: default:
forward = TRUE;
break; break;
} }
if (forward) if (forward)