]> git.sesse.net Git - nageru/blobdiff - clip_list.h
Implement fades.
[nageru] / clip_list.h
index eb1340f2514702046632c7c5317b46e415b14710..c853263c13e28047048fcaa7c53aa59df6253d41 100644 (file)
@@ -15,6 +15,7 @@ struct Clip {
        int64_t pts_in = -1, pts_out = -1;  // pts_in is inclusive, pts_out is exclusive.
        std::string descriptions[NUM_CAMERAS];
        unsigned stream_idx = 0;  // For the playlist only.
+       double fade_time_seconds = 0.5;  // For the playlist only.
 };
 
 class DataChangedReceiver {
@@ -99,6 +100,7 @@ public:
                DURATION,
                CAMERA,
                DESCRIPTION,
+               FADE_TIME,
                NUM_COLUMNS
        };