GST_VIDEO_DECODER_STREAM_UNLOCK (decoder);
break;
}
- case GST_EVENT_FLUSH_STOP:
+#ifdef TIZEN_FEATURE_VIDEO_MODIFICATION
+ case GST_EVENT_FLUSH_START:
{
GList *l;
-
- GST_VIDEO_DECODER_STREAM_LOCK (decoder);
for (l = priv->frames; l; l = l->next) {
GstVideoCodecFrame *frame = l->data;
}
priv->current_frame_events = _flush_events (decoder->srcpad,
decoder->priv->current_frame_events);
+ break;
+ }
+#endif
+ case GST_EVENT_FLUSH_STOP:
+ {
+
+ GST_VIDEO_DECODER_STREAM_LOCK (decoder);
/* well, this is kind of worse than a DISCONT */
gst_video_decoder_flush (decoder, TRUE);