diff mbox

[FFmpeg-devel,1/3] avutil/frame: add ICC Profile to av_frame_side_data_name

Message ID 20170726043124.6296-1-jamrial@gmail.com
State New
Headers show

Commit Message

James Almer July 26, 2017, 4:31 a.m. UTC
Signed-off-by: James Almer <jamrial@gmail.com>
---
 libavutil/frame.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Rostislav Pehlivanov July 26, 2017, 6:06 a.m. UTC | #1
On 26 July 2017 at 05:31, James Almer <jamrial@gmail.com> wrote:

> Signed-off-by: James Almer <jamrial@gmail.com>
> ---
>  libavutil/frame.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/libavutil/frame.c b/libavutil/frame.c
> index 24d5d5f184..f01b4d7b64 100644
> --- a/libavutil/frame.c
> +++ b/libavutil/frame.c
> @@ -778,6 +778,7 @@ const char *av_frame_side_data_name(enum
> AVFrameSideDataType type)
>      case AV_FRAME_DATA_MASTERING_DISPLAY_METADATA:  return "Mastering
> display metadata";
>      case AV_FRAME_DATA_CONTENT_LIGHT_LEVEL:         return "Content
> light level metadata";
>      case AV_FRAME_DATA_GOP_TIMECODE:                return "GOP timecode";
> +    case AV_FRAME_DATA_ICC_PROFILE:                 return "ICC Profile";
>      }
>      return NULL;
>  }
> --
> 2.13.3
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>

LGTM, thnx
James Almer July 26, 2017, 2:34 p.m. UTC | #2
On 7/26/2017 3:06 AM, Rostislav Pehlivanov wrote:
> On 26 July 2017 at 05:31, James Almer <jamrial@gmail.com> wrote:
> 
>> Signed-off-by: James Almer <jamrial@gmail.com>
>> ---
>>  libavutil/frame.c | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/libavutil/frame.c b/libavutil/frame.c
>> index 24d5d5f184..f01b4d7b64 100644
>> --- a/libavutil/frame.c
>> +++ b/libavutil/frame.c
>> @@ -778,6 +778,7 @@ const char *av_frame_side_data_name(enum
>> AVFrameSideDataType type)
>>      case AV_FRAME_DATA_MASTERING_DISPLAY_METADATA:  return "Mastering
>> display metadata";
>>      case AV_FRAME_DATA_CONTENT_LIGHT_LEVEL:         return "Content
>> light level metadata";
>>      case AV_FRAME_DATA_GOP_TIMECODE:                return "GOP timecode";
>> +    case AV_FRAME_DATA_ICC_PROFILE:                 return "ICC Profile";
>>      }
>>      return NULL;
>>  }
>> --
>> 2.13.3
>>
>> _______________________________________________
>> ffmpeg-devel mailing list
>> ffmpeg-devel@ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>>
> 
> LGTM, thnx

Pushed.
diff mbox

Patch

diff --git a/libavutil/frame.c b/libavutil/frame.c
index 24d5d5f184..f01b4d7b64 100644
--- a/libavutil/frame.c
+++ b/libavutil/frame.c
@@ -778,6 +778,7 @@  const char *av_frame_side_data_name(enum AVFrameSideDataType type)
     case AV_FRAME_DATA_MASTERING_DISPLAY_METADATA:  return "Mastering display metadata";
     case AV_FRAME_DATA_CONTENT_LIGHT_LEVEL:         return "Content light level metadata";
     case AV_FRAME_DATA_GOP_TIMECODE:                return "GOP timecode";
+    case AV_FRAME_DATA_ICC_PROFILE:                 return "ICC Profile";
     }
     return NULL;
 }