[FFmpeg-devel] [PATCH] Use sws_getCachedContext in ffplay.c?

Alex Beregszaszi alex
Fri Aug 3 20:47:59 CEST 2007


Hi,

> This is both a question and a potential patch.
> 
> When playing an mpeg2 video stream through a hacked-up mpegts and 
> ffplay, we were seeing video not being scaled correctly when the stream 
> changed width and height.  Using  sws_getCachedContext instead of 
> sws_getContext works better for us and would seem to be needed to handle 
>   the video being resized.  Am I missing something?

Looks ok, applied.

--
Alex






More information about the ffmpeg-devel mailing list