This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
avformat/movenc: make AVStream easier to access
This adds a AVStream pointer to Track Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.1
Michael Niedermayer
12 years ago
parent
024bf3a1c2
commit
ce994a03f5
2 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
libavformat/movenc.c
+1
-0
libavformat/movenc.h
+ 1
- 0
libavformat/movenc.c
View File
@@ -3738,6 +3738,7 @@ static int mov_write_header(AVFormatContext *s)
AVDictionaryEntry *lang = av_dict_get(st->metadata, "language", NULL,0);
track->enc = st->codec;
track->st = st;
track->language = ff_mov_iso639_to_lang(lang?lang->value:"und", mov->mode!=MODE_MOV);
if (track->language < 0)
track->language = 0;
+ 1
- 0
libavformat/movenc.h
View File
@@ -98,6 +98,7 @@ typedef struct MOVTrack {
int language;
int track_id;
int tag; ///< stsd fourcc
AVStream *st;
AVCodecContext *enc;
int vos_len;
Write
Preview
Loading…
Cancel
Save