1
0
Fork 0

Export the clip id in BLURAY_CLIP_INFO

This commit is contained in:
Hendrik Leppkes 2016-02-16 16:04:45 +01:00
parent 41b999b34e
commit 51d16f7c74
2 changed files with 2 additions and 0 deletions

View File

@ -2711,6 +2711,7 @@ static BLURAY_TITLE_INFO* _fill_title_info(NAV_TITLE* title, uint32_t title_idx,
NAV_CLIP *nc = &title->clip_list.clip[ii];
memcpy(ci->clip_id, pi->clip->clip_id, sizeof(ci->clip_id));
ci->idx = nc->clip_id;
ci->pkt_count = nc->end_pkt - nc->start_pkt;
ci->start_time = (uint64_t)nc->title_time * 2;
ci->in_time = (uint64_t)pi->in_time * 2;

View File

@ -225,6 +225,7 @@ typedef struct bd_stream_info {
} BLURAY_STREAM_INFO;
typedef struct bd_clip {
uint32_t idx;
uint32_t pkt_count;
uint8_t still_mode;
uint16_t still_time; /* seconds */