Commit 5ff0a308 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* Renamed --filter to --video-filter for reasons of consistency. Please check functionality.

* Added a notice of this to news
* Another request from the forum.
parent 25a0dbbb
...@@ -8,7 +8,7 @@ Core support: ...@@ -8,7 +8,7 @@ Core support:
- Tree structure - Tree structure
- Input preparsing (for meta-data) - Input preparsing (for meta-data)
- Grouping (by artist, ...) support - Grouping (by artist, ...) support
* Preferences improvements : * Preferences improvements:
- New organization, designed to improve usability - New organization, designed to improve usability
- New configuration types (list of modules, ...) - New configuration types (list of modules, ...)
* XML parsers * XML parsers
...@@ -18,7 +18,9 @@ Core support: ...@@ -18,7 +18,9 @@ Core support:
* Renamed --spu-channel to --sub-track * Renamed --spu-channel to --sub-track
* Renamed --spumargin to --sub-margin * Renamed --spumargin to --sub-margin
* Renamed --audio-channel to --audio-track * Renamed --audio-channel to --audio-track
* Track selection based on preferred language * Renamed --filter to --video-filter
Multiple video filters are now seperated by ',' instead of ':'
* Track selection based on preferred language (--sub-language and --audio-language)
* Many bugfixes... * Many bugfixes...
Input/Demuxers: Input/Demuxers:
...@@ -51,12 +53,13 @@ Audio output: ...@@ -51,12 +53,13 @@ Audio output:
* Support for 20/24 bits LPCM * Support for 20/24 bits LPCM
Video output: Video output:
* Video snapshot support * Video snapshot support (png or jpg)
* Image file video output (png or jpg) * Image file video output (png)
* Motion detection filter (can trigger playlist actions) * Motion detection filter (can trigger playlist actions)
* Improvements to wall video filter * Improvements to wall video filter
* Mosaic (picture-in-picture system) * Mosaic (picture-in-picture system)
* Support for font color and opacity * Support for font color and opacity
* Fixed Mac OS X OpenGL output
Stream output: Stream output:
* Muxers * Muxers
...@@ -88,7 +91,7 @@ Windows port: ...@@ -88,7 +91,7 @@ Windows port:
BeOS port: BeOS port:
* Support for single-buffered overlay * Support for single-buffered overlay
Pocket PC port : Pocket PC port:
* Many fixes * Many fixes
* New interface * New interface
* New video output * New video output
...@@ -101,6 +104,7 @@ IE Plugin: ...@@ -101,6 +104,7 @@ IE Plugin:
* Brand new Internet Explorer ActiveX plugin * Brand new Internet Explorer ActiveX plugin
Translations: Translations:
The following languages were added
* Danish * Danish
* Greek * Greek
* Hindi * Hindi
......
...@@ -27,6 +27,14 @@ Description: cli option for audio-channels ...@@ -27,6 +27,14 @@ Description: cli option for audio-channels
It's currently not possible to force VLC from stereo to mono mode, or from stereo to reverse stereo or dolby mode. It's one of the few options in VLC that can not yet be forced from Preferences or the commandline. It's currently not possible to force VLC from stereo to mono mode, or from stereo to reverse stereo or dolby mode. It's one of the few options in VLC that can not yet be forced from Preferences or the commandline.
Status: Todo Status: Todo
Task
Difficulty: Hard
Platform: any
Urgency: Wishlist
Description: Java wrapping/bindings
Allow java apps to use VLC perhaps? Several people have suggested something like this.
Status: Todo
Task Task
Difficulty: Easy Difficulty: Easy
Platform: win32/macosx Platform: win32/macosx
......
...@@ -318,17 +318,17 @@ static void GtkDeinterlaceUpdate( intf_thread_t *p_intf, char *psz_mode ) ...@@ -318,17 +318,17 @@ static void GtkDeinterlaceUpdate( intf_thread_t *p_intf, char *psz_mode )
char *psz_filter; char *psz_filter;
unsigned int i; unsigned int i;
psz_filter = config_GetPsz( p_intf, "filter" ); psz_filter = config_GetPsz( p_intf, "video-filter" );
if( !strcmp( psz_mode, "None" ) ) if( !strcmp( psz_mode, "None" ) )
{ {
config_PutPsz( p_intf, "filter", "" ); config_PutPsz( p_intf, "video-filter", "" );
} }
else else
{ {
if( !psz_filter || !*psz_filter ) if( !psz_filter || !*psz_filter )
{ {
config_PutPsz( p_intf, "filter", "deinterlace" ); config_PutPsz( p_intf, "video-filter", "deinterlace" );
} }
else else
{ {
...@@ -337,7 +337,7 @@ static void GtkDeinterlaceUpdate( intf_thread_t *p_intf, char *psz_mode ) ...@@ -337,7 +337,7 @@ static void GtkDeinterlaceUpdate( intf_thread_t *p_intf, char *psz_mode )
psz_filter = realloc( psz_filter, strlen( psz_filter ) + 20 ); psz_filter = realloc( psz_filter, strlen( psz_filter ) + 20 );
strcat( psz_filter, ",deinterlace" ); strcat( psz_filter, ",deinterlace" );
} }
config_PutPsz( p_intf, "filter", psz_filter ); config_PutPsz( p_intf, "video-filter", psz_filter );
} }
} }
......
...@@ -328,7 +328,7 @@ wxPanel *ExtraPanel::VideoPanel( wxWindow *parent ) ...@@ -328,7 +328,7 @@ wxPanel *ExtraPanel::VideoPanel( wxWindow *parent )
panel_sizer->SetSizeHints( panel ); panel_sizer->SetSizeHints( panel );
/* Write down initial values */ /* Write down initial values */
psz_filters = config_GetPsz( p_intf, "filter" ); psz_filters = config_GetPsz( p_intf, "video-filter" );
if( psz_filters && strstr( psz_filters, "adjust" ) ) if( psz_filters && strstr( psz_filters, "adjust" ) )
{ {
adjust_check->SetValue( 1 ); adjust_check->SetValue( 1 );
...@@ -985,7 +985,7 @@ static void ChangeVFiltersString( intf_thread_t *p_intf, ...@@ -985,7 +985,7 @@ static void ChangeVFiltersString( intf_thread_t *p_intf,
vout_thread_t *p_vout; vout_thread_t *p_vout;
char *psz_parser, *psz_string; char *psz_parser, *psz_string;
psz_string = config_GetPsz( p_intf, "filter" ); psz_string = config_GetPsz( p_intf, "video-filter" );
if( !psz_string ) psz_string = strdup(""); if( !psz_string ) psz_string = strdup("");
...@@ -1026,14 +1026,14 @@ static void ChangeVFiltersString( intf_thread_t *p_intf, ...@@ -1026,14 +1026,14 @@ static void ChangeVFiltersString( intf_thread_t *p_intf,
} }
} }
/* Vout is not kept, so put that in the config */ /* Vout is not kept, so put that in the config */
config_PutPsz( p_intf, "filter", psz_string ); config_PutPsz( p_intf, "video-filter", psz_string );
/* Try to set on the fly */ /* Try to set on the fly */
p_vout = (vout_thread_t *)vlc_object_find( p_intf, VLC_OBJECT_VOUT, p_vout = (vout_thread_t *)vlc_object_find( p_intf, VLC_OBJECT_VOUT,
FIND_ANYWHERE ); FIND_ANYWHERE );
if( p_vout ) if( p_vout )
{ {
var_SetString( p_vout, "filter", psz_string ); var_SetString( p_vout, "video-filter", psz_string );
vlc_object_release( p_vout ); vlc_object_release( p_vout );
} }
......
...@@ -960,7 +960,7 @@ vlc_module_begin(); ...@@ -960,7 +960,7 @@ vlc_module_begin();
change_short('V'); change_short('V');
set_subcategory( SUBCAT_VIDEO_VFILTER ); set_subcategory( SUBCAT_VIDEO_VFILTER );
add_module_list_cat( "filter", SUBCAT_VIDEO_VFILTER, NULL, NULL, add_module_list_cat( "video-filter", SUBCAT_VIDEO_VFILTER, NULL, NULL,
FILTER_TEXT, FILTER_LONGTEXT, VLC_FALSE ); FILTER_TEXT, FILTER_LONGTEXT, VLC_FALSE );
#if 0 #if 0
......
...@@ -142,11 +142,11 @@ vout_thread_t *__vout_Request( vlc_object_t *p_this, vout_thread_t *p_vout, ...@@ -142,11 +142,11 @@ vout_thread_t *__vout_Request( vlc_object_t *p_this, vout_thread_t *p_vout,
char *psz_filter_chain; char *psz_filter_chain;
vlc_value_t val; vlc_value_t val;
/* We don't directly check for the "filter" variable for obvious /* We don't directly check for the "video-filter" variable for obvious
* performance reasons. */ * performance reasons. */
if( p_vout->b_filter_change ) if( p_vout->b_filter_change )
{ {
var_Get( p_vout, "filter", &val ); var_Get( p_vout, "video-filter", &val );
psz_filter_chain = val.psz_string; psz_filter_chain = val.psz_string;
if( psz_filter_chain && !*psz_filter_chain ) if( psz_filter_chain && !*psz_filter_chain )
...@@ -352,8 +352,8 @@ vout_thread_t * __vout_Create( vlc_object_t *p_parent, video_format_t *p_fmt ) ...@@ -352,8 +352,8 @@ vout_thread_t * __vout_Create( vlc_object_t *p_parent, video_format_t *p_fmt )
} }
/* Look for the default filter configuration */ /* Look for the default filter configuration */
var_Create( p_vout, "filter", VLC_VAR_STRING | VLC_VAR_DOINHERIT ); var_Create( p_vout, "video-filter", VLC_VAR_STRING | VLC_VAR_DOINHERIT );
var_Get( p_vout, "filter", &val ); var_Get( p_vout, "video-filter", &val );
p_vout->psz_filter_chain = val.psz_string; p_vout->psz_filter_chain = val.psz_string;
} }
else else
...@@ -429,10 +429,10 @@ vout_thread_t * __vout_Create( vlc_object_t *p_parent, video_format_t *p_fmt ) ...@@ -429,10 +429,10 @@ vout_thread_t * __vout_Create( vlc_object_t *p_parent, video_format_t *p_fmt )
var_AddCallback( p_vout, "deinterlace", DeinterlaceCallback, NULL ); var_AddCallback( p_vout, "deinterlace", DeinterlaceCallback, NULL );
var_Create( p_vout, "filter", VLC_VAR_STRING | VLC_VAR_DOINHERIT ); var_Create( p_vout, "video-filter", VLC_VAR_STRING | VLC_VAR_DOINHERIT );
text.psz_string = _("Filters"); text.psz_string = _("Filters");
var_Change( p_vout, "filter", VLC_VAR_SETTEXT, &text, NULL ); var_Change( p_vout, "video-filter", VLC_VAR_SETTEXT, &text, NULL );
var_AddCallback( p_vout, "filter", FilterCallback, NULL ); var_AddCallback( p_vout, "video-filter", FilterCallback, NULL );
/* Calculate delay created by internal caching */ /* Calculate delay created by internal caching */
p_input_thread = (input_thread_t *)vlc_object_find( p_vout, p_input_thread = (input_thread_t *)vlc_object_find( p_vout,
...@@ -1372,7 +1372,7 @@ static int DeinterlaceCallback( vlc_object_t *p_this, char const *psz_cmd, ...@@ -1372,7 +1372,7 @@ static int DeinterlaceCallback( vlc_object_t *p_this, char const *psz_cmd,
char *psz_mode = newval.psz_string; char *psz_mode = newval.psz_string;
char *psz_filter, *psz_deinterlace = NULL; char *psz_filter, *psz_deinterlace = NULL;
var_Get( p_vout, "filter", &val ); var_Get( p_vout, "video-filter", &val );
psz_filter = val.psz_string; psz_filter = val.psz_string;
if( psz_filter ) psz_deinterlace = strstr( psz_filter, "deinterlace" ); if( psz_filter ) psz_deinterlace = strstr( psz_filter, "deinterlace" );
...@@ -1410,7 +1410,7 @@ static int DeinterlaceCallback( vlc_object_t *p_this, char const *psz_cmd, ...@@ -1410,7 +1410,7 @@ static int DeinterlaceCallback( vlc_object_t *p_this, char const *psz_cmd,
var_Set( p_vout, "intf-change", val ); var_Set( p_vout, "intf-change", val );
val.psz_string = psz_filter; val.psz_string = psz_filter;
var_Set( p_vout, "filter", val ); var_Set( p_vout, "video-filter", val );
if( psz_filter ) free( psz_filter ); if( psz_filter ) free( psz_filter );
return VLC_SUCCESS; return VLC_SUCCESS;
...@@ -1436,8 +1436,8 @@ static int FilterCallback( vlc_object_t *p_this, char const *psz_cmd, ...@@ -1436,8 +1436,8 @@ static int FilterCallback( vlc_object_t *p_this, char const *psz_cmd,
/* Modify input as well because the vout might have to be restarted */ /* Modify input as well because the vout might have to be restarted */
val.psz_string = newval.psz_string; val.psz_string = newval.psz_string;
var_Create( p_input, "filter", VLC_VAR_STRING ); var_Create( p_input, "video-filter", VLC_VAR_STRING );
var_Set( p_input, "filter", val ); var_Set( p_input, "video-filter", val );
/* Now restart current video stream */ /* Now restart current video stream */
var_Get( p_input, "video-es", &val ); var_Get( p_input, "video-es", &val );
......
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