1
mirror of https://code.videolan.org/videolan/vlc synced 2024-07-21 07:24:15 +02:00
Commit Graph

73 Commits

Author SHA1 Message Date
Rémi Denis-Courmont
0549228196 Remove most stray semi-colons in module descriptions
Those multi-lines are still to be done (it's going to be fun...)
See also 5af4cc854b.
2008-10-29 22:14:26 +02:00
Rémi Duraffort
3059bd8f64 Check malloc return value. 2008-08-20 23:22:23 +02:00
Rémi Duraffort
f99e6e9076 Fix memleaks when closing the module. 2008-08-12 22:21:52 +02:00
Jean-Baptiste Kempf
6e10835861 A bit saner values for the bitrates in ASF muxer to reduce WMP caching. 2008-08-11 13:58:58 -07:00
Rémi Denis-Courmont
d794dd855b Format string fixes 2008-07-03 21:19:21 +03:00
Ilkka Ollakka
d34e1a85ea When deleting track, reduce stream bitrate too, unless bitrate is
defined from commandline.
2008-07-02 23:30:13 +03:00
Antoine Cellerier
7c3c44956e Note to self: test compilation before applying patches. 2008-06-30 13:55:59 +02:00
Georgi Chorbadzhiyski
d1e3b1c251 Add --sout-asf-bitrate-override setting to ASF muxer
This patch adds setting to override calculated bit rate outputted
into ASF stream. This is needed in the cases where ASF muxer
receives stream in TS (for example) and can't correctly determine
what output bit rate should be.

Windows Media Player actually uses ASF bitrate setting to calculate
how much to cache and if the output bit rate is wrong it tries to
cache too much or too little.

To test the behaviour before this patch try to stream WMV in TS
container to another VLC that remuxes it into ASF. Open the remuxed
stream into WMP and you'll see how it tries to cache 1%, 2%, 3%
and so on...

Signed-off-by: Antoine Cellerier <dionoea@videolan.org>
2008-06-30 13:42:36 +02:00
Georgi Chorbadzhiyski
fbaa0ee2d6 Small cleanup in asf muxer. Use SOUT_CFG_PREFIX in options setup.
Small cleanup in asf muxer. Use SOUT_CFG_PREFIX in options setup.

Signed-off-by: Antoine Cellerier <dionoea@videolan.org>
2008-06-30 13:30:41 +02:00
Rémi Denis-Courmont
3561b9b28f Plugins: include vlc_common.h directly instead of vlc/vlc.h 2008-05-31 22:10:30 +03:00
Rémi Denis-Courmont
5e15258c9e A lot of missing const in options lists 2008-05-27 22:16:52 +03:00
Rémi Denis-Courmont
13ae40b0ef Use gettext_noop() consistently 2008-05-21 20:19:25 +03:00
Rémi Denis-Courmont
27d483e9ef Include vlc_plugin.h as needed 2008-05-08 19:20:21 +03:00
Pierre d'Herbemont
449fd28aaf Replace vlc_bool_t by bool, VLC_TRUE by true and VLC_FALSE by false.
This improves readability a lot and prevent us from reinventing the wheel.
2008-04-14 02:02:22 +02:00
Rafaël Carré
25ad0cdef1 mux: fix warnings, fix Control() indentation
avi/avi_HeaderAdd_str{h,f}(): removes unused parameter
    mp4/Convert{SUBT,AVC1}() GetD263Tag() Get{Text,Vide}Box(): same
    mpeg/ts/BufferChainClean(): same
    ogg/OggCreate{Header,Footer}(): same
2008-01-29 13:55:19 +00:00
Rémi Denis-Courmont
99fab9089e Don't include config.h from the headers - refs #297.
Missing some cases that I could not test.
Also ffmpeg/chroma.c is locked, so I can but leave it broken.
Fix is for the remaining modules is obvious and the issue is easy to detect.
2008-01-23 21:50:58 +00:00
Rémi Denis-Courmont
4f02842805 Revert the so-called whitelisting commits that are actually blacklisting 2008-01-16 17:51:21 +00:00
Rafaël Carré
806cf51658 input options whitelisting, step 2 (refs #1371) 2008-01-16 17:36:14 +00:00
Laurent Aimar
cfb3d3432c Fixed const warnings. 2007-10-02 18:58:29 +00:00
Rémi Denis-Courmont
7dd2f1548a Use the new block_Fifo functions 2007-09-14 16:36:10 +00:00
Rémi Denis-Courmont
81c5ac29fa Remove stdlib.h 2007-08-20 19:08:22 +00:00
Clément Stenac
d3fe7f2879 A bit of headers cleanup
* Headers in include must contain the structures and prototypes needed
  by the plugins and should be named vlc_*.
* Headers in include/vlc must contain the structures and prototypes
  needed by external libvlc clients

* Moved and renamed some things in headers. 
   - Removed vlc_cpu.h, vlc_error.h (merged in vlc_common)
   - Removed snapshot.h (merged in vlc_vout.h)
   - Removed vlc_spu.h (merged in vlc_osd.h)
   - Removed intf_eject.h and vlc_interaction.h (merged in vlc_interface)
   - Moved all internal headers to src
   - Merged vlc_video.h and video_output.h and move private things to src
   - Removed vlc/intf.h, vlc/aout.h, vlc/vout.h, vlc/decoder.h and vlc/input.h
     (meta headers for use in modules, and often implying too large 
     dependencies)
* Removed some useless dependencies
* Unexported a bunch of functions and structures used only in src/
  (--> Still some work here)
* Finally made input_thread_t and input_source_t (mostly) private. 
  Added input_GetItem to fetch the input_item of an input_thread
* Cleaned up deprecated entries in vlc_symbols.h and bumped up symbol 
  prefix

This commit has a 99% probability of breaking the build, 0.1% of killing
your cat and 0% of getting you hot chicks.
2006-11-26 14:20:34 +00:00
Antoine Cellerier
62fffadfea Rename all sout_Cfg* stuff to config_Chain* (as it isn't really sout specific) 2006-10-01 16:08:37 +00:00
Dennis van Amerongen
5c8a026186 * modules/mux/asf.c: Experimental support for AAC (mp4a) in asf. Needs testing. 2006-05-31 23:12:09 +00:00
Clément Stenac
26b0f760b7 Woops 2006-04-30 17:39:28 +00:00
Clément Stenac
f1588c975c Fortune 2006-04-30 17:36:48 +00:00
Christophe Massiot
386b36feda * ALL: extention -> extension 2006-04-06 17:54:21 +00:00
Clément Stenac
dfce5fb59e Muxers (Refs:#438) 2006-03-31 16:39:23 +00:00
Felix Paul Kühne
bf706caf1d * another 1st string review, refs #438 2006-03-25 12:54:27 +00:00
Antoine Cellerier
2cb472dba0 FSF address change. 2006-01-12 23:10:04 +00:00
Antoine Cellerier
4ca51e782b * fix signedness gcc warning 2005-09-28 18:49:52 +00:00
Sigmund Augdal Helberg
7cf7a7e4df mux/asf.c: codec description fixes suggested by trax 2005-08-01 19:47:12 +00:00
Rémi Denis-Courmont
5e76149b8a Fix undefined symbol error 2005-07-15 14:24:47 +00:00
Rémi Denis-Courmont
fe087a3828 Make Zorglub less unhappy 2005-07-09 06:17:09 +00:00
Rémi Denis-Courmont
85b29bdc28 Copyright fixes
(da big courmischage)
2005-07-08 18:12:44 +00:00
Mark Moriarty
8f45b1e59d mux/asf.c new --sout-asf-packet-size switch. It defaults to 4096, current VLC design, but note that MS' documentation (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmform95/htm/iwmpacketsizesetmaxpacketsize.asp) has: "By default, the maximum packet size is 1400 bytes (chosen because it is below the 1500-byte Ethernet maximum transition unit (MTU) plus the generic routing encapsulation (GRE) tunneling header size)." 2005-03-27 17:49:24 +00:00
Gildas Bazin
a2ce260bd8 * modules/mux/asf.c: for mpeg audio, i_bitspersample needs to be set to 0. 2005-01-21 10:53:29 +00:00
Gildas Bazin
52ccf5a03b * modules/mux/asf.c: another fix for WMA support. 2005-01-20 14:30:17 +00:00
Gildas Bazin
f8ddfa9107 * modules/mux/asf.c: compiler warnings are there for a reason ;) 2005-01-20 13:18:34 +00:00
Gildas Bazin
c330b1e1ef * modules/mux/asf.c: only add an audio error correction field in the case of WMA.
* include/codecs.h: added a couple more audio tags.
2005-01-20 12:32:53 +00:00
Gildas Bazin
efdb286961 * modules/mux/asf.c:
- add an audio error correction field to the stream properties object.
    This is mandated by the spec and makes some versions of WMP a lot happier about playing our files.
  - only put an header extension object when necessary.
2005-01-18 14:36:26 +00:00
Gildas Bazin
c4ddb48c99 * modules/mux/asf.c: properly write the ES type. 2005-01-17 17:01:21 +00:00
Clément Stenac
d5eacbea63 Really fix all the set_name.
Sorry for the trouble
2004-12-16 18:58:12 +00:00
Clément Stenac
a90a19a6b0 Improvements to preferences
* Each module can declare a "human-readable short name" with set_name
* Modules are sorted by category (set_category, set_subcategory).
  Modules configs can be separated by set_section()
* Separated audio-filter and audio-visual
* Separated extraintf and control
* New command and widget : add_module_list() for comma-separated modules
* Vfilters now use "," as separator
2004-12-11 14:45:46 +00:00
Gildas Bazin
2b2cba2a58 * modules/mux/asf.c: fixed header object. mmsh/asf streaming now works with WMP6.4->WMP10. 2004-12-07 14:27:06 +00:00
Clément Stenac
ca0828ec98 Fixed string 2004-10-02 17:57:33 +00:00
Eric Petit
445a554572 + mux/asf.c: gcc < 3 compile fix 2004-09-13 08:27:58 +00:00
Gildas Bazin
574d357da7 * modules/mux/asf.c: include a metadata header to store the video pixel aspect ratio info. 2004-09-09 14:23:44 +00:00
Gildas Bazin
4cf15dfa50 * modules/mux/asf.c: MUX_GET_ADD_STREAM_WAIT == true. Seems even asfh can't send new headers after the stream started. 2004-09-01 14:34:24 +00:00
Gildas Bazin
d65f4002a8 * modules/mux/asf.c: fixed a bug I introduced in my last commit. 2004-09-01 14:07:45 +00:00