lavc/videotoolboxenc: remove unnecessary logging

Signed-off-by: Rick Kern <kernrj@gmail.com>
pull/221/head
Rick Kern 9 years ago
parent 2584299ae6
commit 8b069b1cd5
  1. 6
      libavcodec/videotoolboxenc.c

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

Loading…
Cancel
Save