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

Glenn A. Serre gaserre
Fri Aug 3 19:08:25 CEST 2007


Good morning,

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?

I still get sporadic crashes when the video size changes (possibly due 
to the way I change the video stream), but I'm working on that.

Thanks,
--Glenn S.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diff
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070803/00bbb951/attachment.asc>



More information about the ffmpeg-devel mailing list