[FFmpeg-cvslog] avfilter/vf_framepack: remove not needed calls and add newline to log

Paul B Mahol git at videolan.org
Tue May 30 03:36:58 EEST 2023


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Tue May 30 01:14:24 2023 +0200| [492f64de0820238b9978827283fa4abbad31f297] | committer: Paul B Mahol

avfilter/vf_framepack: remove not needed calls and add newline to log

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=492f64de0820238b9978827283fa4abbad31f297
---

 libavfilter/vf_framepack.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/libavfilter/vf_framepack.c b/libavfilter/vf_framepack.c
index 6ea88df8b2..6fb7688c0b 100644
--- a/libavfilter/vf_framepack.c
+++ b/libavfilter/vf_framepack.c
@@ -142,7 +142,7 @@ static int config_output(AVFilterLink *outlink)
         height *= 2;
         break;
     default:
-        av_log(ctx, AV_LOG_ERROR, "Unknown packing mode.");
+        av_log(ctx, AV_LOG_ERROR, "Unknown packing mode.\n");
         return AVERROR_INVALIDDATA;
     }
 
@@ -405,14 +405,12 @@ static int activate(AVFilterContext *ctx)
     FF_FILTER_FORWARD_STATUS(ctx->inputs[1], outlink);
 
     if (ff_outlink_frame_wanted(ctx->outputs[0]) &&
-        !ff_outlink_get_status(ctx->inputs[0]) &&
         !s->input_views[0]) {
         ff_inlink_request_frame(ctx->inputs[0]);
         return 0;
     }
 
     if (ff_outlink_frame_wanted(ctx->outputs[0]) &&
-        !ff_outlink_get_status(ctx->inputs[1]) &&
         !s->input_views[1]) {
         ff_inlink_request_frame(ctx->inputs[1]);
         return 0;



More information about the ffmpeg-cvslog mailing list