diff mbox

[FFmpeg-devel,V1,2/2] lavfi/sr: Remove slice thread flag

Message ID 1558786623-11398-2-git-send-email-mypopydev@gmail.com
State Accepted
Commit b983e71bde6c24195b4a65b7713af6dfa58d55e7
Headers show

Commit Message

Jun Zhao May 25, 2019, 12:17 p.m. UTC
From: Jun Zhao <barryjzhao@tencent.com>

sr didn't enable the slice threading, so remove the flag

Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
---
 libavfilter/vf_sr.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

Comments

Zhong Li May 25, 2019, 1:29 p.m. UTC | #1
> From: ffmpeg-devel [mailto:ffmpeg-devel-bounces@ffmpeg.org] On Behalf

> Of Jun Zhao

> Sent: Saturday, May 25, 2019 8:17 PM

> To: ffmpeg-devel@ffmpeg.org

> Cc: Jun Zhao <barryjzhao@tencent.com>

> Subject: [FFmpeg-devel] [PATCH V1 2/2] lavfi/sr: Remove slice thread flag

> 

> From: Jun Zhao <barryjzhao@tencent.com>

> 

> sr didn't enable the slice threading, so remove the flag

> 

> Signed-off-by: Jun Zhao <barryjzhao@tencent.com>

> ---

>  libavfilter/vf_sr.c |    3 +--

>  1 files changed, 1 insertions(+), 2 deletions(-)

> 

> diff --git a/libavfilter/vf_sr.c b/libavfilter/vf_sr.c index 95bd3b7..86dc551

> 100644

> --- a/libavfilter/vf_sr.c

> +++ b/libavfilter/vf_sr.c

> @@ -317,6 +317,5 @@ AVFilter ff_vf_sr = {

>      .inputs        = sr_inputs,

>      .outputs       = sr_outputs,

>      .priv_class    = &sr_class,

> -    .flags         = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC |

> AVFILTER_FLAG_SLICE_THREADS,

> +    .flags         = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC,

>  };

> -

> --

> 1.7.1


LGTM
diff mbox

Patch

diff --git a/libavfilter/vf_sr.c b/libavfilter/vf_sr.c
index 95bd3b7..86dc551 100644
--- a/libavfilter/vf_sr.c
+++ b/libavfilter/vf_sr.c
@@ -317,6 +317,5 @@  AVFilter ff_vf_sr = {
     .inputs        = sr_inputs,
     .outputs       = sr_outputs,
     .priv_class    = &sr_class,
-    .flags         = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC | AVFILTER_FLAG_SLICE_THREADS,
+    .flags         = AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC,
 };
-