summaryrefslogtreecommitdiff
path: root/src/include/mm_player_priv.h
diff options
context:
space:
mode:
authorYounghwan Ahn <younghwan_.an@samsung.com>2012-09-03 18:38:24 +0900
committerYounghwan Ahn <younghwan_.an@samsung.com>2012-09-03 18:38:24 +0900
commit86aca17be19ac4cd3b87fcf5d52b225563728cef (patch)
tree45d5b0491142015b8d222c98a637679963c5c4a3 /src/include/mm_player_priv.h
parentf3e126e6f075bf08f52f2e2b84ccc03259b5b1d6 (diff)
downloadlibmm-player-86aca17be19ac4cd3b87fcf5d52b225563728cef.tar.gz
libmm-player-86aca17be19ac4cd3b87fcf5d52b225563728cef.tar.bz2
libmm-player-86aca17be19ac4cd3b87fcf5d52b225563728cef.zip
sync with private (add mm_player_get_track_count, seek check bug)
Diffstat (limited to 'src/include/mm_player_priv.h')
-rwxr-xr-xsrc/include/mm_player_priv.h32
1 files changed, 22 insertions, 10 deletions
diff --git a/src/include/mm_player_priv.h b/src/include/mm_player_priv.h
index 499aee9..3a29bfc 100755
--- a/src/include/mm_player_priv.h
+++ b/src/include/mm_player_priv.h
@@ -198,21 +198,31 @@ enum VideoElementID
};
/* text pipeline's element id */
-enum SubtitleElementID
+enum TextElementID
{
- MMPLAYER_T_PIPE = 0, /* NOTE : MMPLAYER_T_PIPE should be zero */
- MMPLAYER_T_SRC,
+ MMPLAYER_T_BIN = 0, /* NOTE : MMPLAYER_V_BIN should be zero */
MMPLAYER_T_QUEUE,
- MMPLAYER_T_SUBPARSE,
- MMPLAYER_T_TEXTRENDER,
- MMPLAYER_T_FLIP,
- MMPLAYER_T_CONV1,
- MMPLAYER_T_CONV2,
- MMPLAYER_T_SCALE,
+ MMPLAYER_T_OVERLAY,
MMPLAYER_T_SINK,
MMPLAYER_T_NUM
};
+/* subtitle pipeline's element id */
+enum SubtitleElementID
+{
+ MMPLAYER_SUB_PIPE = 0, /* NOTE : MMPLAYER_SUB_PIPE should be zero */
+ MMPLAYER_SUB_SRC,
+ MMPLAYER_SUB_QUEUE,
+ MMPLAYER_SUB_SUBPARSE,
+ MMPLAYER_SUB_TEXTRENDER,
+ MMPLAYER_SUB_FLIP,
+ MMPLAYER_SUB_CONV1,
+ MMPLAYER_SUB_CONV2,
+ MMPLAYER_SUB_SCALE,
+ MMPLAYER_SUB_SINK,
+ MMPLAYER_SUB_NUM
+};
+
/* midi main pipeline's element id */
enum MidiElementID
{
@@ -304,6 +314,7 @@ typedef struct
{
GstTagList *tag_list;
MMPlayerGstElement *mainbin;
+ MMPlayerGstElement *subtitlebin;
MMPlayerGstElement *audiobin;
MMPlayerGstElement *videobin;
MMPlayerGstElement *textbin;
@@ -536,6 +547,7 @@ typedef struct {
gint audiodec_linked;
gint videosink_linked;
gint audiosink_linked;
+ gint textsink_linked;
/* missing plugin during autoplugging */
MissingCodec not_supported_codec;
@@ -553,7 +565,7 @@ typedef struct {
/* support seek even though player is not start */
MMPlayerPendingSeek pending_seek;
- gboolean is_seeking;
+ gboolean doing_seek;
/* prevent to post msg over and over */
gboolean posted_msg;