#10834: ffmpeg does not gracefully stops when receiving SIGTERM
-------------------------------------+-------------------------------------
             Reporter:  razvan       |                    Owner:  (none)
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  git-master   |               Resolution:
             Keywords:  pulseaudio   |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by pjw91):

 Without `-nostdin`, both 'q' and Ctrl+C DO NOT gracefully shutdown ffmpeg.

 With `-nostdin`, both 'q' and Ctrl+C DO gracefully shutdown ffmpeg.

 The bug is introduced since the following commit:
 
https://github.com/FFmpeg/FFmpeg/commit/d119ae2fd82a494d9430ff4d4fc262961a68c598

 It seems that the removal of `while (!received_sigterm) {` within `static
 int transcode(Scheduler *sch)` causes this issue.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10834#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to