From patchwork Thu Oct 13 14:15:38 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steven Liu X-Patchwork-Id: 985 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.103.140.66 with SMTP id o63csp239386vsd; Thu, 13 Oct 2016 07:15:57 -0700 (PDT) X-Received: by 10.194.74.5 with SMTP id p5mr7339136wjv.92.1476368157407; Thu, 13 Oct 2016 07:15:57 -0700 (PDT) Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id uf1si17943452wjc.223.2016.10.13.07.15.56; Thu, 13 Oct 2016 07:15:57 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE dis=NONE) header.from=gmail.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 9D155689BCD; Thu, 13 Oct 2016 17:15:53 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-qt0-f173.google.com (mail-qt0-f173.google.com [209.85.216.173]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 20E31687ED3 for ; Thu, 13 Oct 2016 17:15:47 +0300 (EEST) Received: by mail-qt0-f173.google.com with SMTP id m5so44803529qtb.3 for ; Thu, 13 Oct 2016 07:15:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=Y+K86eBFRwrXH8USMzIa58NylvWuPtGsxgpkZUkFjDU=; b=VLg8u1uwJ6GZJSXmuSydg+f3BQGX6Bt4DPy3eccmbTbOK4ep0qtBznvptAOj/oB1Ef BxO1cfIWwioNuU/Oa3X/TtPeazVzCiusMJEKLXNYjzgyLye/SBGuLQCkAUlZ/fJ9phZd h1JZsRPz92W2n5epzqokt3D6F86DNhU/IJVEEEbjPcVbUaHMQKZwiiBXmROtF+gC5bm2 bpv8r7TeE2MS1uSln7Bjo7Wdn4ptWBJ4BvKn0j9WMfxnoRutbZeqQi7rL5mjG0ULenMC 1keYVmKgR4/hwPKWD/vM0oACYB1jnU5yiqUKy7eEmArxBIB25G/wWh7rvJEWlNtoaId+ 7uTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=Y+K86eBFRwrXH8USMzIa58NylvWuPtGsxgpkZUkFjDU=; b=nDXmg+L2dSEj5GTju7Oa8VzUfiWvaLvDBWX2RshkOJwsLPtNLgLQytO/zdhHbuP3Qg oTly4OzNW1zUuD/9lpaKjAI96YnKeJ2H87302crB+oY/terEGEeofSiUFD2aEmOxNcnC jABAkTw3cXRHiNBKTiYWtdc6cpvBZegPSX/QWqv178PfKq+8LjHAmeXvoK8lWRCSeTl1 7yRvpw0zXr+aXA4pvFKkaNgbrwDbp9gKPDVAXTjM5whO2T5JqB2w1Wzob+/8One5N5/8 CGCPtg3kXnF4+tSi32X8pvptNSCi75q09p4ZrtShR3p4rp9owiyIcYgIu0CO1PBdnZI+ UCOw== X-Gm-Message-State: AA6/9RnB91xipLGfg17z5Z5bk1NQpXxEvsYUMEE8FGwlu1CmoPiY7oHLpizGAJ5StHBjRUmoJ2I25OAD6UYZOw== X-Received: by 10.237.59.130 with SMTP id r2mr7025719qte.77.1476368139372; Thu, 13 Oct 2016 07:15:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.237.33.198 with HTTP; Thu, 13 Oct 2016 07:15:38 -0700 (PDT) In-Reply-To: References: <20161013064957.13487-1-lq@chinaffmpeg.org> From: Steven Liu Date: Thu, 13 Oct 2016 22:15:38 +0800 Message-ID: To: FFmpeg development discussions and patches X-Content-Filtered-By: Mailman/MimeDel 2.1.20 Subject: Re: [FFmpeg-devel] [PATCH] add hds demuxer X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" 2016-10-13 17:41 GMT+08:00 Carl Eugen Hoyos : > 2016-10-13 8:51 GMT+02:00 Steven Liu : > > patch update. > > > > xml2 disabled by default > > Before reading Nicolas' mail, I wanted to suggest that you fix > autodetection instead... > > Carl Eugen > Hi Carl, I need your help, I have search all the history mail, keywords 'autodetection' , i saw your patch have autodetection context is like this: Is this right? Or can you give me a doc link to learn this. diff --git a/libavformat/Makefile b/libavformat/Makefile index 5d827d3..e2b4dd4 100644 --- a/libavformat/Makefile +++ b/libavformat/Makefile @@ -202,6 +202,7 @@ OBJS-$(CONFIG_H264_DEMUXER) += h264dec.o rawdec.o OBJS-$(CONFIG_H264_MUXER) += rawenc.o OBJS-$(CONFIG_HASH_MUXER) += hashenc.o OBJS-$(CONFIG_HDS_MUXER) += hdsenc.o +OBJS-$(CONFIG_HDS_DEMUXER) += hdsdec.o amfmetadata.o f4mmanifest.o f4fbox.o flvtag.o OBJS-$(CONFIG_HEVC_DEMUXER) += hevcdec.o rawdec.o OBJS-$(CONFIG_HEVC_MUXER) += rawenc.o OBJS-$(CONFIG_HLS_DEMUXER) += hls.o diff --git a/libavformat/allformats.c b/libavformat/allformats.c index 6a216ef..39505c3 100644 --- a/libavformat/allformats.c +++ b/libavformat/allformats.c @@ -146,9 +146,9 @@ void av_register_all(void) REGISTER_MUXDEMUX(H263, h263); REGISTER_MUXDEMUX(H264, h264); REGISTER_MUXER (HASH, hash); - REGISTER_MUXER (HDS, hds); REGISTER_MUXDEMUX(HEVC, hevc); REGISTER_MUXDEMUX(HLS, hls); + REGISTER_MUXDEMUX(HDS, hds); REGISTER_DEMUXER (HNM, hnm); REGISTER_MUXDEMUX(ICO, ico); REGISTER_DEMUXER (IDCIN, idcin);