vaapidecode: compilation fix
authorVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Fri, 28 Aug 2015 14:06:08 +0000 (16:06 +0200)
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Fri, 28 Aug 2015 14:07:31 +0000 (16:07 +0200)
gst_vaapi_decoder_state_changed() returns void. This patch fixes the
compilation where the toolchain uses restrictive flags as clang.

Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
gst/vaapi/gstvaapidecode.c

index 07e8a8b..acb8a44 100644 (file)
@@ -133,7 +133,7 @@ gst_vaapi_decoder_state_changed (GstVaapiDecoder * decoder,
   if (!gst_vaapi_decode_input_state_replace (decode, codec_state))
     return;
   if (!gst_vaapidecode_update_sink_caps (decode, decode->input_state->caps))
-    return FALSE;
+    return;
 
   decode->do_renego = TRUE;
 }