Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
a823d094
Commit
a823d094
authored
Mar 03, 2014
by
Tim Walker
Committed by
Vittorio Giovara
Mar 09, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
matroskaenc: write private data in hvcC format for HEVC.
parent
4f3db5d3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
Makefile
libavformat/Makefile
+1
-1
matroskaenc.c
libavformat/matroskaenc.c
+3
-0
No files found.
libavformat/Makefile
View file @
a823d094
...
@@ -168,7 +168,7 @@ OBJS-$(CONFIG_M4V_MUXER) += rawenc.o
...
@@ -168,7 +168,7 @@ OBJS-$(CONFIG_M4V_MUXER) += rawenc.o
OBJS-$(CONFIG_MATROSKA_DEMUXER)
+=
matroskadec.o
matroska.o
\
OBJS-$(CONFIG_MATROSKA_DEMUXER)
+=
matroskadec.o
matroska.o
\
isom.o
rmsipr.o
isom.o
rmsipr.o
OBJS-$(CONFIG_MATROSKA_MUXER)
+=
matroskaenc.o
matroska.o
\
OBJS-$(CONFIG_MATROSKA_MUXER)
+=
matroskaenc.o
matroska.o
\
isom.o
avc.o
\
isom.o
avc.o
hevc.o
\
flacenc_header.o
avlanguage.o
wv.o
flacenc_header.o
avlanguage.o
wv.o
OBJS-$(CONFIG_MD5_MUXER)
+=
md5enc.o
OBJS-$(CONFIG_MD5_MUXER)
+=
md5enc.o
OBJS-$(CONFIG_MJPEG_DEMUXER)
+=
rawdec.o
OBJS-$(CONFIG_MJPEG_DEMUXER)
+=
rawdec.o
...
...
libavformat/matroskaenc.c
View file @
a823d094
...
@@ -22,6 +22,7 @@
...
@@ -22,6 +22,7 @@
#include <stdint.h>
#include <stdint.h>
#include "avc.h"
#include "avc.h"
#include "hevc.h"
#include "avformat.h"
#include "avformat.h"
#include "avlanguage.h"
#include "avlanguage.h"
#include "flacenc.h"
#include "flacenc.h"
...
@@ -500,6 +501,8 @@ static int mkv_write_codecprivate(AVFormatContext *s, AVIOContext *pb, AVCodecCo
...
@@ -500,6 +501,8 @@ static int mkv_write_codecprivate(AVFormatContext *s, AVIOContext *pb, AVCodecCo
ret
=
put_wv_codecpriv
(
dyn_cp
,
codec
);
ret
=
put_wv_codecpriv
(
dyn_cp
,
codec
);
else
if
(
codec
->
codec_id
==
AV_CODEC_ID_H264
)
else
if
(
codec
->
codec_id
==
AV_CODEC_ID_H264
)
ret
=
ff_isom_write_avcc
(
dyn_cp
,
codec
->
extradata
,
codec
->
extradata_size
);
ret
=
ff_isom_write_avcc
(
dyn_cp
,
codec
->
extradata
,
codec
->
extradata_size
);
else
if
(
codec
->
codec_id
==
AV_CODEC_ID_HEVC
)
ret
=
ff_isom_write_hvcc
(
dyn_cp
,
codec
->
extradata
,
codec
->
extradata_size
,
0
);
else
if
(
codec
->
codec_id
==
AV_CODEC_ID_ALAC
)
{
else
if
(
codec
->
codec_id
==
AV_CODEC_ID_ALAC
)
{
if
(
codec
->
extradata_size
<
36
)
{
if
(
codec
->
extradata_size
<
36
)
{
av_log
(
s
,
AV_LOG_ERROR
,
av_log
(
s
,
AV_LOG_ERROR
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment