1 Jul 2012 02:48
ffplay: only configure video filters after we got the first frame
Marton Balint <git <at> videolan.org>
2012-07-01 00:48:59 GMT
2012-07-01 00:48:59 GMT
ffmpeg | branch: master | Marton Balint <cus <at> passwd.hu> | Fri Jun 8 00:16:49 2012 +0200| [58f22f70121c2c9f4bf9935d00c7ba7948fbe5c0] | committer: Marton Balint ffplay: only configure video filters after we got the first frame Otherwise the codec width, height and pixel format values may not be set. Signed-off-by: Marton Balint <cus <at> passwd.hu> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=58f22f70121c2c9f4bf9935d00c7ba7948fbe5c0 --- ffplay.c | 33 ++++++++++++++------------------- 1 file changed, 14 insertions(+), 19 deletions(-) diff --git a/ffplay.c b/ffplay.c index c01740a..164958d 100644 --- a/ffplay.c +++ b/ffplay.c <at> <at> -1625,13 +1625,6 <at> <at> static int configure_video_filters(AVFilterGraph *graph, VideoState *is, const c is->in_video_filter = filt_src; is->out_video_filter = filt_out; - if (codec->codec->capabilities & CODEC_CAP_DR1) { - is->use_dr1 = 1; - codec->get_buffer = codec_get_buffer; - codec->release_buffer = codec_release_buffer; - codec->opaque = &is->buffer_pool; - }(Continue reading)
RSS Feed