diff options
Diffstat (limited to 'player/playloop.c')
-rw-r--r-- | player/playloop.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/player/playloop.c b/player/playloop.c index a0945db845..a7771b8be3 100644 --- a/player/playloop.c +++ b/player/playloop.c @@ -227,9 +227,7 @@ void reset_playback_state(struct MPContext *mpctx) mpctx->cache_buffer = 100; mpctx->seek_slave = NULL; -#if HAVE_ENCODING encode_lavc_discontinuity(mpctx->encode_lavc_ctx); -#endif update_internal_pause_state(mpctx); update_core_idle_state(mpctx); @@ -1067,12 +1065,10 @@ static void handle_eof(struct MPContext *mpctx) void run_playloop(struct MPContext *mpctx) { -#if HAVE_ENCODING if (encode_lavc_didfail(mpctx->encode_lavc_ctx)) { mpctx->stop_play = PT_QUIT; return; } -#endif update_demuxer_properties(mpctx); |