Commit 042ed0e0 authored by François Grisez's avatar François Grisez
Browse files

Fix typo in one log message.

parent babaa90c
......@@ -72,7 +72,7 @@ MediaCodecDecoder::~MediaCodecDecoder() {
bool MediaCodecDecoder::setParameterSets(MSQueue *parameterSets, uint64_t timestamp) {
if (!feed(parameterSets, timestamp, true)) {
ms_error("MediaCodecDecoder: paramter sets has been refused by the decoder.");
ms_error("MediaCodecDecoder: parameter sets has been refused by the decoder.");
return false;
_needParameters = false;
......@@ -199,6 +199,13 @@ void MediaCodecDecoder::stopImpl() {
bool MediaCodecDecoder::feed(MSQueue *encodedFrame, uint64_t timestamp, bool isPs) {
unique_ptr<H26xNaluHeader> header;
for(mblk_t *m = ms_queue_peek_first(encodedFrame); !ms_queue_end(encodedFrame, m); m = ms_queue_next(encodedFrame, m)) {
ms_message("MediaCodecDecoder: nalu type %d", int(header->getAbsType()));
H26xUtils::nalusToByteStream(encodedFrame, _bitstream);
if (_impl == nullptr) return false;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment