mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 19:50:40 +00:00
applemedia: vtdec: fix setting internal SKIP / DROP flags
This commit is contained in:
parent
15251e4824
commit
35052fdfd0
1 changed files with 2 additions and 2 deletions
|
@ -776,10 +776,10 @@ gst_vtdec_session_output_callback (void *decompression_output_ref_con,
|
||||||
if (info_flags & kVTDecodeInfo_FrameDropped) {
|
if (info_flags & kVTDecodeInfo_FrameDropped) {
|
||||||
GST_DEBUG_OBJECT (vtdec, "Frame dropped by video toolbox %p %d",
|
GST_DEBUG_OBJECT (vtdec, "Frame dropped by video toolbox %p %d",
|
||||||
frame, frame->decode_frame_number);
|
frame, frame->decode_frame_number);
|
||||||
frame->flags &= VTDEC_FRAME_FLAG_DROP;
|
frame->flags |= VTDEC_FRAME_FLAG_DROP;
|
||||||
} else {
|
} else {
|
||||||
GST_DEBUG_OBJECT (vtdec, "Decoded frame is NULL");
|
GST_DEBUG_OBJECT (vtdec, "Decoded frame is NULL");
|
||||||
frame->flags &= VTDEC_FRAME_FLAG_SKIP;
|
frame->flags |= VTDEC_FRAME_FLAG_SKIP;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue