Fix seek issue
[profile/ivi/gstreamer-vaapi.git] / gst / vaapi / gstvaapidecode.h
old mode 100644 (file)
new mode 100755 (executable)
index c8b2583..ff27780
@@ -76,6 +76,8 @@ struct _GstVaapiDecode {
     gint64              render_time_base;
     GstClockTime        last_buffer_time;
     unsigned int        is_ready        : 1;
+    // escape decoding (blocked by hw resource) when there is _flush event, usually happens during seek.
+    unsigned int        escape_decoding : 1;
 };
 
 struct _GstVaapiDecodeClass {