You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
fftools/ffmpeg_demux: stop logging to demuxer context
Only the demuxer itself should do that.
This commit is contained in:
@@ -641,14 +641,14 @@ static void *input_thread(void *arg)
|
|||||||
if (flags && ret == AVERROR(EAGAIN)) {
|
if (flags && ret == AVERROR(EAGAIN)) {
|
||||||
flags = 0;
|
flags = 0;
|
||||||
ret = av_thread_message_queue_send(d->in_thread_queue, &msg, flags);
|
ret = av_thread_message_queue_send(d->in_thread_queue, &msg, flags);
|
||||||
av_log(f->ctx, AV_LOG_WARNING,
|
av_log(f, AV_LOG_WARNING,
|
||||||
"Thread message queue blocking; consider raising the "
|
"Thread message queue blocking; consider raising the "
|
||||||
"thread_queue_size option (current value: %d)\n",
|
"thread_queue_size option (current value: %d)\n",
|
||||||
d->thread_queue_size);
|
d->thread_queue_size);
|
||||||
}
|
}
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
if (ret != AVERROR_EOF)
|
if (ret != AVERROR_EOF)
|
||||||
av_log(f->ctx, AV_LOG_ERROR,
|
av_log(f, AV_LOG_ERROR,
|
||||||
"Unable to send packet to main thread: %s\n",
|
"Unable to send packet to main thread: %s\n",
|
||||||
av_err2str(ret));
|
av_err2str(ret));
|
||||||
av_packet_free(&msg.pkt);
|
av_packet_free(&msg.pkt);
|
||||||
|
Reference in New Issue
Block a user