Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
1b2b3551
Commit
1b2b3551
authored
Sep 03, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add_bool: wants a boolean.
parent
6661f221
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
24 deletions
+24
-24
modules/audio_output/file.c
modules/audio_output/file.c
+1
-1
modules/codec/vorbis.c
modules/codec/vorbis.c
+1
-1
modules/codec/x264.c
modules/codec/x264.c
+21
-21
modules/packetizer/mpegvideo.c
modules/packetizer/mpegvideo.c
+1
-1
No files found.
modules/audio_output/file.c
View file @
1b2b3551
...
@@ -122,7 +122,7 @@ vlc_module_begin ()
...
@@ -122,7 +122,7 @@ vlc_module_begin ()
CHANNELS_TEXT
,
CHANNELS_LONGTEXT
,
true
)
CHANNELS_TEXT
,
CHANNELS_LONGTEXT
,
true
)
add_file
(
"audiofile-file"
,
"audiofile.wav"
,
NULL
,
FILE_TEXT
,
add_file
(
"audiofile-file"
,
"audiofile.wav"
,
NULL
,
FILE_TEXT
,
FILE_LONGTEXT
,
false
)
FILE_LONGTEXT
,
false
)
add_bool
(
"audiofile-wav"
,
1
,
NULL
,
WAV_TEXT
,
WAV_LONGTEXT
,
true
)
add_bool
(
"audiofile-wav"
,
true
,
NULL
,
WAV_TEXT
,
WAV_LONGTEXT
,
true
)
set_capability
(
"audio output"
,
0
)
set_capability
(
"audio output"
,
0
)
add_shortcut
(
"file"
)
add_shortcut
(
"file"
)
...
...
modules/codec/vorbis.c
View file @
1b2b3551
...
@@ -203,7 +203,7 @@ vlc_module_begin ()
...
@@ -203,7 +203,7 @@ vlc_module_begin ()
ENC_MAXBR_LONGTEXT
,
false
)
ENC_MAXBR_LONGTEXT
,
false
)
add_integer
(
ENC_CFG_PREFIX
"min-bitrate"
,
0
,
NULL
,
ENC_MINBR_TEXT
,
add_integer
(
ENC_CFG_PREFIX
"min-bitrate"
,
0
,
NULL
,
ENC_MINBR_TEXT
,
ENC_MINBR_LONGTEXT
,
false
)
ENC_MINBR_LONGTEXT
,
false
)
add_bool
(
ENC_CFG_PREFIX
"cbr"
,
0
,
NULL
,
ENC_CBR_TEXT
,
add_bool
(
ENC_CFG_PREFIX
"cbr"
,
false
,
NULL
,
ENC_CBR_TEXT
,
ENC_CBR_LONGTEXT
,
false
)
ENC_CBR_LONGTEXT
,
false
)
#endif
#endif
...
...
modules/codec/x264.c
View file @
1b2b3551
...
@@ -449,7 +449,7 @@ vlc_module_begin ()
...
@@ -449,7 +449,7 @@ vlc_module_begin ()
#if X264_BUILD >= 55
/* r607 */
#if X264_BUILD >= 55
/* r607 */
# if X264_BUILD < 67
/* r1117 */
# if X264_BUILD < 67
/* r1117 */
add_bool
(
SOUT_CFG_PREFIX
"pre-scenecut"
,
0
,
NULL
,
PRESCENE_TEXT
,
add_bool
(
SOUT_CFG_PREFIX
"pre-scenecut"
,
false
,
NULL
,
PRESCENE_TEXT
,
PRESCENE_LONGTEXT
,
false
)
PRESCENE_LONGTEXT
,
false
)
# else
# else
add_obsolete_bool
(
SOUT_CFG_PREFIX
"pre-scenecut"
)
add_obsolete_bool
(
SOUT_CFG_PREFIX
"pre-scenecut"
)
...
@@ -465,7 +465,7 @@ vlc_module_begin ()
...
@@ -465,7 +465,7 @@ vlc_module_begin ()
B_ADAPT_LONGTEXT
,
false
)
B_ADAPT_LONGTEXT
,
false
)
change_integer_range
(
0
,
2
)
change_integer_range
(
0
,
2
)
#elif X264_BUILD >= 0x0013
/* r137 */
#elif X264_BUILD >= 0x0013
/* r137 */
add_bool
(
SOUT_CFG_PREFIX
"b-adapt"
,
1
,
NULL
,
B_ADAPT_TEXT
,
add_bool
(
SOUT_CFG_PREFIX
"b-adapt"
,
true
,
NULL
,
B_ADAPT_TEXT
,
B_ADAPT_LONGTEXT
,
false
)
B_ADAPT_LONGTEXT
,
false
)
#endif
#endif
...
@@ -475,10 +475,10 @@ vlc_module_begin ()
...
@@ -475,10 +475,10 @@ vlc_module_begin ()
change_integer_range
(
-
100
,
100
)
change_integer_range
(
-
100
,
100
)
#endif
#endif
add_bool
(
SOUT_CFG_PREFIX
"bpyramid"
,
0
,
NULL
,
BPYRAMID_TEXT
,
add_bool
(
SOUT_CFG_PREFIX
"bpyramid"
,
false
,
NULL
,
BPYRAMID_TEXT
,
BPYRAMID_LONGTEXT
,
false
)
BPYRAMID_LONGTEXT
,
false
)
add_bool
(
SOUT_CFG_PREFIX
"cabac"
,
1
,
NULL
,
CABAC_TEXT
,
CABAC_LONGTEXT
,
add_bool
(
SOUT_CFG_PREFIX
"cabac"
,
true
,
NULL
,
CABAC_TEXT
,
CABAC_LONGTEXT
,
false
)
false
)
add_integer
(
SOUT_CFG_PREFIX
"ref"
,
3
,
NULL
,
REF_TEXT
,
add_integer
(
SOUT_CFG_PREFIX
"ref"
,
3
,
NULL
,
REF_TEXT
,
...
@@ -486,7 +486,7 @@ vlc_module_begin ()
...
@@ -486,7 +486,7 @@ vlc_module_begin ()
change_integer_range
(
1
,
16
)
change_integer_range
(
1
,
16
)
add_deprecated_alias
(
SOUT_CFG_PREFIX
"frameref"
)
/* Deprecated since 0.8.5 */
add_deprecated_alias
(
SOUT_CFG_PREFIX
"frameref"
)
/* Deprecated since 0.8.5 */
add_bool
(
SOUT_CFG_PREFIX
"nf"
,
0
,
NULL
,
NF_TEXT
,
add_bool
(
SOUT_CFG_PREFIX
"nf"
,
false
,
NULL
,
NF_TEXT
,
NF_LONGTEXT
,
false
)
NF_LONGTEXT
,
false
)
add_deprecated_alias
(
SOUT_CFG_PREFIX
"loopfilter"
)
/* Deprecated since 0.8.5 */
add_deprecated_alias
(
SOUT_CFG_PREFIX
"loopfilter"
)
/* Deprecated since 0.8.5 */
...
@@ -507,7 +507,7 @@ vlc_module_begin ()
...
@@ -507,7 +507,7 @@ vlc_module_begin ()
change_string_list
(
profile_list
,
profile_list
,
0
);
change_string_list
(
profile_list
,
profile_list
,
0
);
#if X264_BUILD >= 51
/* r570 */
#if X264_BUILD >= 51
/* r570 */
add_bool
(
SOUT_CFG_PREFIX
"interlaced"
,
0
,
NULL
,
INTERLACED_TEXT
,
INTERLACED_LONGTEXT
,
add_bool
(
SOUT_CFG_PREFIX
"interlaced"
,
false
,
NULL
,
INTERLACED_TEXT
,
INTERLACED_LONGTEXT
,
false
)
false
)
#endif
#endif
...
@@ -605,7 +605,7 @@ vlc_module_begin ()
...
@@ -605,7 +605,7 @@ vlc_module_begin ()
#endif
#endif
#if X264_BUILD >= 0x0012
/* r134 */
#if X264_BUILD >= 0x0012
/* r134 */
add_bool
(
SOUT_CFG_PREFIX
"weightb"
,
1
,
NULL
,
WEIGHTB_TEXT
,
add_bool
(
SOUT_CFG_PREFIX
"weightb"
,
true
,
NULL
,
WEIGHTB_TEXT
,
WEIGHTB_LONGTEXT
,
false
)
WEIGHTB_LONGTEXT
,
false
)
#endif
#endif
...
@@ -634,7 +634,7 @@ vlc_module_begin ()
...
@@ -634,7 +634,7 @@ vlc_module_begin ()
#if X264_BUILD >= 41
#if X264_BUILD >= 41
# if X264_BUILD < 65
/* r368 */
# if X264_BUILD < 65
/* r368 */
add_bool
(
SOUT_CFG_PREFIX
"b-rdo"
,
0
,
NULL
,
B_RDO_TEXT
,
add_bool
(
SOUT_CFG_PREFIX
"b-rdo"
,
false
,
NULL
,
B_RDO_TEXT
,
B_RDO_LONGTEXT
,
false
)
B_RDO_LONGTEXT
,
false
)
# else
# else
add_obsolete_bool
(
SOUT_CFG_PREFIX
"b-rdo"
)
add_obsolete_bool
(
SOUT_CFG_PREFIX
"b-rdo"
)
...
@@ -642,18 +642,18 @@ vlc_module_begin ()
...
@@ -642,18 +642,18 @@ vlc_module_begin ()
#endif
#endif
#if X264_BUILD >= 36
/* r318 */
#if X264_BUILD >= 36
/* r318 */
add_bool
(
SOUT_CFG_PREFIX
"mixed-refs"
,
1
,
NULL
,
MIXED_REFS_TEXT
,
add_bool
(
SOUT_CFG_PREFIX
"mixed-refs"
,
true
,
NULL
,
MIXED_REFS_TEXT
,
MIXED_REFS_LONGTEXT
,
false
)
MIXED_REFS_LONGTEXT
,
false
)
#endif
#endif
#if X264_BUILD >= 23
/* r171 */
#if X264_BUILD >= 23
/* r171 */
add_bool
(
SOUT_CFG_PREFIX
"chroma-me"
,
1
,
NULL
,
CHROMA_ME_TEXT
,
add_bool
(
SOUT_CFG_PREFIX
"chroma-me"
,
true
,
NULL
,
CHROMA_ME_TEXT
,
CHROMA_ME_LONGTEXT
,
false
)
CHROMA_ME_LONGTEXT
,
false
)
#endif
#endif
#if X264_BUILD >= 43
#if X264_BUILD >= 43
# if X264_BUILD < 65
/* r390 */
# if X264_BUILD < 65
/* r390 */
add_bool
(
SOUT_CFG_PREFIX
"bime"
,
0
,
NULL
,
BIME_TEXT
,
add_bool
(
SOUT_CFG_PREFIX
"bime"
,
false
,
NULL
,
BIME_TEXT
,
BIME_LONGTEXT
,
false
)
BIME_LONGTEXT
,
false
)
# else
# else
add_obsolete_bool
(
SOUT_CFG_PREFIX
"bime"
)
add_obsolete_bool
(
SOUT_CFG_PREFIX
"bime"
)
...
@@ -661,7 +661,7 @@ vlc_module_begin ()
...
@@ -661,7 +661,7 @@ vlc_module_begin ()
#endif
#endif
#if X264_BUILD >= 30
/* r251 */
#if X264_BUILD >= 30
/* r251 */
add_bool
(
SOUT_CFG_PREFIX
"8x8dct"
,
0
,
NULL
,
TRANSFORM_8X8DCT_TEXT
,
add_bool
(
SOUT_CFG_PREFIX
"8x8dct"
,
false
,
NULL
,
TRANSFORM_8X8DCT_TEXT
,
TRANSFORM_8X8DCT_LONGTEXT
,
false
)
TRANSFORM_8X8DCT_LONGTEXT
,
false
)
#endif
#endif
...
@@ -672,12 +672,12 @@ vlc_module_begin ()
...
@@ -672,12 +672,12 @@ vlc_module_begin ()
#endif
#endif
#if X264_BUILD >= 42
/* r384 */
#if X264_BUILD >= 42
/* r384 */
add_bool
(
SOUT_CFG_PREFIX
"fast-pskip"
,
1
,
NULL
,
FAST_PSKIP_TEXT
,
add_bool
(
SOUT_CFG_PREFIX
"fast-pskip"
,
true
,
NULL
,
FAST_PSKIP_TEXT
,
FAST_PSKIP_LONGTEXT
,
false
)
FAST_PSKIP_LONGTEXT
,
false
)
#endif
#endif
#if X264_BUILD >= 46
/* r503 */
#if X264_BUILD >= 46
/* r503 */
add_bool
(
SOUT_CFG_PREFIX
"dct-decimate"
,
1
,
NULL
,
DCT_DECIMATE_TEXT
,
add_bool
(
SOUT_CFG_PREFIX
"dct-decimate"
,
true
,
NULL
,
DCT_DECIMATE_TEXT
,
DCT_DECIMATE_LONGTEXT
,
false
)
DCT_DECIMATE_LONGTEXT
,
false
)
#endif
#endif
...
@@ -700,24 +700,24 @@ vlc_module_begin ()
...
@@ -700,24 +700,24 @@ vlc_module_begin ()
/* Input/Output */
/* Input/Output */
#if X264_BUILD >= 55
/* r607 */
#if X264_BUILD >= 55
/* r607 */
add_bool
(
SOUT_CFG_PREFIX
"non-deterministic"
,
0
,
NULL
,
NON_DETERMINISTIC_TEXT
,
add_bool
(
SOUT_CFG_PREFIX
"non-deterministic"
,
false
,
NULL
,
NON_DETERMINISTIC_TEXT
,
NON_DETERMINISTIC_LONGTEXT
,
false
)
NON_DETERMINISTIC_LONGTEXT
,
false
)
#endif
#endif
add_bool
(
SOUT_CFG_PREFIX
"asm"
,
1
,
NULL
,
ASM_TEXT
,
add_bool
(
SOUT_CFG_PREFIX
"asm"
,
true
,
NULL
,
ASM_TEXT
,
ASM_LONGTEXT
,
false
)
ASM_LONGTEXT
,
false
)
/* x264 psnr = 1 (default). disable PSNR computation for speed. */
/* x264 psnr = 1 (default). disable PSNR computation for speed. */
add_bool
(
SOUT_CFG_PREFIX
"psnr"
,
0
,
NULL
,
PSNR_TEXT
,
add_bool
(
SOUT_CFG_PREFIX
"psnr"
,
false
,
NULL
,
PSNR_TEXT
,
PSNR_LONGTEXT
,
false
)
PSNR_LONGTEXT
,
false
)
#if X264_BUILD >= 50
/* r554 */
#if X264_BUILD >= 50
/* r554 */
/* x264 ssim = 1 (default). disable SSIM computation for speed. */
/* x264 ssim = 1 (default). disable SSIM computation for speed. */
add_bool
(
SOUT_CFG_PREFIX
"ssim"
,
0
,
NULL
,
SSIM_TEXT
,
add_bool
(
SOUT_CFG_PREFIX
"ssim"
,
false
,
NULL
,
SSIM_TEXT
,
SSIM_LONGTEXT
,
false
)
SSIM_LONGTEXT
,
false
)
#endif
#endif
add_bool
(
SOUT_CFG_PREFIX
"quiet"
,
0
,
NULL
,
QUIET_TEXT
,
add_bool
(
SOUT_CFG_PREFIX
"quiet"
,
false
,
NULL
,
QUIET_TEXT
,
QUIET_LONGTEXT
,
false
)
QUIET_LONGTEXT
,
false
)
#if X264_BUILD >= 47
/* r518 */
#if X264_BUILD >= 47
/* r518 */
...
@@ -725,11 +725,11 @@ vlc_module_begin ()
...
@@ -725,11 +725,11 @@ vlc_module_begin ()
SPS_ID_LONGTEXT
,
false
)
SPS_ID_LONGTEXT
,
false
)
#endif
#endif
add_bool
(
SOUT_CFG_PREFIX
"aud"
,
0
,
NULL
,
AUD_TEXT
,
add_bool
(
SOUT_CFG_PREFIX
"aud"
,
false
,
NULL
,
AUD_TEXT
,
AUD_LONGTEXT
,
false
)
AUD_LONGTEXT
,
false
)
#if X264_BUILD >= 0x000e
/* r81 */
#if X264_BUILD >= 0x000e
/* r81 */
add_bool
(
SOUT_CFG_PREFIX
"verbose"
,
0
,
NULL
,
VERBOSE_TEXT
,
add_bool
(
SOUT_CFG_PREFIX
"verbose"
,
false
,
NULL
,
VERBOSE_TEXT
,
VERBOSE_LONGTEXT
,
false
)
VERBOSE_LONGTEXT
,
false
)
#endif
#endif
...
...
modules/packetizer/mpegvideo.c
View file @
1b2b3551
...
@@ -73,7 +73,7 @@ vlc_module_begin ()
...
@@ -73,7 +73,7 @@ vlc_module_begin ()
set_capability
(
"packetizer"
,
50
)
set_capability
(
"packetizer"
,
50
)
set_callbacks
(
Open
,
Close
)
set_callbacks
(
Open
,
Close
)
add_bool
(
"packetizer-mpegvideo-sync-iframe"
,
0
,
NULL
,
SYNC_INTRAFRAME_TEXT
,
add_bool
(
"packetizer-mpegvideo-sync-iframe"
,
false
,
NULL
,
SYNC_INTRAFRAME_TEXT
,
SYNC_INTRAFRAME_LONGTEXT
,
true
)
SYNC_INTRAFRAME_LONGTEXT
,
true
)
vlc_module_end
()
vlc_module_end
()
...
...
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