elonen
elonen
Oh, looks like `tokio::task::spawn_blocking` also loses the output. Adding this... ```rust #[tokio::test] #[traced_test] async fn test_4_tokio_blocking() { tracing::info!("Test thread"); tokio::task::spawn_blocking(|| hello() ).await.unwrap(); assert!(logs_contain("Test thread")); assert!(logs_contain("Hello, world!")); } ``` ...results in:...
Asserting inside the thread block (instead of after joining it) works, but this doesn't really help with integration tests, where the tested functionality uses multiple threads internally.
Thank you. Test 2 (`tokio::spawn`) still works like documented with `features=["no-env-filter"]`, but test 4 (`tokio::spawn_blocking`) fails. Passing the span manually into a thread with `Span::or_current()` indeed fixes the asserts for...
Showing an SRT wouldn't technically be very difficult. The bigger question is, how the UI/UX should support this feature. For example, how would you attach an SRT to a video,...
Subtitles implemented in `master`.
If you have a tested patch / pull request, I'd appreciate it! I wrote this for one art project and haven't really touched it since.