cmdutils: Ask for a sample in case a odd rotation angle is encountered
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
5d309d3091
commit
f320f2f4c6
@ -2249,6 +2249,9 @@ double get_rotation(AVStream *st)
|
|||||||
|
|
||||||
theta -= 360*floor(theta/360 + 0.9/360);
|
theta -= 360*floor(theta/360 + 0.9/360);
|
||||||
|
|
||||||
|
if (fabs(theta - 90*round(theta/90)) > 2)
|
||||||
|
av_log_ask_for_sample(NULL, "Odd rotation angle\n");
|
||||||
|
|
||||||
return theta;
|
return theta;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user