diff options
author | wm4 <wm4@nowhere> | 2014-03-16 14:54:21 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-03-16 14:54:21 +0100 |
commit | 269c1e1f41f6daf4ff17ffd47f5dfe78884b8ec7 (patch) | |
tree | 34b017d3e02ebc04c53919c4e452586b608f6848 /video/filter | |
parent | 61f3b188a57aac400829efac1ec6aa8978d28687 (diff) |
vd_lavc: reduce hardware decoder mid-stream reinitializations
Instead of doing it on every seek (libavcodec calls get_format on every
seek), reinitialize the decoder only if the video resolution changes.
Note that this may be relatively naive, since we e.g. (or: in
particular) don't check for profile changes. But it's not worse than the
state before the get_format change, and at least it paints over the
current vaapi breakage (issue #646).
Diffstat (limited to 'video/filter')
0 files changed, 0 insertions, 0 deletions