Mercurial > libdvdnav.hg
comparison dvdnav.c @ 397:a70f79850e5f src
implement and export dvdnav_get_serial_string(); patch by Matthew Wire devel - mrwire - co - uk. Fixed by Erik
| author | nicodvb |
|---|---|
| date | Mon, 02 Feb 2009 22:55:58 +0000 |
| parents | 9c5aef10d165 |
| children | 390fbf2a9602 |
comparison
equal
deleted
inserted
replaced
| 396:6616c485ece0 | 397:a70f79850e5f |
|---|---|
| 823 dvdnav_status_t dvdnav_get_title_string(dvdnav_t *this, const char **title_str) { | 823 dvdnav_status_t dvdnav_get_title_string(dvdnav_t *this, const char **title_str) { |
| 824 (*title_str) = this->vm->dvd_name; | 824 (*title_str) = this->vm->dvd_name; |
| 825 return DVDNAV_STATUS_OK; | 825 return DVDNAV_STATUS_OK; |
| 826 } | 826 } |
| 827 | 827 |
| 828 dvdnav_status_t dvdnav_get_serial_string(dvdnav_t *this, const char **serial_str) { | |
| 829 (*serial_str) = this->vm->dvd_serial; | |
| 830 return DVDNAV_STATUS_OK; | |
| 831 } | |
| 832 | |
| 828 uint8_t dvdnav_get_video_aspect(dvdnav_t *this) { | 833 uint8_t dvdnav_get_video_aspect(dvdnav_t *this) { |
| 829 uint8_t retval; | 834 uint8_t retval; |
| 830 | 835 |
| 831 if(!this->started) { | 836 if(!this->started) { |
| 832 printerr("Virtual DVD machine not started."); | 837 printerr("Virtual DVD machine not started."); |
