Skip to content

Commit

Permalink
video: remove old vdpau hwaccel API usage
Browse files Browse the repository at this point in the history
While the "old" libavcodec vdpau API is not deprecated (only the very-
old API is), it's still relatively complicated code that badly
duplicates the much simpler newer vdpau code. It exists only for the
sake of older FFmpeg releases; get rid of it.
  • Loading branch information
wm4 committed Aug 9, 2015
1 parent 853ff00 commit 8d66bd7
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 233 deletions.
224 changes: 0 additions & 224 deletions video/decode/vdpau_old.c

This file was deleted.

8 changes: 0 additions & 8 deletions wscript
Original file line number Diff line number Diff line change
Expand Up @@ -753,14 +753,6 @@ hwaccel_features = [
'func': check_statement('libavcodec/vdpau.h',
'av_vdpau_bind_context(0,0,0,AV_HWACCEL_FLAG_ALLOW_HIGH_DEPTH)',
use='libav'),
}, {
'name': '--vdpau-old-hwaccel',
'desc': 'libavcodec VDPAU hwaccel (old API)',
'deps': [ 'vdpau' ],
'deps_neg': [ 'vdpau-hwaccel' ],
'func': check_statement('libavcodec/vdpau.h',
'av_vdpau_alloc_context()',
use='libav'),
}, {
'name': '--dxva2-hwaccel',
'desc': 'libavcodec DXVA2 hwaccel',
Expand Down
1 change: 0 additions & 1 deletion wscript_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,6 @@ def build(ctx):
( "video/decode/vda.c", "vda-hwaccel" ),
( "video/decode/videotoolbox.c", "videotoolbox-hwaccel" ),
( "video/decode/vdpau.c", "vdpau-hwaccel" ),
( "video/decode/vdpau_old.c", "vdpau-old-hwaccel" ),
( "video/filter/vf.c" ),
( "video/filter/vf_buffer.c" ),
( "video/filter/vf_crop.c" ),
Expand Down

0 comments on commit 8d66bd7

Please sign in to comment.