diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-04-02 22:29:26 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-04-02 22:29:26 +0000 |
commit | 13d1512c43c8207c8a3678c9381fab87116af651 (patch) | |
tree | 2d8855529f957fec9422aeefb825977e9b49569f /ffplay.c | |
parent | a3c22fbca6f75cf845ac066bc4e54bddbabd3317 (diff) | |
download | ffmpeg-13d1512c43c8207c8a3678c9381fab87116af651.tar.gz |
10l (vismv fix)
Originally committed as revision 2949 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1167,10 +1167,11 @@ static int stream_component_open(VideoState *is, int stream_index) } codec = avcodec_find_decoder(enc->codec_id); + enc->debug_mv = debug_mv; + enc->debug = debug; if (!codec || avcodec_open(enc, codec) < 0) return -1; - enc->debug = debug; #if defined(HAVE_PTHREADS) || defined(HAVE_W32THREADS) if(thread_count>1) avcodec_thread_init(enc, thread_count); @@ -1204,7 +1205,6 @@ static int stream_component_open(VideoState *is, int stream_index) packet_queue_init(&is->videoq); is->video_tid = SDL_CreateThread(video_thread, is); - enc->debug_mv = debug_mv; break; default: break; |