diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp index 2d0c719..98da891 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2435,7 +2435,6 @@ int main(int argc, char **argv) { if(new_pts == audio_device.frame->pts) continue; audio_device.frame->pts = new_pts; - //audio_device.frame->linesize[0] = sound_buffer_size / 2; if(audio_track.graph) { std::lock_guard<std::mutex> lock(audio_filter_mutex); @@ -2468,7 +2467,6 @@ int main(int argc, char **argv) { if(new_pts == audio_device.frame->pts) continue; audio_device.frame->pts = new_pts; - //audio_device.frame->linesize[0] = sound_buffer_size / 2; if(audio_track.graph) { std::lock_guard<std::mutex> lock(audio_filter_mutex); @@ -2526,7 +2524,6 @@ int main(int argc, char **argv) { if(new_pts == aframe->pts) continue; aframe->pts = new_pts; - //aframe->linesize[0] = sound_buffer_size / 2; err = avcodec_send_frame(audio_track.codec_context, aframe); if(err >= 0){ // TODO: Move to separate thread because this could write to network (for example when livestreaming) |