mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-21 09:53:50 +00:00
Reduce some indentation
This commit is contained in:
parent
6cedd64509
commit
f555dc60eb
1 changed files with 59 additions and 58 deletions
|
@ -462,12 +462,17 @@ public:
|
|||
VideoPicture *vp;
|
||||
double actual_delay, delay, sync_threshold, ref_clock, diff;
|
||||
|
||||
if(is->video_st)
|
||||
if(!is->video_st)
|
||||
{
|
||||
schedule_refresh(is, 100);
|
||||
return;
|
||||
}
|
||||
if(is->pictq_size == 0)
|
||||
schedule_refresh(is, 1);
|
||||
else
|
||||
{
|
||||
schedule_refresh(is, 1);
|
||||
return;
|
||||
}
|
||||
|
||||
vp = &is->pictq[is->pictq_rindex];
|
||||
|
||||
is->video_current_pts = vp->pts;
|
||||
|
@ -521,10 +526,6 @@ public:
|
|||
is->pictq_cond.notify_one ();
|
||||
is->pictq_mutex.unlock ();
|
||||
}
|
||||
}
|
||||
else
|
||||
schedule_refresh(is, 100);
|
||||
}
|
||||
|
||||
int queue_picture(VideoState *is, AVFrame *pFrame, double pts)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue