Browse Source

Restore resizing functionality with ffmpeg swscale. Please check if crop and padding work as expected and report any regressions.

pull/2/head
Jean-Paul Saman 19 years ago
parent
commit
e9fffd8895
  1. 4
      modules/stream_out/transcode.c

4
modules/stream_out/transcode.c

@ -2283,7 +2283,11 @@ static int transcode_video_process( sout_stream_t *p_stream,
id->pp_filter[id->i_filter]->p_module =
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 );
#endif
if( id->pp_filter[id->i_filter]->p_module )
{
id->pp_filter[id->i_filter]->p_owner =

Loading…
Cancel
Save