summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-12-12 00:43:50 +0100
committerwm4 <wm4@nowhere>2013-01-13 17:39:32 +0100
commit881f82dd33fe8d13e731bfe04077d3abcd149fa3 (patch)
tree8d252a933f51523a73cc93a06af40b515e671bbb /Makefile
parent65a0b5fdc609dac739f6ad1681f845b78589777b (diff)
downloadmpv-881f82dd33fe8d13e731bfe04077d3abcd149fa3.tar.bz2
mpv-881f82dd33fe8d13e731bfe04077d3abcd149fa3.tar.xz
vd_lavc: use refcounting
Note that if the codec doesn't support DR1, the image has to be copied. There is no other way to guarantee that the image will be valid after decoding the next image. The only important codec that doesn't support DR1 yet is rawvideo. It's likely that ffmpeg/Libav will fix this at some time. For now, this decoder uses an evil hack and puts pointers to the packet data into the returned frame. This means the image will actually get invalid as soon as the corresponding video packet is free'd, so copying the image is the only reasonable thing anyway.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions