Player: move up timeline and adjust size

keep play button bar at the bottom for all configurations, avoid text and buttons overlay when Player is small. Fix cut timing in selection
This commit is contained in:
Bruno
2021-06-15 23:51:59 +02:00
parent 37445b8857
commit e3578df8a0
4 changed files with 280 additions and 244 deletions

View File

@@ -120,10 +120,15 @@ public:
bool addGap(GstClockTime begin, GstClockTime end);
bool cut(GstClockTime t, bool left, bool join_extremity);
bool removeGaptAt(GstClockTime t);
bool gapAt(const GstClockTime t) const;
bool getGapAt(const GstClockTime t, TimeInterval &gap) const;
// inverse of gaps: sections of play areas
TimeIntervalSet sections() const;
GstClockTime sectionsDuration() const;
GstClockTime sectionsTimeAt(GstClockTime t) const;
size_t fillSectionsArrays(float * const gaps, float * const fading);
// Manipulation of Fading
float fadingAt(const GstClockTime t) const;
size_t fadingIndexAt(const GstClockTime t) const;
@@ -134,10 +139,6 @@ public:
void smoothFading(uint N = 1);
void autoFading(uint milisecond = 100);
bool autoCut();
TimeIntervalSet sections() const;
GstClockTime sectionsDuration() const;
size_t fillSectionsArrays(float * const gaps, float * const fading);
private: