Merge pull request #6 from ffplayout/master
fix player control in HLS mode
This commit is contained in:
commit
c03e44e968
@ -1,5 +1,12 @@
|
||||
# Changelog
|
||||
|
||||
## [0.18.4](https://github.com/ffplayout/ffplayout/releases/tag/v0.18.4) (2023-06-25)
|
||||
|
||||
### ffplayout
|
||||
|
||||
- fix player control in HLS Mode [ec33cdb](https://github.com/ffplayout/ffplayout/commit/ec33cdb30944ab19c028a085fcb6d974ec4e81be)
|
||||
|
||||
|
||||
## [0.18.3](https://github.com/ffplayout/ffplayout/releases/tag/v0.18.3) (2023-06-16)
|
||||
|
||||
### ffpapi
|
||||
|
@ -186,7 +186,7 @@ pub fn write_hls(
|
||||
enc_cmd.join(" ")
|
||||
);
|
||||
|
||||
let mut enc_proc = match Command::new("ffmpeg")
|
||||
let mut dec_proc = match Command::new("ffmpeg")
|
||||
.args(enc_cmd)
|
||||
.stderr(Stdio::piped())
|
||||
.spawn()
|
||||
@ -198,8 +198,8 @@ pub fn write_hls(
|
||||
Ok(proc) => proc,
|
||||
};
|
||||
|
||||
let enc_err = BufReader::new(enc_proc.stderr.take().unwrap());
|
||||
*proc_control.encoder_term.lock().unwrap() = Some(enc_proc);
|
||||
let enc_err = BufReader::new(dec_proc.stderr.take().unwrap());
|
||||
*proc_control.decoder_term.lock().unwrap() = Some(dec_proc);
|
||||
|
||||
if let Err(e) = stderr_reader(enc_err, Encoder, proc_control.clone()) {
|
||||
error!("{e:?}")
|
||||
|
Loading…
x
Reference in New Issue
Block a user