Fix seek issue
[profile/ivi/gstreamer-vaapi.git] / tests / test-subpicture.c
old mode 100644 (file)
new mode 100755 (executable)
index 7a65fe3..b9eae9a
@@ -157,7 +157,7 @@ main(int argc, char *argv[])
     if (!gst_vaapi_decoder_put_buffer(decoder, NULL))
         g_error("could not send EOS to the decoder");
 
-    proxy = gst_vaapi_decoder_get_surface(decoder, &status);
+    proxy = gst_vaapi_decoder_get_surface(decoder, &status, FALSE);
     if (!proxy)
         g_error("could not get decoded surface (decoder status %d)", status);