[vlc-commits] codec: cc: add comments

Francois Cartegnie git at videolan.org
Sun Oct 30 14:06:18 CET 2016


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sat Oct 29 16:21:56 2016 +0200| [2dedff661f4541d395649710125fc432e79769d5] | committer: Francois Cartegnie

codec: cc: add comments

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2dedff661f4541d395649710125fc432e79769d5
---

 modules/codec/cc.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/modules/codec/cc.h b/modules/codec/cc.h
index ab9e240..8605102 100644
--- a/modules/codec/cc.h
+++ b/modules/codec/cc.h
@@ -100,10 +100,10 @@ static inline void cc_Extract( cc_data_t *c, bool b_top_field_first, const uint8
 {
     static const uint8_t p_cc_ga94[4] = { 0x47, 0x41, 0x39, 0x34 };
     static const uint8_t p_cc_dvd[4] = { 0x43, 0x43, 0x01, 0xf8 }; /* ascii 'CC', type_code, cc_block_size */
-    static const uint8_t p_cc_replaytv4a[2] = { 0xbb, 0x02 };
-    static const uint8_t p_cc_replaytv4b[2] = { 0xcc, 0x02 };
-    static const uint8_t p_cc_replaytv5a[2] = { 0x99, 0x02 };
-    static const uint8_t p_cc_replaytv5b[2] = { 0xaa, 0x02 };
+    static const uint8_t p_cc_replaytv4a[2] = { 0xbb, 0x02 };/* RTV4K, BB02xxxxCC02 */
+    static const uint8_t p_cc_replaytv4b[2] = { 0xcc, 0x02 };/* see DVR-ClosedCaption in samples */
+    static const uint8_t p_cc_replaytv5a[2] = { 0x99, 0x02 };/* RTV5K, 9902xxxxAA02 */
+    static const uint8_t p_cc_replaytv5b[2] = { 0xaa, 0x02 };/* see DVR-ClosedCaption in samples */
     static const uint8_t p_cc_scte20[2] = { 0x03, 0x81 };    /* user_data_type_code, SCTE 20 */
     static const uint8_t p_cc_scte20_old[2] = { 0x03, 0x01 };/* user_data_type_code, old, Note 1 */
 



More information about the vlc-commits mailing list