diff mbox

[FFmpeg-devel] add FF_DECODE_ERROR_DECODE_SLICES flag for AVFrame.decode_error_flags

Message ID 1561713678-8503-1-git-send-email-amir@livelyvideo.tv
State New
Headers show

Commit Message

Amir Pauker June 28, 2019, 9:21 a.m. UTC
avutil: add FF_DECODE_ERROR_DECODE_SLICES for AVFrame.decode_error_flags 

Signed-off-by: Amir Pauker <amir@livelyvideo.tv>
---
 doc/APIchanges      | 3 +++
 libavutil/frame.h   | 1 +
 libavutil/version.h | 2 +-
 3 files changed, 5 insertions(+), 1 deletion(-)

Comments

Michael Niedermayer June 29, 2019, 4:35 p.m. UTC | #1
On Fri, Jun 28, 2019 at 02:21:18AM -0700, Amir Pauker wrote:
> avutil: add FF_DECODE_ERROR_DECODE_SLICES for AVFrame.decode_error_flags 
> 
> Signed-off-by: Amir Pauker <amir@livelyvideo.tv>
> ---
>  doc/APIchanges      | 3 +++
>  libavutil/frame.h   | 1 +
>  libavutil/version.h | 2 +-
>  3 files changed, 5 insertions(+), 1 deletion(-)

will apply

thanks

[...]
Amir Pauker July 6, 2019, 7:31 p.m. UTC | #2
Thanks Michael,

Could you please also apply the patch [PATCH] set AVFrame
decode_error_flags in case of decoding error by h264dec

It is the code that uses those flags.

Thanks
Amir

On Sat, Jun 29, 2019 at 11:35 AM Michael Niedermayer <michael@niedermayer.cc>
wrote:

> On Fri, Jun 28, 2019 at 02:21:18AM -0700, Amir Pauker wrote:
> > avutil: add FF_DECODE_ERROR_DECODE_SLICES for AVFrame.decode_error_flags
> >
> > Signed-off-by: Amir Pauker <amir@livelyvideo.tv>
> > ---
> >  doc/APIchanges      | 3 +++
> >  libavutil/frame.h   | 1 +
> >  libavutil/version.h | 2 +-
> >  3 files changed, 5 insertions(+), 1 deletion(-)
>
> will apply
>
> thanks
>
> [...]
> --
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
>
> Modern terrorism, a quick summary: Need oil, start war with country that
> has oil, kill hundread thousand in war. Let country fall into chaos,
> be surprised about raise of fundamantalists. Drop more bombs, kill more
> people, be surprised about them taking revenge and drop even more bombs
> and strip your own citizens of their rights and freedoms. to be continued
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
diff mbox

Patch

diff --git a/doc/APIchanges b/doc/APIchanges
index 29a1936..b5fadc2 100644
--- a/doc/APIchanges
+++ b/doc/APIchanges
@@ -15,6 +15,9 @@  libavutil:     2017-10-21
 
 API changes, most recent first:
 
+2019-06-21 - XXXXXXXXXX - lavu 56.30.100 - frame.h
+  Add FF_DECODE_ERROR_DECODE_SLICES
+
 2019-06-14 - XXXXXXXXXX - lavu 56.29.100 - frame.h
   Add FF_DECODE_ERROR_CONCEALMENT_ACTIVE
 
diff --git a/libavutil/frame.h b/libavutil/frame.h
index 54e682e..732b077 100644
--- a/libavutil/frame.h
+++ b/libavutil/frame.h
@@ -564,6 +564,7 @@  typedef struct AVFrame {
 #define FF_DECODE_ERROR_INVALID_BITSTREAM   1
 #define FF_DECODE_ERROR_MISSING_REFERENCE   2
 #define FF_DECODE_ERROR_CONCEALMENT_ACTIVE  4
+#define FF_DECODE_ERROR_DECODE_SLICES       8
 
     /**
      * number of audio channels, only used for audio.
diff --git a/libavutil/version.h b/libavutil/version.h
index dccbb38..e16b93e 100644
--- a/libavutil/version.h
+++ b/libavutil/version.h
@@ -79,7 +79,7 @@ 
  */
 
 #define LIBAVUTIL_VERSION_MAJOR  56
-#define LIBAVUTIL_VERSION_MINOR  29
+#define LIBAVUTIL_VERSION_MINOR  30
 #define LIBAVUTIL_VERSION_MICRO 100
 
 #define LIBAVUTIL_VERSION_INT   AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \