Apply clippy
This commit is contained in:
parent
44493c73d7
commit
ef8a94508c
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ fn main_loop(pipeline: gst::Pipeline) -> Result<(), Error> {
|
||||||
"This is just an example of \nsubtitle",
|
"This is just an example of \nsubtitle",
|
||||||
"We will learn more about \nGStreamer and buffers today",
|
"We will learn more about \nGStreamer and buffers today",
|
||||||
];
|
];
|
||||||
let mut sub_idx = (0..subtitles.len()).cycle().into_iter();
|
let mut sub_idx = (0..subtitles.len()).cycle();
|
||||||
|
|
||||||
while RUNNING.load(Ordering::Relaxed) {
|
while RUNNING.load(Ordering::Relaxed) {
|
||||||
if let Some(pipeline) = pipeline_weak.upgrade() {
|
if let Some(pipeline) = pipeline_weak.upgrade() {
|
||||||
|
|
Loading…
Reference in a new issue