Commit 468e3b56 authored by hpi1's avatar hpi1

Added still_mode and still_time to BLURAY_CLIP_INFO

parent cf9ee593
......@@ -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;
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment