Credit Andrew - updating patches for FFmpeg 7.0 as needed since 6.1, now at 7.0,...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / asset.h
index ce922c22c1e61aaed9c35a73f0a348d975b74527..90b43524b4aade86f80423a2d8669d03e28555f5 100644 (file)
@@ -1,6 +1,7 @@
 /*
  * CINELERRA
  * Copyright (C) 2010 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
 #include "pluginserver.inc"
 
 
-// Time code formats
-#define TC_DROPFRAME 0
-#define TC_NONDROPFRAME 1
-#define TC_PAL 2
-#define TC_FILM 3
-
 class Asset : public Indexable, public ListItem<Asset>
 {
 public:
@@ -155,8 +150,8 @@ public:
 // Length in frames
 // -1 means a still photo
        int64_t video_length;
-
-
+// timecode, unknown=-2, no timecode=-1, timecode>=0 
+       double timecode;
 
 // mp3 compression
        int mp3_bitrate;
@@ -230,9 +225,10 @@ public:
 // TIFF video compression.  An enumeration from filetiff.h
        int tiff_cmodel;
        int tiff_compression;
-
+// AC3 bitrate
        int ac3_bitrate;
-
+// FLAC compression
+       int flac_compression;
 // Insert tag for spherical playback
        int mov_sphere, jpeg_sphere;