Revision 90da4d76

View differences:

ffmpeg.c
2171 2171
    
2172 2172
    if (has_video) {
2173 2173
        ic = av_open_input_file("", "video_grab_device", 0, ap);
2174
        /* by now video grab has one stream */
2175
        ic->streams[0]->r_frame_rate = ap->frame_rate;
2174 2176
        if (!ic) {
2175 2177
            fprintf(stderr, "Could not open video grab device\n");
2176 2178
            exit(1);

Also available in: Unified diff