Revision 2bc05d35 ffmpeg.c

View differences:

ffmpeg.c
432 432
    last_filter = ist->input_video_filter;
433 433

  
434 434
    if (ost->video_crop) {
435
        snprintf(args, 255, "%d:%d:%d:%d", ost->leftBand, ost->topBand,
436
                 codec->width,
437
                 codec->height);
435
        snprintf(args, 255, "%d:%d:%d:%d",
436
                 codec->width, codec->height,
437
                 ost->leftBand, ost->topBand);
438 438
        if ((ret = avfilter_open(&filter, avfilter_get_by_name("crop"), NULL)) < 0)
439 439
            return ret;
440 440
        if ((ret = avfilter_init_filter(filter, args, NULL)) < 0)

Also available in: Unified diff