Merge commit '33d18982fa
'
* commit '33d18982fa
':
lavc: add a new bitstream filtering API
Conversions-by: Hendrik Leppkes <h.leppkes@gmail.com>
Conversions-by: Derek Buitenguis <derek.buitenhuis@gmail.com>
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
This commit is contained in:
commit
af9cac1be1
26 changed files with 1586 additions and 648 deletions
|
@ -309,6 +309,12 @@ FF_DISABLE_DEPRECATION_WARNINGS
|
|||
FF_ENABLE_DEPRECATION_WARNINGS
|
||||
#endif
|
||||
|
||||
/* update internal context from codecpar, old bsf api needs this
|
||||
* FIXME: remove when autobsf uses new bsf API */
|
||||
ret = avcodec_parameters_to_context(st->internal->avctx, st->codecpar);
|
||||
if (ret < 0)
|
||||
goto fail;
|
||||
|
||||
if (!st->time_base.num) {
|
||||
/* fall back on the default timebase values */
|
||||
if (par->codec_type == AVMEDIA_TYPE_AUDIO && par->sample_rate)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue