Revision daed32f7

View differences:

ffmpeg.c
1248 1248

  
1249 1249
                            if(ost->st->codec.codec_type == CODEC_TYPE_AUDIO)
1250 1250
                                audio_size += data_size;
1251
                            else if (ost->st->codec.codec_type == CODEC_TYPE_VIDEO)
1251
                            else if (ost->st->codec.codec_type == CODEC_TYPE_VIDEO) {
1252 1252
                                video_size += data_size;
1253
                                ost->sync_opts++;
1254
                            }
1253 1255

  
1254 1256
                            opkt.stream_index= ost->index;
1255 1257
                            opkt.data= data_buf;

Also available in: Unified diff