MediaKit and MediaPlayer Style Fixes
* Suggested by korli, thanks!
This commit is contained in:
parent
6646363eba
commit
51c8ec34d0
@ -722,7 +722,7 @@ DragSortableListView::RemoveSelected()
|
||||
{
|
||||
BList indices;
|
||||
GetSelectedItems(indices);
|
||||
int32 index = CurrentSelection()-1;
|
||||
int32 index = CurrentSelection() - 1;
|
||||
|
||||
DeselectAll();
|
||||
|
||||
|
@ -247,11 +247,9 @@ BMediaEventLooper::ControlLoop()
|
||||
// notify to the producer only the portion
|
||||
// that might be attributable.
|
||||
bigtime_t lateness = waitUntil - TimeSource()->RealTime();
|
||||
if (lateness < 0) {
|
||||
if (event.enqueue_time > waitUntil) {
|
||||
lateness = event.enqueue_time
|
||||
- TimeSource()->RealTime();
|
||||
}
|
||||
if (lateness < 0 && event.enqueue_time > waitUntil) {
|
||||
lateness = event.enqueue_time
|
||||
- TimeSource()->RealTime();
|
||||
}
|
||||
DispatchEvent(&event, -lateness, hasRealtime);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user