summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAlessandro Decina <alessandro.d@gmail.com>2015-11-17 15:18:28 +1100
committerAlessandro Decina <alessandro.d@gmail.com>2015-11-17 15:19:01 +1100
commit35052fdfd0ec06168460e4988b40f50887584a60 (patch)
tree0a1d5f2353024e7b320b49c951ba863f516f7b25 /sys
parent15251e4824dec32277f372a7cdab664877c67cd9 (diff)
downloadgstreamer-plugins-bad-35052fdfd0ec06168460e4988b40f50887584a60.tar.gz
applemedia: vtdec: fix setting internal SKIP / DROP flags
Diffstat (limited to 'sys')
-rw-r--r--sys/applemedia/vtdec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/applemedia/vtdec.c b/sys/applemedia/vtdec.c
index fe436cd42..7df40fb0f 100644
--- a/sys/applemedia/vtdec.c
+++ b/sys/applemedia/vtdec.c
@@ -776,10 +776,10 @@ gst_vtdec_session_output_callback (void *decompression_output_ref_con,
if (info_flags & kVTDecodeInfo_FrameDropped) {
GST_DEBUG_OBJECT (vtdec, "Frame dropped by video toolbox %p %d",
frame, frame->decode_frame_number);
- frame->flags &= VTDEC_FRAME_FLAG_DROP;
+ frame->flags |= VTDEC_FRAME_FLAG_DROP;
} else {
GST_DEBUG_OBJECT (vtdec, "Decoded frame is NULL");
- frame->flags &= VTDEC_FRAME_FLAG_SKIP;
+ frame->flags |= VTDEC_FRAME_FLAG_SKIP;
}
}