mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-23 19:49:56 +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,7 +127,8 @@ 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 ?
|
||||
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",
|
||||
|
Loading…
Reference in New Issue
Block a user