mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
v4l2: fix regression that caused ffmpeg to occasionally get stuck
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
0d66268e15
commit
3827734591
1 changed files with 1 additions and 0 deletions
|
|
@ -808,6 +808,7 @@ static int v4l2_set_parameters(AVFormatContext *s1)
|
|||
}
|
||||
s1->streams[0]->avg_frame_rate.num = tpf->denominator;
|
||||
s1->streams[0]->avg_frame_rate.den = tpf->numerator;
|
||||
s1->streams[0]->r_frame_rate = s1->streams[0]->avg_frame_rate;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue