git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1cdb7f8
)
image vout: assigning -1 to an unsigned int is not that clever.
author
Rafaël Carré
<funman@videolan.org>
Sun, 30 Sep 2007 23:47:55 +0000
(23:47 +0000)
committer
Rafaël Carré
<funman@videolan.org>
Sun, 30 Sep 2007 23:47:55 +0000
(23:47 +0000)
modules/video_output/image.c
patch
|
blob
|
history
diff --git
a/modules/video_output/image.c
b/modules/video_output/image.c
index
847fda6
..
d79a5bf
100644
(file)
--- a/
modules/video_output/image.c
+++ b/
modules/video_output/image.c
@@
-87,10
+87,10
@@
vlc_module_begin( );
add_string( CFG_PREFIX "format", "png", NULL,
FORMAT_TEXT, FORMAT_LONGTEXT, VLC_FALSE );
change_string_list( psz_format_list, psz_format_list_text, 0 );
add_string( CFG_PREFIX "format", "png", NULL,
FORMAT_TEXT, FORMAT_LONGTEXT, VLC_FALSE );
change_string_list( psz_format_list, psz_format_list_text, 0 );
- add_integer( CFG_PREFIX "width",
-1
, NULL,
+ add_integer( CFG_PREFIX "width",
0
, NULL,
WIDTH_TEXT, WIDTH_LONGTEXT, VLC_TRUE );
add_deprecated_alias( "image-width" ); /* since 0.9.0 */
WIDTH_TEXT, WIDTH_LONGTEXT, VLC_TRUE );
add_deprecated_alias( "image-width" ); /* since 0.9.0 */
- add_integer( CFG_PREFIX "height",
-1
, NULL,
+ add_integer( CFG_PREFIX "height",
0
, NULL,
HEIGHT_TEXT, HEIGHT_LONGTEXT, VLC_TRUE );
add_deprecated_alias( "image-height" ); /* since 0.9.0 */
add_integer( CFG_PREFIX "ratio", 3, NULL,
HEIGHT_TEXT, HEIGHT_LONGTEXT, VLC_TRUE );
add_deprecated_alias( "image-height" ); /* since 0.9.0 */
add_integer( CFG_PREFIX "ratio", 3, NULL,