On 20-07-2019 01:16 PM, Nicolas George wrote:
Gyan (12019-07-20):
Since the auto scaling happens at the end of the graph
Are you sure? IIRC, the scaling happens just after buffersrc.

From the patch,

1)

>  @@ -469,7 +469,7 @@ static int configure_output_video_filter(FilterGraph *fg, OutputFilter *ofilter,
>       if (ret < 0)
>           return ret;
>
>  -    if (ofilter->width || ofilter->height) {
>  +    if ((ofilter->width || ofilter->height) && fg->autoscale) {

and

2)

+    { "autoscale",        HAS_ARG | OPT_BOOL | OPT_SPEC |
+                          OPT_EXPERT | OPT_INPUT,                              
  { .off = OFFSET(autoscale) },
+        "automatically insert a scale filter at the end of the filter graph if a 
resolution"



Gyan

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to