diff options
author | wm4 <wm4@nowhere> | 2019-11-02 21:37:52 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-11-02 21:38:19 +0100 |
commit | dab588a4a255c7a30ef84ecacc92fe8815e402ee (patch) | |
tree | aba698e6d267e4ad2cfe5ae2089a108c46916b9c /video | |
parent | 203fc6fe4487faab680936661cc445b10ed02894 (diff) | |
download | mpv-dab588a4a255c7a30ef84ecacc92fe8815e402ee.tar.bz2 mpv-dab588a4a255c7a30ef84ecacc92fe8815e402ee.tar.xz |
vd_lavc: signal packet consumed in drop-all case
This is just a very special code path. This probably got stuck, now that
the previous commit returned the EAGAIN properly. Untested.
Diffstat (limited to 'video')
-rw-r--r-- | video/decode/vd_lavc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/decode/vd_lavc.c b/video/decode/vd_lavc.c index dd80603433..42b7b959cb 100644 --- a/video/decode/vd_lavc.c +++ b/video/decode/vd_lavc.c @@ -977,7 +977,7 @@ static int do_send_packet(struct mp_filter *vd, struct demux_packet *pkt) return AVERROR_UNKNOWN; if (avctx->skip_frame == AVDISCARD_ALL) - return AVERROR(EAGAIN); + return 0; AVPacket avpkt; mp_set_av_packet(&avpkt, pkt, &ctx->codec_timebase); |