diff options
author | Mark Thompson <sw@jkqxz.net> | 2017-05-15 22:42:14 +0100 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2017-05-16 22:23:14 +0100 |
commit | 6ea220cbeec8863e2006a03b73bed52db2b13ee7 (patch) | |
tree | 9c64f2ef11902decf8ecd0247c1b95642dcb3e42 /libavcodec/vaapi_encode_h264.c | |
parent | 4d56f7ab8f627aa140c1ede1bb61305f01cefcdd (diff) | |
download | ffmpeg-streaming-6ea220cbeec8863e2006a03b73bed52db2b13ee7.zip ffmpeg-streaming-6ea220cbeec8863e2006a03b73bed52db2b13ee7.tar.gz |
h264_sei: Add namespace prefix to all SEI values
This avoids confusion with equivalent H.265 SEI values when both are
being used at the same time.
Diffstat (limited to 'libavcodec/vaapi_encode_h264.c')
-rw-r--r-- | libavcodec/vaapi_encode_h264.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/vaapi_encode_h264.c b/libavcodec/vaapi_encode_h264.c index 0c3ac34..7583a20 100644 --- a/libavcodec/vaapi_encode_h264.c +++ b/libavcodec/vaapi_encode_h264.c @@ -650,18 +650,18 @@ static void vaapi_encode_h264_write_sei(PutBitContext *pbc, for (payload_type = 0; payload_type < 64; payload_type++) { switch (payload_type) { - case SEI_TYPE_BUFFERING_PERIOD: + case H264_SEI_TYPE_BUFFERING_PERIOD: if (!priv->send_timing_sei || pic->type != PICTURE_TYPE_IDR) continue; write_payload = &vaapi_encode_h264_write_buffering_period; break; - case SEI_TYPE_PIC_TIMING: + case H264_SEI_TYPE_PIC_TIMING: if (!priv->send_timing_sei) continue; write_payload = &vaapi_encode_h264_write_pic_timing; break; - case SEI_TYPE_USER_DATA_UNREGISTERED: + case H264_SEI_TYPE_USER_DATA_UNREGISTERED: if (pic->encode_order != 0) continue; write_payload = &vaapi_encode_h264_write_identifier; |