[vlc-commits] stream_filter: ifo: add demux option
Francois Cartegnie
git at videolan.org
Sun Mar 4 19:46:06 CET 2018
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sun Mar 4 19:45:37 2018 +0100| [08a7b8fe37a266aca266640ccb0ba0c7b70d1093] | committer: Francois Cartegnie
stream_filter: ifo: add demux option
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=08a7b8fe37a266aca266640ccb0ba0c7b70d1093
---
modules/demux/playlist/ifo.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/demux/playlist/ifo.c b/modules/demux/playlist/ifo.c
index 1cdcad19cd..836acb7f7d 100644
--- a/modules/demux/playlist/ifo.c
+++ b/modules/demux/playlist/ifo.c
@@ -30,6 +30,7 @@
#include <vlc_common.h>
#include <vlc_access.h>
+#include <vlc_url.h>
#include <assert.h>
#include "playlist.h"
@@ -107,6 +108,7 @@ static int ReadDVD( stream_t *p_stream, input_item_node_t *node )
input_item_t *p_input = input_item_New( psz_url, psz_url );
if( p_input )
{
+ input_item_AddOption( p_input, "demux=dvd", VLC_INPUT_OPTION_TRUSTED );
input_item_node_AppendItem( node, p_input );
input_item_Release( p_input );
}
More information about the vlc-commits
mailing list