mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 22:08:10 +00:00
LibVideo: Remove hook to notify clients upon reaching end of the stream
This reverts commit 33047b38ec
.
This use case is now satisfied with on_playback_state_change and getting
the playback state from the PlaybackManager.
This commit is contained in:
parent
6cd50d1910
commit
f8f35fdaad
2 changed files with 0 additions and 5 deletions
|
@ -129,10 +129,6 @@ void PlaybackManager::dispatch_decoder_error(DecoderError error)
|
|||
case DecoderErrorCategory::EndOfStream:
|
||||
dbgln_if(PLAYBACK_MANAGER_DEBUG, "{}", error.string_literal());
|
||||
TRY_OR_FATAL_ERROR(m_playback_handler->stop());
|
||||
|
||||
if (on_end_of_stream)
|
||||
on_end_of_stream();
|
||||
|
||||
break;
|
||||
default:
|
||||
dbgln("Playback error encountered: {}", error.string_literal());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue