diff options
author | Eric Hameleers <alien@slackware.com> | 2018-09-08 20:41:12 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2018-09-08 20:41:12 +0000 |
commit | 9a59f1f4972f71bb64c1bec8e985700dd72aeec4 (patch) | |
tree | d69b0aa5940f5196e8d56ee12eda9d9f79a7c148 /vlc/build/patches | |
parent | 444dc206fbb5663d0f9dcae96d4433478b815d42 (diff) | |
download | asb-9a59f1f4972f71bb64c1bec8e985700dd72aeec4.tar.gz asb-9a59f1f4972f71bb64c1bec8e985700dd72aeec4.tar.xz |
Initial revision
Diffstat (limited to 'vlc/build/patches')
-rw-r--r-- | vlc/build/patches/vlc_x264_153api.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/vlc/build/patches/vlc_x264_153api.patch b/vlc/build/patches/vlc_x264_153api.patch new file mode 100644 index 00000000..342776d3 --- /dev/null +++ b/vlc/build/patches/vlc_x264_153api.patch @@ -0,0 +1,16 @@ +Make this module compatible with x264-devel-20180224. +x264_bit_depth is unavailable on versions (X264_BUILD) newer than 153. + +diff --git a/modules/codec/x264.c b/modules/codec/x264.c +index e02048f075..dec95a9c78 100644 +--- a/modules/codec/x264.c ++++ b/modules/codec/x264.c +@@ -842,7 +842,7 @@ static int Open ( vlc_object_t *p_this ) + fullrange |= p_enc->fmt_in.video.b_color_range_full; + p_enc->fmt_in.i_codec = fullrange ? VLC_CODEC_J420 : VLC_CODEC_I420; + p_sys->i_colorspace = X264_CSP_I420; +-#if X264_BUILD >= 118 ++#if X264_BUILD >= 118 && X264_BUILD < 153 + char *psz_profile = var_GetString( p_enc, SOUT_CFG_PREFIX "profile" ); + if( psz_profile ) + { |