Revision 13d1512c

View differences:

ffplay.c
1167 1167
    }
1168 1168

  
1169 1169
    codec = avcodec_find_decoder(enc->codec_id);
1170
    enc->debug_mv = debug_mv;
1171
    enc->debug = debug;
1170 1172
    if (!codec ||
1171 1173
        avcodec_open(enc, codec) < 0)
1172 1174
        return -1;
1173
    enc->debug = debug;
1174 1175
#if defined(HAVE_PTHREADS) || defined(HAVE_W32THREADS)
1175 1176
    if(thread_count>1)
1176 1177
        avcodec_thread_init(enc, thread_count);
......
1204 1205

  
1205 1206
        packet_queue_init(&is->videoq);
1206 1207
        is->video_tid = SDL_CreateThread(video_thread, is);
1207
        enc->debug_mv = debug_mv;
1208 1208
        break;
1209 1209
    default:
1210 1210
        break;

Also available in: Unified diff