vaapidecode: compilation fix

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>
This commit is contained in:
Víctor Manuel Jáquez Leal 2015-08-28 16:06:08 +02:00
parent 32d1c5adff
commit b8068874d5

View file

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