Revision 94498ec9 ffmpeg.c

View differences:

ffmpeg.c
424 424
    if ((ret = avfilter_open(&ist->output_video_filter, &output_filter, "out")) < 0)
425 425
        return ret;
426 426

  
427
    snprintf(args, 255, "%d:%d:%d", ist->st->codec->width,
428
             ist->st->codec->height, ist->st->codec->pix_fmt);
427
    snprintf(args, 255, "%d:%d:%d:%d:%d", ist->st->codec->width,
428
             ist->st->codec->height, ist->st->codec->pix_fmt,
429
             ist->st->time_base.num, ist->st->time_base.den);
429 430
    if ((ret = avfilter_init_filter(ist->input_video_filter, args, NULL)) < 0)
430 431
        return ret;
431 432
    if ((ret = avfilter_init_filter(ist->output_video_filter, NULL, &codec->pix_fmt)) < 0)

Also available in: Unified diff