From 7fdfb847f8d10282bdcd7feaff07406da6b4f664 Mon Sep 17 00:00:00 2001 From: Ryan Foster Date: Wed, 29 Apr 2020 19:04:54 -0400 Subject: [PATCH] obs-ffmpeg: Update error message in process_packet The error message in the process_packet function was prefixed with "receive_audio" because it was previously from code in the encode_audio function which was called from the receive_audio function. This is just a string change to avoid being misled to believe that the error is always audio related. --- plugins/obs-ffmpeg/obs-ffmpeg-output.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/obs-ffmpeg/obs-ffmpeg-output.c b/plugins/obs-ffmpeg/obs-ffmpeg-output.c index 0a2bc014e..b26942079 100644 --- a/plugins/obs-ffmpeg/obs-ffmpeg-output.c +++ b/plugins/obs-ffmpeg/obs-ffmpeg-output.c @@ -952,7 +952,7 @@ static int process_packet(struct ffmpeg_output *output) if (ret < 0) { av_free_packet(&packet); ffmpeg_log_error(LOG_WARNING, &output->ff_data, - "receive_audio: Error writing packet: %s", + "process_packet: Error writing packet: %s", av_err2str(ret)); return ret; }