Changeset 37ce2848cd83ba8255190cb0c810f5586cfd785c
- Timestamp:
- 04/08/07 20:50:37
(1 year ago)
- Author:
- Rémi Denis-Courmont <rem@videolan.org>
- git-committer:
- Rémi Denis-Courmont <rem@videolan.org> 1186253437 +0000
- git-parent:
[fe9e45cc87e5e966a945c5638d3c74c548811ded]
- git-author:
- Rémi Denis-Courmont <rem@videolan.org> 1186253437 +0000
- Message:
Fix usage of add_shortcut.
Note that shortcuts are inherited from the main module to submodules, so it is
totally useless to duplicate them paste add_submodule. If you think this is
wrong, I do not necessarily disagree, but it would need a RFC.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| re7a8394 |
r37ce284 |
|
| 107 | 107 | set_description( "Directory EOF"); |
|---|
| 108 | 108 | set_capability( "demux2", 0 ); |
|---|
| 109 | | add_shortcut( "directory" ); |
|---|
| 110 | 109 | set_callbacks( DemuxOpen, NULL ); |
|---|
| 111 | 110 | vlc_module_end(); |
|---|
| … | … | |
| 269 | 268 | |
|---|
| 270 | 269 | /***************************************************************************** |
|---|
| 271 | | * DemuxOpen: |
|---|
| | 270 | * Control: |
|---|
| 272 | 271 | *****************************************************************************/ |
|---|
| 273 | 272 | static int Control( access_t *p_access, int i_query, va_list args ) |
|---|
| r37b0b02 |
r37ce284 |
|
| 229 | 229 | add_submodule(); |
|---|
| 230 | 230 | set_description( _("DirectShow input") ); |
|---|
| 231 | | add_shortcut( "dshow" ); |
|---|
| 232 | 231 | set_capability( "access2", 0 ); |
|---|
| 233 | 232 | set_callbacks( AccessOpen, AccessClose ); |
|---|
| r4b7a421 |
r37ce284 |
|
| 89 | 89 | set_category( CAT_SOUT ); |
|---|
| 90 | 90 | set_subcategory( SUBCAT_SOUT_ACO ); |
|---|
| 91 | | add_shortcut( "ftp" ); |
|---|
| 92 | 91 | set_callbacks( OutOpen, OutClose ); |
|---|
| 93 | 92 | vlc_module_end(); |
|---|
| r01b3900 |
r37ce284 |
|
| 81 | 81 | set_capability( "encoder", 100 ); |
|---|
| 82 | 82 | set_callbacks( OpenEncoder, CloseEncoder ); |
|---|
| 83 | | add_shortcut( "dirac" ); |
|---|
| 84 | 83 | add_float( ENC_CFG_PREFIX "quality", 7.0, NULL, ENC_QUALITY_TEXT, |
|---|
| 85 | 84 | ENC_QUALITY_LONGTEXT, VLC_FALSE ); |
|---|
| r0498efe |
r37ce284 |
|
| 174 | 174 | set_category( CAT_INPUT ); |
|---|
| 175 | 175 | set_subcategory( SUBCAT_INPUT_ACODEC ); |
|---|
| | 176 | add_shortcut( "flac" ); |
|---|
| 176 | 177 | |
|---|
| 177 | 178 | #ifdef USE_LIBFLAC |
|---|
| … | … | |
| 191 | 192 | set_callbacks( OpenPacketizer, CloseDecoder ); |
|---|
| 192 | 193 | |
|---|
| 193 | | add_shortcut( "flac" ); |
|---|
| 194 | 194 | vlc_module_end(); |
|---|
| 195 | 195 | |
|---|
| rf256785 |
r37ce284 |
|
| 106 | 106 | set_capability( "packetizer", 100 ); |
|---|
| 107 | 107 | set_callbacks( OpenPacketizer, CloseDecoder ); |
|---|
| 108 | | add_shortcut( "theora" ); |
|---|
| 109 | 108 | |
|---|
| 110 | 109 | add_submodule(); |
|---|
| … | … | |
| 112 | 111 | set_capability( "encoder", 150 ); |
|---|
| 113 | 112 | set_callbacks( OpenEncoder, CloseEncoder ); |
|---|
| 114 | | add_shortcut( "theora" ); |
|---|
| 115 | 113 | |
|---|
| 116 | 114 | # define ENC_CFG_PREFIX "sout-theora-" |
|---|
| recf51c9 |
r37ce284 |
|
| 123 | 123 | set_callbacks( CreateFilter, DestroyFilter ); |
|---|
| 124 | 124 | set_description( _("Logo sub filter") ); |
|---|
| 125 | | add_shortcut( "logo" ); |
|---|
| 126 | 125 | vlc_module_end(); |
|---|
| 127 | 126 | |
|---|