mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +00:00
vtdec: remove unused variable
Fixes: ../sys/applemedia/vtdec.c:611:35: error: variable 'output_flags' set but not used [-Werror,-Wunused-but-set-variable] VTDecodeFrameFlags input_flags, output_flags; ^ Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2068>
This commit is contained in:
parent
293a41ea76
commit
c546392caf
1 changed files with 1 additions and 2 deletions
|
@ -608,7 +608,7 @@ gst_vtdec_handle_frame (GstVideoDecoder * decoder, GstVideoCodecFrame * frame)
|
|||
{
|
||||
OSStatus status;
|
||||
CMSampleBufferRef cm_sample_buffer = NULL;
|
||||
VTDecodeFrameFlags input_flags, output_flags;
|
||||
VTDecodeFrameFlags input_flags;
|
||||
GstVtdec *vtdec = GST_VTDEC (decoder);
|
||||
GstFlowReturn ret = GST_FLOW_OK;
|
||||
int decode_frame_number = frame->decode_frame_number;
|
||||
|
@ -629,7 +629,6 @@ gst_vtdec_handle_frame (GstVideoDecoder * decoder, GstVideoCodecFrame * frame)
|
|||
* reordering ourselves.
|
||||
*/
|
||||
input_flags = kVTDecodeFrame_EnableAsynchronousDecompression;
|
||||
output_flags = 0;
|
||||
|
||||
cm_sample_buffer =
|
||||
cm_sample_buffer_from_gst_buffer (vtdec, frame->input_buffer);
|
||||
|
|
Loading…
Reference in a new issue