Skip to content

Commit f2986c6

Browse files
committed
Update releated structs
1 parent 0e70b49 commit f2986c6

File tree

1 file changed

+37
-5
lines changed

1 file changed

+37
-5
lines changed

packages/video_player_avplay/tizen/inc/plusplayer/plusplayer_wrapper.h

Lines changed: 37 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
namespace plusplayer {
2323

24-
enum class DisplayType { kNone, kOverlay, kEvas, kMixer };
24+
enum class DisplayType { kNone, kOverlay, kEvas, kMixer, kOverlaySyncUI };
2525

2626
enum class DisplayMode {
2727
kLetterBox,
@@ -31,6 +31,7 @@ enum class DisplayMode {
3131
kOriginOrLetter,
3232
kDstRoi,
3333
kAutoAspectRatio,
34+
kDstRoiAutoAspectRatio,
3435
kMax
3536
};
3637

@@ -59,8 +60,22 @@ enum class State {
5960
};
6061

6162
struct Geometry {
62-
int x = 0, y = 0;
63-
int w = 1920, h = 1080;
63+
/**
64+
* @brief start X position of Display window. [Default = 0]
65+
*/
66+
int x = 0;
67+
/**
68+
* @brief start Y position of Display window. [Default = 0]
69+
*/
70+
int y = 0;
71+
/**
72+
* @brief Width of Display window. [Default = 1920]
73+
*/
74+
int w = 1920;
75+
/**
76+
* @brief Height of Display window. [Default = 1080]
77+
*/
78+
int h = 1080;
6479
};
6580

6681
struct PlayerMemento {
@@ -75,6 +90,8 @@ struct PlayerMemento {
7590
buffer_config; /**< Buffer config of current player */
7691
bool is_live = false; /**< Live status of current player */
7792
double current_playback_rate = 1.0; /**< Playback rate of current player */
93+
int aspect_radio_num = 0; /**< Aspect radio num of current player */
94+
int aspect_radio_den = 0; /**< Aspect radio den of current player */
7895
};
7996

8097
enum class ErrorType {
@@ -158,8 +175,14 @@ enum class StreamingMessageType {
158175
kSparseTrackData,
159176
kConnectionRetry,
160177
kConfigLowLatency,
161-
kCurlErrorDebugInfo
178+
kCurlErrorDebugInfo,
179+
kParDarChange,
180+
kDashMPDAnchor,
181+
kDashRemoveStream,
182+
kMediaSyncCSSCII,
183+
kDashLiveToVod
162184
};
185+
163186
enum class SourceType {
164187
kNone,
165188
kBase,
@@ -168,6 +191,7 @@ enum class SourceType {
168191
kDash,
169192
kSmooth,
170193
kFile,
194+
kMem,
171195
kExternalSubtitle,
172196
kNotFound,
173197
kMax
@@ -312,7 +336,15 @@ struct Property {
312336
};
313337
} // namespace drm
314338

315-
enum class SubtitleType { kText, kPicture, kInvalid };
339+
/**
340+
* @brief Enumeration for player supported subtitle types
341+
*/
342+
enum class SubtitleType {
343+
kText, /**< subtitle type text */
344+
kPicture, /**< subtitle type picture */
345+
kTTMLRender, /**< subtitle type ttml */
346+
kInvalid /**< unsupported subtitle type */
347+
};
316348

317349
} // namespace plusplayer
318350

0 commit comments

Comments
 (0)