Commit e9fffd88 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Restore resizing functionality with ffmpeg swscale. Please check if crop and...

Restore resizing functionality with ffmpeg swscale. Please check if crop and padding work as expected and report any regressions.
parent a51161fa
...@@ -2283,7 +2283,11 @@ static int transcode_video_process( sout_stream_t *p_stream, ...@@ -2283,7 +2283,11 @@ static int transcode_video_process( sout_stream_t *p_stream,
id->pp_filter[id->i_filter]->p_module = id->pp_filter[id->i_filter]->p_module =
module_Need( id->pp_filter[id->i_filter], module_Need( id->pp_filter[id->i_filter],
#if ( (defined(HAVE_FFMPEG_SWSCALE_H) || defined(HAVE_LIBSWSCALE_TREE)) )
"video filter2", "scale", VLC_TRUE );
#else
"crop padd", 0, 0 ); "crop padd", 0, 0 );
#endif
if( id->pp_filter[id->i_filter]->p_module ) if( id->pp_filter[id->i_filter]->p_module )
{ {
id->pp_filter[id->i_filter]->p_owner = id->pp_filter[id->i_filter]->p_owner =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment