Skip to content

Commit

Permalink
test mjpeg creatable
Browse files Browse the repository at this point in the history
  • Loading branch information
Consti10 committed May 4, 2020
1 parent 74d3c4e commit 110c85d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions VideoCore/src/main/cpp/Decoder/LowLagDecoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ void LowLagDecoder::configureStartDecoder(const NALU& sps,const NALU& pps){
decoder.codec = AMediaCodec_createCodecByName("OMX.google.h264.decoder");
}else {
decoder.codec = AMediaCodec_createDecoderByType("video/avc");
//decoder.codec = AMediaCodec_createDecoderByType("video/mjpeg");
//const std::string s=(decoder.codec== nullptr ? "No" : "YES");
//MDebug::log("Created decoder"+s);
//char* name;
//AMediaCodec_getName(decoder.codec,&name);
//MLOGD("Created decoder %s",name);
Expand Down

0 comments on commit 110c85d

Please sign in to comment.