mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-23 19:30:05 +00:00
Merge commit '018bdaed37d2f1735dbecfc58309a1a164abadd5'
* commit '018bdaed37d2f1735dbecfc58309a1a164abadd5': setpts: add FRAME_RATE constant Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
This commit is contained in:
commit
ef636aacf5
@ -127,8 +127,9 @@ static int config_input(AVFilterLink *inlink)
|
||||
setpts->var_values[VAR_SAMPLE_RATE] =
|
||||
setpts->type == AVMEDIA_TYPE_AUDIO ? inlink->sample_rate : NAN;
|
||||
|
||||
setpts->var_values[VAR_FRAME_RATE] = inlink->frame_rate.num && inlink->frame_rate.den ?
|
||||
av_q2d(inlink->frame_rate) : NAN;
|
||||
setpts->var_values[VAR_FRAME_RATE] = inlink->frame_rate.num &&
|
||||
inlink->frame_rate.den ?
|
||||
av_q2d(inlink->frame_rate) : NAN;
|
||||
|
||||
av_log(inlink->src, AV_LOG_VERBOSE, "TB:%f FRAME_RATE:%f SAMPLE_RATE:%f\n",
|
||||
setpts->var_values[VAR_TB],
|
||||
|
Loading…
Reference in New Issue
Block a user