summaryrefslogtreecommitdiffstats
path: root/stream/stream_dvdnav.c
diff options
context:
space:
mode:
authorxylosper <darklin20@gmail.com>2014-03-12 14:41:34 +0900
committerwm4 <wm4@nowhere>2014-03-13 14:36:20 +0100
commit2f72eecd890da9c6f460b1351e02b90610dff88c (patch)
treea2d07b06b9700dced4fc707758b96c98c3c433c6 /stream/stream_dvdnav.c
parentd80dc885c6e0dc1b2d5defa6aeed215a710c0340 (diff)
downloadmpv-2f72eecd890da9c6f460b1351e02b90610dff88c.tar.bz2
mpv-2f72eecd890da9c6f460b1351e02b90610dff88c.tar.xz
command: set 'media-title' property for bluray disc with meta-data
Diffstat (limited to 'stream/stream_dvdnav.c')
-rw-r--r--stream/stream_dvdnav.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream_dvdnav.c b/stream/stream_dvdnav.c
index 508acd4d04..2fa1fc53ae 100644
--- a/stream/stream_dvdnav.c
+++ b/stream/stream_dvdnav.c
@@ -602,7 +602,7 @@ static int control(stream_t *stream, int cmd, void *arg)
handle_cmd(stream, (struct mp_nav_cmd *)arg);
return STREAM_OK;
}
- case STREAM_CTRL_GET_DVD_VOLUME_ID: {
+ case STREAM_CTRL_GET_DISC_NAME: {
const char *volume = NULL;
if (dvdnav_get_title_string(dvdnav, &volume) != DVDNAV_STATUS_OK)
break;