[vlc-commits] sout: sdi: avoid dead loop
Francois Cartegnie
git at videolan.org
Mon Oct 8 18:11:34 CEST 2018
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Oct 4 18:16:37 2018 +0200| [8757ee3eaf96a158c9319c8bb503ea6e587216d8] | committer: Francois Cartegnie
sout: sdi: avoid dead loop
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8757ee3eaf96a158c9319c8bb503ea6e587216d8
---
modules/stream_out/sdi/DBMSDIOutput.cpp | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/modules/stream_out/sdi/DBMSDIOutput.cpp b/modules/stream_out/sdi/DBMSDIOutput.cpp
index b54473785f..57987276db 100644
--- a/modules/stream_out/sdi/DBMSDIOutput.cpp
+++ b/modules/stream_out/sdi/DBMSDIOutput.cpp
@@ -510,9 +510,8 @@ int DBMSDIOutput::Process()
{
block_t *out = audioMultiplex->Extract(SAMPLES_PER_FRAME);
if(out)
- {
ProcessAudio(out);
- }
+ else break;
}
ProcessVideo(p, reinterpret_cast<block_t *>(captionsBuffer.Dequeue()));
More information about the vlc-commits
mailing list