[vlc-devel] Setup of filter chain picture output size
    Steve Lhomme 
    robux4 at ycbcr.xyz
       
    Mon Oct 31 08:49:36 UTC 2022
    
    
  
On 2022-10-27 15:43, Tobias Rapp wrote:
> On 27/10/2022 14:38, Tobias Rapp wrote:
>> Hi,
>>
>> when implementing a filter chain for video downscaling inside my 
>> custom filter module I stumbled over the problem that the width/height 
>> of the output picture changes depending on whether I stop the chain 
>> after downscaling or pass that picture on to some other filter.
>>
>> [...]
>>
>> Is there something missing to actually get a scaled-down picture when 
>> just processing the data without passing it to the outside?
> 
> After some more research I think that the issue is coming from the 
> "buffer_new" callback handler passed via the "owner" parameter when 
> creating the inner filter chain.
> 
> Will take a deeper look into that direction.
BTW, changing picture dimensions dynamically from filters is not well 
supported (and definitely not in 3.0). You should stick to the size you 
set when created your filter and stick to it.
    
    
More information about the vlc-devel
mailing list