Commit 0fb207f2 authored by Sam Lade's avatar Sam Lade Committed by Jean-Baptiste Kempf

Bluray: fix issue when libbluray couldn't parse the meta info

This is the case for BD of 2001
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent b9dcd0c7
......@@ -387,6 +387,9 @@ static int blurayControl(demux_t *p_demux, int query, va_list args)
case DEMUX_GET_META:
{
struct meta_dl *meta = bd_get_meta(p_sys->bluray);
if(!meta)
return VLC_EGENERIC;
vlc_meta_t *p_meta = (vlc_meta_t *) va_arg (args, vlc_meta_t*);
if (!EMPTY_STR(meta->di_name)) vlc_meta_SetTitle(p_meta, meta->di_name);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment