[FFmpeg-devel] [PATCH] add hds demuxer

Ricardo Constantino wiiaboo at gmail.com
Fri Oct 14 19:04:52 EEST 2016


On 2016-10-14 14:53, Steven Liu wrote:
> @@ -295,6 +295,7 @@ External library support:
>                             on OSX if openssl and gnutls are not used [autodetect]
>    --enable-x11grab         enable X11 grabbing (legacy) [no]
>    --disable-xlib           disable xlib [autodetect]
> +  --enable-xml2            disable XML parsing using the C library libxml2 [no]
"enable XML parsing" here.
>    --disable-zlib           disable zlib [autodetect]
>  
>    The following libraries provide various hardware acceleration features:
> @@ -1552,6 +1553,7 @@ EXTERNAL_LIBRARY_LIST="
>      videotoolbox
>      x11grab
>      xlib
> +    xml2
>      zlib
>  "
>  
> @@ -2854,6 +2856,7 @@ eac3_demuxer_select="ac3_parser"
>  f4v_muxer_select="mov_muxer"
>  fifo_muxer_deps="threads"
>  flac_demuxer_select="flac_parser"
> +hds_demuxer_deps="xml2"
>  hds_muxer_select="flv_muxer"
>  hls_muxer_select="mpegts_muxer"
>  image2_alias_pix_demuxer_select="image2_demuxer"
> @@ -5675,6 +5678,7 @@ enabled jni               && { [ $target_os = "android" ] && check_header jni.h
>                                 check_lib2 "dlfcn.h" dlopen -ldl; }
>  enabled ladspa            && { check_header ladspa.h || die "ERROR: ladspa.h header not found"; }
>  enabled libiec61883       && require libiec61883 libiec61883/iec61883.h iec61883_cmp_connect -lraw1394 -lavc1394 -lrom1394 -liec61883
> +enabled xml2              && { require_pkg_config libxml-2.0 libxml2/libxml/xmlversion.h xmlCheckVersion || disabled-xml2; }
Just leave the require_pkg_config. If the user enabled xml2 and it wasn't detected then configure is supposed to fail.


More information about the ffmpeg-devel mailing list