Commit 58057e72 authored by François Grisez's avatar François Grisez
Browse files

Disable flushing of MediaCodec context on video size changing

parent 26746a98
......@@ -287,8 +287,8 @@ static void dec_process(MSFilter *f){
if (need_reinit) {
//In case of rotation, the decoder needs to flushed in order to restart with the new video size
ms_message("MSMediaCodecH264Dec: video size has changed. Flushing all MediaCodec's buffers");
AMediaCodec_flush(d->codec);
d->first_buffer_queued = FALSE;
// AMediaCodec_flush(d->codec);
// d->first_buffer_queued = FALSE;
}
/*First put our H264 bitstream into the decoder*/
......
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