Skip to content

Commit

Permalink
[droidmedia] Fix errors in size of logged variables. MER#2045
Browse files Browse the repository at this point in the history
  • Loading branch information
piggz committed Jul 11, 2019
1 parent 46a4f2a commit cae58f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions droidmediacodec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ class Source : public android::MediaSource {
m_framesBeingProcessed.lock.lock();

while (!m_framesBeingProcessed.buffers.empty()) {
ALOGW("stop(): waiting for %d frames", m_framesBeingProcessed.buffers.size());
ALOGW("stop(): waiting for %zu frames", m_framesBeingProcessed.buffers.size());
m_framesBeingProcessed.cond.wait(m_framesBeingProcessed.lock);
}

Expand Down Expand Up @@ -899,7 +899,7 @@ DroidMediaCodecLoopReturn droid_media_codec_loop(DroidMediaCodec *codec)
data.codec_config = true;
}

ALOGV("sync? %i, codec config? %i, ts = %lli", sync, codecConfig, data.ts);
ALOGV("sync? %i, codec config? %i, ts = %" PRId64, sync, codecConfig, data.ts);

codec->m_data_cb.data_available (codec->m_data_cb_data, &data);
} else {
Expand Down

0 comments on commit cae58f7

Please sign in to comment.