diff options
author | Alessandro Decina <alessandro.d@gmail.com> | 2016-06-02 16:30:02 +1000 |
---|---|---|
committer | Alessandro Decina <alessandro.d@gmail.com> | 2016-06-02 16:30:02 +1000 |
commit | 3d8d60baa87442b5a38383309481bc15c3fade15 (patch) | |
tree | 9900d06146577fe11296539c84fec306d0bdf7b9 /sys/applemedia/vtenc.c | |
parent | 4a83686a57818e182672b25e5040ea5ba0141f03 (diff) | |
download | gstreamer-plugins-bad-3d8d60baa87442b5a38383309481bc15c3fade15.tar.gz |
vtdec: make vtdec_hw fallback to software on renegotiation
When renegotiating mid stream - for example with variable bitrate
streams - and therefore destroying and recreating VTSessions, the
hw decoder might become temporarily unavailable.
To deal with this and avoid erroring out on bitrate changes,
vtdec_hw now falls back to using the software decoder if the hw
one was available at some point but isn't anymore. At
renegotiation/bitrate change time, it will still retry to open
the hardware one.
Diffstat (limited to 'sys/applemedia/vtenc.c')
0 files changed, 0 insertions, 0 deletions