lavc/videotoolboxenc: remove unnecessary logging

Signed-off-by: Rick Kern <kernrj@gmail.com>
This commit is contained in:
Rick Kern 2016-06-16 21:22:13 -04:00
parent 2584299ae6
commit 8b069b1cd5

View File

@ -1871,14 +1871,10 @@ static int vtenc_populate_extradata(AVCodecContext *avctx,
goto pe_cleanup;
}
av_log(avctx, AV_LOG_INFO, "Completing\n");
//Populates extradata - output frames are flushed and param sets are available.
status = VTCompressionSessionCompleteFrames(vtctx->session,
kCMTimeIndefinite);
av_log(avctx, AV_LOG_INFO, "Completed: %d\n", status);
if (status)
goto pe_cleanup;
@ -1902,8 +1898,6 @@ pe_cleanup:
av_frame_unref(frame);
av_frame_free(&frame);
av_log(avctx, AV_LOG_INFO, "status %d ed %p size %d\n", status, avctx->extradata, avctx->extradata_size);
av_assert0(status != 0 || (avctx->extradata && avctx->extradata_size > 0));
return status;