Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
885b6b8a
Commit
885b6b8a
authored
Apr 02, 2008
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove stupid default 320x200 snapshot size. It now defaults to the original video size.
parent
ee0a4d82
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
src/libvlc-module.c
src/libvlc-module.c
+6
-4
No files found.
src/libvlc-module.c
View file @
885b6b8a
...
...
@@ -457,12 +457,14 @@ static const char *ppsz_pos_descriptions[] =
#define SNAP_WIDTH_TEXT N_("Video snapshot width")
#define SNAP_WIDTH_LONGTEXT N_( \
"You can enforce the width of the video snapshot. By default " \
"it will be 320 pixels." )
"it will keep the original width (-1). Using 0 will scale the width " \
"to keep the aspect ratio." )
#define SNAP_HEIGHT_TEXT N_("Video snapshot height")
#define SNAP_HEIGHT_LONGTEXT N_( \
"You can enforce the height of the video snapshot. By default " \
"it will be 200 pixels." )
"it will keep the original height (-1). Using 0 will scale the height " \
"to keep the aspect ratio." )
#define CROP_TEXT N_("Video cropping")
#define CROP_LONGTEXT N_( \
...
...
@@ -1512,9 +1514,9 @@ vlc_module_begin();
SNAP_PREVIEW_LONGTEXT
,
VLC_FALSE
);
add_bool
(
"snapshot-sequential"
,
VLC_FALSE
,
NULL
,
SNAP_SEQUENTIAL_TEXT
,
SNAP_SEQUENTIAL_LONGTEXT
,
VLC_FALSE
);
add_integer
(
"snapshot-width"
,
320
,
NULL
,
SNAP_WIDTH_TEXT
,
add_integer
(
"snapshot-width"
,
-
1
,
NULL
,
SNAP_WIDTH_TEXT
,
SNAP_WIDTH_LONGTEXT
,
VLC_TRUE
);
add_integer
(
"snapshot-height"
,
200
,
NULL
,
SNAP_HEIGHT_TEXT
,
add_integer
(
"snapshot-height"
,
-
1
,
NULL
,
SNAP_HEIGHT_TEXT
,
SNAP_HEIGHT_LONGTEXT
,
VLC_TRUE
);
set_section
(
N_
(
"Window properties"
),
NULL
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment