projects
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e02de9d
)
mxfenc: always assume long gop
author
Anton Khirnov
<anton@khirnov.net>
Sat, 15 Nov 2014 09:41:02 +0000
(10:41 +0100)
committer
Anton Khirnov
<anton@khirnov.net>
Sun, 6 Dec 2015 09:28:36 +0000
(10:28 +0100)
Checking the codec context parameters to find out this information is
far too unreliable to be useful, so it is safer to assume B-frames are
always present.
libavformat/mxfenc.c
patch
|
blob
|
blame
|
history
diff --git
a/libavformat/mxfenc.c
b/libavformat/mxfenc.c
index
0f4155a
..
3a3008b
100644
(file)
--- a/
libavformat/mxfenc.c
+++ b/
libavformat/mxfenc.c
@@
-1295,7
+1295,7
@@
static const UID mxf_mpeg2_codec_uls[] = {
static const UID *mxf_get_mpeg2_codec_ul(AVCodecContext *avctx)
{
- int long_gop =
avctx->gop_size > 1 || avctx->has_b_frames
;
+ int long_gop =
1
;
if (avctx->profile == 4) { // Main
if (avctx->level == 8) // Main