vtdec: strange error handling
Submitted by Ilya Konstantinov
Assigned to Ilya Konstantinov
Link to original bug (#748439)
Description
In gst_vtdec_handle_frame:
status =
VTDecompressionSessionDecodeFrame (vtdec->session, cm_sample_buffer,
input_flags, frame, NULL);
if (status != noErr && FALSE)
goto error;
I guess the "&& FALSE" is debug-time code that sneaked into the commit. Introduced in:
commit b1a756fd
Author: Alessandro Decina alessandro.d@gmail.com
Date: Sat Dec 7 23:55:13 2013 +0100
applemedia: rewrite VideoToolbox decoder based on GstVideoDecoder