Mercurial > libdvdnav.hg
comparison navigation.c @ 94:e29110f67f3a src
Get xine dvd:///dev/dvd:1.2 i.e. title play working again.
author | jcdutton |
---|---|
date | Mon, 16 Sep 2002 16:27:18 +0000 |
parents | eeabf5a51b2b |
children | e7ebabe059b9 |
comparison
equal
deleted
inserted
replaced
93:e74cba5129a6 | 94:e29110f67f3a |
---|---|
47 return S_ERR; | 47 return S_ERR; |
48 | 48 |
49 if(!titles) { | 49 if(!titles) { |
50 printerr("Passed a NULL pointer"); | 50 printerr("Passed a NULL pointer"); |
51 return S_ERR; | 51 return S_ERR; |
52 } | |
53 | |
54 if(!this->started) { | |
55 /* Start the VM */ | |
56 vm_start(this->vm); | |
57 this->started = 1; | |
52 } | 58 } |
53 | 59 |
54 (*titles) = vm_get_vmgi(this->vm)->tt_srpt->nr_of_srpts; | 60 (*titles) = vm_get_vmgi(this->vm)->tt_srpt->nr_of_srpts; |
55 | 61 |
56 return S_OK; | 62 return S_OK; |