diff options
author | wm4 <wm4@nowhere> | 2012-12-22 21:46:53 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-01-13 20:04:10 +0100 |
commit | 1f32250629c990859b0f6a7d70bcbe3bd2d6afae (patch) | |
tree | bd4b294ace0079f594611c93f0865f2efce7e622 /core/m_option.c | |
parent | 1b9d4a771a27d6017d826ed03dfbbc7ee976bf77 (diff) | |
download | mpv-1f32250629c990859b0f6a7d70bcbe3bd2d6afae.tar.bz2 mpv-1f32250629c990859b0f6a7d70bcbe3bd2d6afae.tar.xz |
vd_lavc: make non-reference frames writeable
This allows avoiding a copy.
The logic about using the AVFrame.reference field if buffer hints are
not available is similar to mplayer-svn's direct rendering code. This is
needed because h264 decoding doesn't set buffer hints.
<wm4> michaelni: couldn't it set buffer hints from AVFrame.reference then?
<michaelni> i see no reason ATM why that wouldnt be possible
OK...
Diffstat (limited to 'core/m_option.c')
0 files changed, 0 insertions, 0 deletions