[totem/wip/hadess/subtitle-labels-fixes] backend: Add new BvwTrackType enum



commit 0200e35f62bdb4d58fcbab037171c90c9c742a00
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Feb 18 18:02:21 2019 +0100

    backend: Add new BvwTrackType enum

 src/backend/bacon-video-widget.h | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
---
diff --git a/src/backend/bacon-video-widget.h b/src/backend/bacon-video-widget.h
index 676933f8f..a24f6b566 100644
--- a/src/backend/bacon-video-widget.h
+++ b/src/backend/bacon-video-widget.h
@@ -397,6 +397,20 @@ typedef struct {
        char *codec;
 } BvwLangInfo;
 
+/**
+ * BvwTrackType:
+ * @BVW_TRACK_TYPE_AUDIO: an audio track
+ * @BVW_TRACK_TYPE_SUBTITLE: a subtitle track
+ * @BVW_TRACK_TYPE_ANGLE: a video track
+ *
+ * A type of media track.
+ */
+typedef enum {
+       BVW_TRACK_TYPE_AUDIO,
+       BVW_TRACK_TYPE_SUBTITLE,
+       BVW_TRACK_TYPE_VIDEO
+} BvwTrackType;
+
 void bacon_video_widget_lang_info_free           (BvwLangInfo *info);
 
 GList *bacon_video_widget_get_languages          (BaconVideoWidget *bvw);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]