Credit Andrew - fix vorbis audio which was scratchy and ensure aging plugin does...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / labels.h
index 31015ea43f58d13b853ae31c6ecac9097559177f..72103089a648d002718659d582603d5d1f2b07e4 100644 (file)
@@ -2,6 +2,7 @@
 /*
  * CINELERRA
  * Copyright (C) 2008 Adam Williams <broadcast at earthling dot net>
+ * Copyright (C) 2003-2016 Cinelerra CV contributors
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -60,6 +61,7 @@ public:
        char textstr[BCTEXTLEN];
 // Seconds
        double position;
+       int id, orig_id;
 };
 
 class Labels : public List<Label>
@@ -98,6 +100,7 @@ public:
 // Get nearest labels or 0 if start or end of timeline
        Label* prev_label(double position);
        Label* next_label(double position);
+       Label* get_label(int id);
 
        Label* label_of(double position); // first label on or after position
        TimeBar *timebar;