diff options
author | wm4 <wm4@nowhere> | 2019-11-02 22:37:14 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-11-02 22:37:14 +0100 |
commit | 1bb726dedce9ab0cd096bd524e869cf1899697cf (patch) | |
tree | 2ae313eef14f78938d9d40e2e29fc339dccb7e62 /waftools/generators/sources.py | |
parent | dab588a4a255c7a30ef84ecacc92fe8815e402ee (diff) | |
download | mpv-1bb726dedce9ab0cd096bd524e869cf1899697cf.tar.bz2 mpv-1bb726dedce9ab0cd096bd524e869cf1899697cf.tar.xz |
vd_lavc: simplify fallback handling for full stream hw decoder
Shovel the code around to make the data flow slightly simpler (?). At
least there's only one send_packet function now. The old code had the
problem that send_packet() could be called even if there were queued
packets; due to sending the queued packets in the receive_frame
function, this should not happen anymore (the code checking for this
case in send_packet should normally never be called).
Untested with actual full stream hw decoders (none available here); I
created a test case by making hwaccel decoding fail.
Diffstat (limited to 'waftools/generators/sources.py')
0 files changed, 0 insertions, 0 deletions