File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
modules/nginx-rtmp-module Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -301,11 +301,11 @@ ngx_rtmp_close_session(ngx_rtmp_session_t *s)
301301
302302 ngx_rtmp_free_merge_frame (s );
303303
304- if (s -> live_type == NGX_HLS_LIVE || s -> live_type == NGX_MPEGTS_LIVE ) {
305- // while (s->out_pos != s->out_last) {
306- // ngx_rtmp_shared_free_mpegts_frame(s->mpegts_out[s->out_pos++]);
307- // s->out_pos %= s->out_queue;
308- // }
304+ if (s -> live_type == NGX_MPEGTS_LIVE ) {
305+ while (s -> out_pos != s -> out_last ) {
306+ ngx_rtmp_shared_free_mpegts_frame (s -> mpegts_out [s -> out_pos ++ ]);
307+ s -> out_pos %= s -> out_queue ;
308+ }
309309 } else {
310310 while (s -> out_pos != s -> out_last ) {
311311 ngx_rtmp_shared_free_frame (s -> out [s -> out_pos ++ ]);
Original file line number Diff line number Diff line change 181181
182182 elif [ " $CMD " == " brew" ]
183183 then
184- brew install -y openssl pcre
184+ brew install openssl pcre
185185 options[${# options[*]} ]=' --with-ld-opt="-L/usr/local/opt/openssl/lib/ -L/usr/local/opt/pcre/lib/"'
186186 options[${# options[*]} ]=' --with-cc-opt="-I/usr/local/opt/openssl/include/ -I/usr/local/opt/pcre/include/"'
187187
You can’t perform that action at this time.
0 commit comments