Revision b4aea108 ffmpeg.c

View differences:

ffmpeg.c
2900 2900
            //fprintf(stderr, "\nInput Audio channels: %d", enc->channels);
2901 2901
            audio_channels = enc->channels;
2902 2902
            audio_sample_rate = enc->sample_rate;
2903
            if(audio_disable)
2904
                ic->streams[i]->discard= 1;
2903 2905
            break;
2904 2906
        case CODEC_TYPE_VIDEO:
2905 2907
            frame_height = enc->height;
......
2933 2935
            frame_rate_base = rfps_base;
2934 2936

  
2935 2937
            enc->rate_emu = rate_emu;
2938
            if(video_disable)
2939
                ic->streams[i]->discard= 1;
2936 2940
            break;
2937 2941
        case CODEC_TYPE_DATA:
2938 2942
            break;

Also available in: Unified diff