projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add bluray dv, misc fixes
[goodguy/history.git]
/
cinelerra-5.1
/
cinelerra
/
ffmpeg.C
diff --git
a/cinelerra-5.1/cinelerra/ffmpeg.C
b/cinelerra-5.1/cinelerra/ffmpeg.C
index 69b8a9dd86bb4801c5929069f07a3f2d4e023c61..4239bc5d203329bb8a852fb24445871d78b85449 100644
(file)
--- a/
cinelerra-5.1/cinelerra/ffmpeg.C
+++ b/
cinelerra-5.1/cinelerra/ffmpeg.C
@@
-1884,6
+1884,9
@@
int FFMPEG::open_encoder(const char *type, const char *spec)
if( fmt_ctx->oformat->flags & AVFMT_GLOBALHEADER )
st->codec->flags |= CODEC_FLAG_GLOBAL_HEADER;
if( fmt_ctx->oformat->flags & AVFMT_GLOBALHEADER )
st->codec->flags |= CODEC_FLAG_GLOBAL_HEADER;
+ av_dict_set(&sopts, "cin_bitrate", 0, 0);
+ av_dict_set(&sopts, "cin_quality", 0, 0);
+
ret = avcodec_open2(st->codec, codec, &sopts);
if( ret < 0 ) {
ff_err(ret,"FFMPEG::open_encoder");
ret = avcodec_open2(st->codec, codec, &sopts);
if( ret < 0 ) {
ff_err(ret,"FFMPEG::open_encoder");