add comment

This commit is contained in:
2020-05-26 12:42:40 +02:00
parent a5100020f6
commit 94a09513c0

View File

@@ -124,6 +124,8 @@ async fn transcode(src: &Path, dest: &Path) -> Result<()> {
use gstreamer::MessageView;
match msg.view() {
// we need to actively stop pulling the stream, that's because stream will
// never end despite yielding an `Eos` message
MessageView::Eos(..) => Ok(false),
MessageView::Error(err) => Err(err.get_error()),
_ => Ok(true),