Skip to content

Commit

Permalink
Fix ffmpeg decoder capabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
rock88 committed May 28, 2020
1 parent cc37c17 commit 48d2b31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/streaming/ffmpeg/FFmpegVideoDecoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ int FFmpegVideoDecoder::submit_decode_unit(PDECODE_UNIT decode_unit) {
}

int FFmpegVideoDecoder::capabilities() const {
return CAPABILITY_SLICES_PER_FRAME(4) | CAPABILITY_REFERENCE_FRAME_INVALIDATION_AVC | CAPABILITY_REFERENCE_FRAME_INVALIDATION_HEVC | CAPABILITY_DIRECT_SUBMIT;
return CAPABILITY_SLICES_PER_FRAME(4) | CAPABILITY_DIRECT_SUBMIT;
}

int FFmpegVideoDecoder::decode(char* indata, int inlen) {
Expand Down

0 comments on commit 48d2b31

Please sign in to comment.