command: set 'media-title' property for bluray disc with meta-data

This commit is contained in:
xylosper
2014-03-12 14:41:34 +09:00
committed by wm4
parent d80dc885c6
commit 2f72eecd89
6 changed files with 34 additions and 16 deletions

View File

@@ -727,7 +727,7 @@ static int control(stream_t *stream,int cmd,void* arg)
memcpy(req->palette, d->cur_pgc->palette, sizeof(req->palette));
return STREAM_OK;
}
case STREAM_CTRL_GET_DVD_VOLUME_ID:
case STREAM_CTRL_GET_DISC_NAME:
{
char buffer[128];
if (DVDUDFVolumeInfo(d->dvd, buffer, sizeof(buffer), NULL, 0) < 0 &&