Changeset 30698 for titan/titan/struct.h
- Timestamp:
- 10/25/14 13:12:34 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/struct.h
r30678 r30698 1906 1906 typedef enum {atUnknown, atMPEG, atMP3, atAC3, atDTS, atAAC, atPCM, atOGG, atFLAC, atWMA} audiotype_t; 1907 1907 typedef struct _CustomData { 1908 GstElement *playbin2; /* Our one and only element */ 1909 1910 gint n_video; /* Number of embedded video streams */ 1911 gint n_audio; /* Number of embedded audio streams */ 1912 gint n_text; /* Number of embedded subtitle streams */ 1913 1914 gint current_video; /* Currently playing video stream */ 1915 gint current_audio; /* Currently playing audio stream */ 1916 gint current_text; /* Currently playing subtitle stream */ 1917 1908 1918 gboolean is_live; 1909 1919 GstElement *pipeline; 1910 1920 GMainLoop *loop; 1911 1921 } CustomData; 1922 1923 typedef enum { 1924 GST_PLAY_FLAG_VIDEO = (1 << 0), 1925 GST_PLAY_FLAG_AUDIO = (1 << 1), 1926 GST_PLAY_FLAG_TEXT = (1 << 2), 1927 GST_PLAY_FLAG_NATIVE_VIDEO = (1 << 3) 1928 } GstPlayFlags; 1912 1929 #endif 1913 1930
Note: See TracChangeset
for help on using the changeset viewer.