Mercurial > libdvdnav.hg
comparison dvdnav/dvdnav.h @ 401:390fbf2a9602 src
Provide a way to retrieve video resolution.
Needed for correct aspect ratio support in VLC.
Patch by Jean-Baptiste Kempf /jb*videolan#org\
author | rathann |
---|---|
date | Tue, 25 May 2010 23:33:59 +0000 |
parents | a70f79850e5f |
children | 9b8bfc56a7fe |
comparison
equal
deleted
inserted
replaced
400:3daa43270d2c | 401:390fbf2a9602 |
---|---|
551 * 0 -- 4:3, 2 -- 16:9 | 551 * 0 -- 4:3, 2 -- 16:9 |
552 */ | 552 */ |
553 uint8_t dvdnav_get_video_aspect(dvdnav_t *self); | 553 uint8_t dvdnav_get_video_aspect(dvdnav_t *self); |
554 | 554 |
555 /* | 555 /* |
556 * Get video resolution. | |
557 */ | |
558 int dvdnav_get_video_resolution(dvdnav_t *self, uint32_t *width, uint32_t *height); | |
559 | |
560 /* | |
556 * Get video scaling permissions. | 561 * Get video scaling permissions. |
557 * The scaling permission does only change on VTS boundaries. | 562 * The scaling permission does only change on VTS boundaries. |
558 * See the DVDNAV_VTS_CHANGE event. | 563 * See the DVDNAV_VTS_CHANGE event. |
559 * | 564 * |
560 * bit0 set = deny letterboxing, bit1 set = deny pan&scan | 565 * bit0 set = deny letterboxing, bit1 set = deny pan&scan |