[libbluray-devel] commit: Added still_mode and still_time to BLURAY_CLIP_INFO (hpi1 )
git at videolan.org
git at videolan.org
Sun Nov 28 16:03:32 CET 2010
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Sun Nov 28 17:01:58 2010 +0200| [468e3b561ac2b74c39b0bf9f09693afb61b799f1] | committer: hpi1
Added still_mode and still_time to BLURAY_CLIP_INFO
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=468e3b561ac2b74c39b0bf9f09693afb61b799f1
---
src/libbluray/bluray.c | 2 ++
src/libbluray/bluray.h | 8 ++++++++
2 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/src/libbluray/bluray.c b/src/libbluray/bluray.c
index 097a24d..0e602e5 100644
--- a/src/libbluray/bluray.c
+++ b/src/libbluray/bluray.c
@@ -1326,6 +1326,8 @@ static BLURAY_TITLE_INFO* _fill_title_info(NAV_TITLE* title, uint32_t title_idx,
NAV_CLIP *nc = &title->clip_list.clip[ii];
ci->pkt_count = nc->end_pkt - nc->start_pkt;
+ ci->still_mode = pi->still_mode;
+ ci->still_time = pi->still_time;
ci->video_stream_count = pi->stn.num_video;
ci->audio_stream_count = pi->stn.num_audio;
ci->pg_stream_count = pi->stn.num_pg + pi->stn.num_pip_pg;
diff --git a/src/libbluray/bluray.h b/src/libbluray/bluray.h
index e7c2014..3da7c11 100644
--- a/src/libbluray/bluray.h
+++ b/src/libbluray/bluray.h
@@ -110,6 +110,12 @@ typedef enum {
BLURAY_TEXT_CHAR_CODE_BIG5 = 0x07
} bd_char_code_e;
+typedef enum {
+ BLURAY_STILL_NONE = 0x00,
+ BLURAY_STILL_TIME = 0x01,
+ BLURAY_STILL_INFINITE = 0x02,
+} bd_still_mode_e;
+
typedef struct bd_stream_info {
uint8_t coding_type;
uint8_t format;
@@ -122,6 +128,8 @@ typedef struct bd_stream_info {
typedef struct bd_clip {
uint32_t pkt_count;
+ uint8_t still_mode;
+ uint16_t still_time; /* seconds */
uint8_t video_stream_count;
uint8_t audio_stream_count;
uint8_t pg_stream_count;
More information about the libbluray-devel
mailing list