Commit 6eba2c82 authored by cRTrn13's avatar cRTrn13

VLC patch updates: --depth 1 added to HOWTO and fixed bug with caching setting...

VLC patch updates: --depth 1 added to HOWTO and fixed bug with caching setting (although I'm still not sure it's doing anything)
parent 2e9f26e8
====================
================
HOW TO PATCH VLC
====================
================
Tested with vlc git version (2010-01-07)
1. Get vlc source from repository:
git clone git://git.videolan.org/vlc.git
git clone git://git.videolan.org/vlc.git --depth 1
2. Change into vlc/ directory and apply the patch:
......@@ -24,7 +24,7 @@ Tested with vlc git version (2010-01-07)
sudo make install
5. Start vlc and configure the new "Access modul" BLURAY
5. Start vlc and configure the new "Access module" BLURAY
6. Run vlc passing it a bluray:// url as follows:
......@@ -36,6 +36,5 @@ Tested with vlc git version (2010-01-07)
NOTE:
Before running mplayer, you can turn off all libbluray debug messages using 'export BD_DEBUG_MASK=0'.
This will help with performance and clean up your terminal.
You can also use different mplayer options such as caching, different VOs etc to ensure a smooth playback.
Before running vlc, you can turn off all libbluray debug messages using 'export BD_DEBUG_MASK=0'.
This will help with performance and clean up your terminal.
\ No newline at end of file
......@@ -34,10 +34,10 @@ static void blurayClose( vlc_object_t * );
vlc_module_begin ()
set_shortname( N_("BLURAY") )
set_description( N_("Blue-Ray Disc (libbluray)") )
set_description( N_("Blu-Ray Disc (libbluray)") )
set_category( CAT_INPUT )
set_subcategory( SUBCAT_INPUT_ACCESS )
add_integer( "bd-caching", DEFAULT_PTS_DELAY / 1000, NULL,
add_integer( "bluray-caching", 1000, NULL,
CACHING_TEXT, CACHING_LONGTEXT, true )
add_file("keycfg-db", "/usr/local/share/bluray/keycfg.db", NULL,
KEYCFG_TEXT, KEYCFG_LONGTEXT, false);
......@@ -90,7 +90,7 @@ static int blurayOpen( vlc_object_t *object )
return VLC_EGENERIC;
}
var_Create( p_access, "bd-caching", VLC_VAR_INTEGER|VLC_VAR_DOINHERIT );
var_Create( p_access, "bluray-caching", VLC_VAR_INTEGER|VLC_VAR_DOINHERIT );
var_Create( p_access, "keycfg-db", VLC_VAR_STRING|VLC_VAR_DOINHERIT );
var_Create( p_access, "debug-mask", VLC_VAR_STRING|VLC_VAR_DOINHERIT );
......@@ -144,7 +144,7 @@ static int blurayOpen( vlc_object_t *object )
return VLC_EGENERIC;
}
p_sys->i_bd_delay = var_GetInteger(p_access, "bd-caching");
p_sys->i_bd_delay = var_GetInteger(p_access, "bluray-caching");
return VLC_SUCCESS;
}
......
......@@ -66,10 +66,10 @@ diff -rupN vlc.orig/modules/access/bluray/bluray.c vlc.new/modules/access/bluray
+
+vlc_module_begin ()
+ set_shortname( N_("BLURAY") )
+ set_description( N_("Blue-Ray Disc (libbluray)") )
+ set_description( N_("Blu-Ray Disc (libbluray)") )
+ set_category( CAT_INPUT )
+ set_subcategory( SUBCAT_INPUT_ACCESS )
+ add_integer( "bd-caching", DEFAULT_PTS_DELAY / 1000, NULL,
+ add_integer( "bluray-caching", DEFAULT_PTS_DELAY / 1000, NULL,
+ CACHING_TEXT, CACHING_LONGTEXT, true )
+ add_file("keycfg-db", "/usr/local/share/bluray/keycfg.db", NULL,
+ KEYCFG_TEXT, KEYCFG_LONGTEXT, false);
......@@ -119,7 +119,7 @@ diff -rupN vlc.orig/modules/access/bluray/bluray.c vlc.new/modules/access/bluray
+ return VLC_EGENERIC;
+ }
+
+ var_Create( p_access, "bd-caching", VLC_VAR_INTEGER|VLC_VAR_DOINHERIT );
+ var_Create( p_access, "bluray-caching", VLC_VAR_INTEGER|VLC_VAR_DOINHERIT );
+ var_Create( p_access, "keycfg-db", VLC_VAR_STRING|VLC_VAR_DOINHERIT );
+
+ keycfg = var_GetString(p_access, "keycfg-db");
......@@ -166,7 +166,7 @@ diff -rupN vlc.orig/modules/access/bluray/bluray.c vlc.new/modules/access/bluray
+ return VLC_EGENERIC;
+ }
+
+ p_sys->i_bd_delay = var_GetInteger(p_access, "bd-caching");
+ p_sys->i_bd_delay = var_GetInteger(p_access, "bluray-caching");
+
+ return VLC_SUCCESS;
+}
......
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