Mercurial > libdvdnav.hg
diff 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 |
line wrap: on
line diff
--- a/dvdnav/dvdnav.h Sun Sep 06 15:26:43 2009 +0000 +++ b/dvdnav/dvdnav.h Tue May 25 23:33:59 2010 +0000 @@ -553,6 +553,11 @@ uint8_t dvdnav_get_video_aspect(dvdnav_t *self); /* + * Get video resolution. + */ +int dvdnav_get_video_resolution(dvdnav_t *self, uint32_t *width, uint32_t *height); + +/* * Get video scaling permissions. * The scaling permission does only change on VTS boundaries. * See the DVDNAV_VTS_CHANGE event.