Commit Graph

82 Commits

Author SHA1 Message Date
Gildas Bazin
1a67448183 * configure.ac: fix for wxWindows headers detection.
* all: changed the prototype of vout_AllocatePicture() and vout_InitPicture().
* src/video_output/vout_pictures.c: new vout_InitFormat() function that initialises a video_frame_format_t structure.
* include/vlc_video.h: extended video_frame_format_t.
* modules/codec/rawvideo.c: ported to the new decoder api.
* modules/video_output/x11/*: simplifications.
2003-10-24 21:27:07 +00:00
Gildas Bazin
c28682f6ad * include/vlc_help.h src/libvlc.h: thou shalt not hardcode newlines in the middle of sentences.
* src/extras/libc.c, include/vlc_common.h: resuscitated vlc_wraptext() and added utf8 support.
* modules/gui/wxwindows/preferences.cpp: use vlc_wraptext() for capabilities help.
2003-10-08 19:40:42 +00:00
Gildas Bazin
7d0c93158d * include/vlc_common.h: ssize_t is now typedefed in new mingw headers.
* modules/access/dshow/dshow.cpp: compilation fix related to ssize_t.
* share/vlc_win32_rc.rc: stringify version number.
* mozilla/*: compilation fix and cosmetic changes to the .rc.
2003-09-21 10:23:59 +00:00
Clément Stenac
402252afb6 Added some Doxygen doc 2003-09-18 17:54:02 +00:00
Laurent Aimar
0925ed0b72 * src/video_output/video_output.c : do not use FIND_ANYWHERE to catch
the playlist.  but use FIND_PARENT. vlc_object_find  with FIND_ANYWHERE
 use p_obj->p_vlc as a starting point  and that doesn't work as playlist
 is  detach from  vlc before  vout is  destroyed by  the decoders  (when
 shutting down)  Perhaps vlc_object_find  should be  fixing to  find the
 root object, but I'm not sure.

 * src/input/*  : move  subtitle handling  from avi  to input.  Now subs
 should works with all file types _BUT_ won't be in synch if the demuxer
 doesn't implement a _precise_ DEMUX_GET_TIME.  So only .avi, .mp4 will
 be ok. Others could works if perfectly cbr.
  Now  Subtitle  track is  only  selected  when specified  by  sub-file
 option.(auto-dectected file is always added but not selected by default)
  Btw, the code could support multiple  subs files, but I don't know how
 to pass multiple filenames, any ideas ?


 * demux/mpeg/mpga.c : play with es_out_t. I'm investigating for now so
 don't use that elsewhere.
2003-09-13 17:42:16 +00:00
Laurent Aimar
a903f128da * include/stream_output.h include/vlc_common.h : move TAB_APPEND,
TAB_FIND and  TAB_APPEND (could be used  every where now). There  are a
 bit like  INSERT_ITEM, ...  but not  exactly, perhaps  I should  try to
 merge them).

 * src/input/input.c : begin to implement es_out_t thing (unsusable now).
2003-09-12 18:34:45 +00:00
Gildas Bazin
7bb574fdf5 * ALL: Introduction of a new api for decoders.
The final aim of this new api is to make it possible to use the decoders from other modules like the transcoder for instance.
   Only a few decoders have been ported to the new api (a52, libmpeg2, dts, vorbis, theora) so the old api is still supported.

   Don't hold your breath, there is still much work to do before we reach this goal.

* modules/codec/a52.c, libmpeg2., dts.c, vorbis.c, theora.c:
   Converted to the new api.
   Merged the a52 and vorbis packetizers in their respective decoders (removes a lot of code duplication).
   New dts and theora packetizers (merged in their respective decoders).
2003-09-02 20:19:26 +00:00
Laurent Aimar
1312bc9ee8 * configure.ac : added --enable-goom and --with-goom-tree. Btw, I use a
special goom tree source as I was unable to use standard goom library.
(I will provide it once mmx/ppc included)
 * modules/visualization/Modules.am: added goom
 * include/vlc_block.h src/misc/block.c: introduce a new data block
 api (not yet tested, ported from my local new input work).
2003-08-23 22:49:50 +00:00
Laurent Aimar
186e68fd73 * all: moved Get(D/Q)WLE and Get(D/Q)WBE to include/vlc_common.h.
(Well, Get(D/Q)WBE are just #define to U16/32/64_AT.
2003-08-17 23:02:52 +00:00
Clément Stenac
aefcff5d54 * all: as announce calls non-standard functions (SLP), remove it from
src, and build it in the stream_out_standard module to avoid a link
2003-08-14 20:02:55 +00:00
Gildas Bazin
10afbf8357 * src/extras/libc.c, nclude/vlc_common.h, modules/mux/mpeg/ts.c: added atoll() to our libc.
* modules/control/ntservice.c: added a --ntservice-extraintf option to allow the service to spawn additionnal interfaces.
* include/audio_output.h, modules/audio_output/directx.c: added support for 3F2R audio output in addition to 3F2R/LFE (5.1).
2003-08-14 11:47:32 +00:00
Clément Stenac
b83deb14df * configure.ac : we need to define HAVE_SLP_H
* include/announce.h & vlc_common.h: slp_session_t structure definition

* module/stream_out/standard.c & src/stream_output/announce.c :
    SLP announcing support by vlc
2003-08-13 14:17:26 +00:00
Laurent Aimar
1e9877baca * vlc_common.h: include stdarg.h by default. Required by ninput.h
*  ninput.h :  extracted  duplicated  stream functions  from  a lot  of
 demuxers and do a nice (?) API.
 * stream.c: implement basic streams  manipulation. It is just a wrapper
 but it is useful.
 * all: added a i_ttl field in network_socket_t to allow per connection ttl
setting (in fact only used by access_out/udp.c.
2003-08-01 00:00:12 +00:00
Derk-Jan Hartman
5b165b7369 * include/vlc_common.h: MAX_PATH PATH_MAX, we don't wanna bother and use the
latter everywhere.
* modules/demux/util/sub.c: Bring the config options in here to the variable structure.
* modules/misc/freetype.c: Bring the config options in here to the variable structure.
  Fix the linespacing. Dnumgis, it works, just define another linespacing :)
2003-07-23 21:45:13 +00:00
Sigmund Augdal Helberg
371148d3db toolbox: made a --add-include that can be used by doxygen to get proper
includes in the .h files, since they are parsed out of context by
	 doxygen
Doxyfile: misc fixes, use ./toolbox --add-include as filter for sources.
include/vlc_common.h: doxygenized VLC_COMMON_MEMBERS

With these changes, and a slightly patched version of doxygen (which you can
get here: http://www.idi.ntnu.no/~sigmunau/doxygen-vlcpatched.tgz ) you should
be able to get some useful documentation out of the vlc sources.
2003-07-14 20:36:55 +00:00
Gildas Bazin
6350ac81e5 * include/vlc_common.h: fixed the I64C() macro for mingw.
* src/misc/mtime.c: implemented the heuristic described in http://www.cs.man.ac.uk/fellowsd-bin/TIP/7.html to test whether the win32 performance counter is reliable. That should fix the clock problems that a few users reported on win32.
2003-06-05 11:52:19 +00:00
Derk-Jan Hartman
48b748067c * removed vlc_wraptext 2003-05-27 01:48:50 +00:00
Christophe Massiot
567eba1726 * We now use UTF-8 internally under Mac OS X. This requires a libiconv-
enabled version of gettext. (patch courtesy of the DJ)
2003-05-25 17:27:13 +00:00
Clément Stenac
b8443a2c70 All: Support for SAP advertising in stream output
add sap, or sap="Name" in the stream output options
2003-05-20 16:20:33 +00:00
Gildas Bazin
cca686f84e * include/vlc_common.h: small change to shut-up some memory checkers. 2003-05-12 19:11:53 +00:00
Gildas Bazin
c708c8fe43 * modules/misc/dummy/input.c, modules/access/file.c, include/vlc_common.h:
msvc compilation fixes.
2003-04-16 11:47:08 +00:00
Christophe Massiot
dd521c469b * Implementation of a frame-dropping algorithm for the libmpeg2 plug-in
(incomplete).
2003-04-14 22:22:32 +00:00
Laurent Aimar
4dec9682f6 * all: new sout scheme. Now a chain of module are created that can
modify/apply on all streams, --sout has the same behavour expect when
starting with a '#'.

 With a starting '#' you can specify a chain of modules, it's still
unstable but a lot more powerfull.
 You have access to duplicate(that duplicate all stream), transcode
(using only ffmpeg), standard/std and es (that apply muxers and access),
and display. You could chain them with ':' and specify options with
{option1=value,option2=value[,...]}.

ex: * to stream and see the stream to udp/ts:ip
 --sout '#duplicate{dst=display,dst=std{access=udp,mux=ts,url=ip}}'
    * to transcode,see and stream
 --sout '#transcode{acodec=mpga}:duplicate{dst=display,dst=std{access=udp,mux=ts,url=ip}}'

 Without a starting '#', the url is converted into '#std{acces=,mux=,url}'
Test and report bugs :)
2003-04-13 20:00:21 +00:00
Sam Hocevar
2b013d353a * ./modules/misc/gtk_main.c, ./modules/gui/gtk/gtk.c,
./modules/gui/gtk/gnome.c, ./modules/gui/familiar/familiar.c: added a
    terminating NULL pointer in the fake argv values we pass to gtk_init().
  * ./modules/misc/qte_main.cpp, ./modules/misc/gtk_main.c: these plugins now
    have the "gui-helper" capability.
  * ./modules/misc/gtk_main.c: paved the way for Gtk2.
2003-03-17 18:02:11 +00:00
Laurent Aimar
949a4ce261 * all: reworked stream output. Now it handles mutliples outputs from
one input, just type --sout "<first url>#<second url>#..." (Yes it
is awfull, but I need suggestion).
   udp: correctly update sequence number in rtp.
2003-03-11 19:02:31 +00:00
Gildas Bazin
2dd2df6971 * include/vlc_common.h: on win32 we include malloc.h (otherwise alloca is
not declared).
* modules/access/file.c: use _lseeki64 instead of lseek on win32. This
   should allow seeking on files > 1.2Gb (Hopefully closes #168).
2003-03-04 21:12:04 +00:00
Gildas Bazin
171d858e99 * ALL: another bunch of fixes for the MSVC build. 2003-03-03 16:49:14 +00:00
Olivier Teulière
7520e17160 Internationalization now works for the win32 interface (thanks Gildas).
I've voluntarily disabled the translation of the toolbar buttons
strings, because it looks really awful...
2003-02-28 04:31:24 +00:00
Laurent Aimar
31fa9d1e9a * all: split muxer and access into independant part. 2003-02-16 14:10:44 +00:00
Christophe Massiot
461358ec4a * src/extras/libc.c: New vlc_wraptext function,
* modules/gui/macosx/prefs.m: Wrap tool tips to 60 characters,
* src/input/input.c: Correctly parse MRL of the type
  /Volumes/toto:titi/coincoin.mpg (closes #238 & #186)
* modules/access/*: Changed some msg_Warn into msg_Err
* po/fr.po: Updated French translation,
* configure.ac.in: Re-enabled Swedish translation,
* Makefile.am: Do not recompile everything everytime someone changes a .h
2003-02-08 22:20:28 +00:00
Sam Hocevar
2a55093ce0 * ./bootstrap, ./toolbox: moved the Glade bugs fixing to toolbox, now
use "./toolbox --fix-glade" to generate and fix source files.
  * ./include/vlc_common.h: fixed compilation warnings.
2003-01-28 17:11:38 +00:00
Gildas Bazin
f6015e9373 * src/video_output/video_output.c, include/video_output.h: modified vout_Request() to take into account the
filter chain. If the filter chain has changed, a new vout will be respawned allowing to switch filters on
the fly. This is still a bit hacky but to do it nicely will require implementing inheritance in object
variables.
* modules/video_filter/deinterlace/deinterlace.c: added a "deinterlace-mode" object variable to allow
switching deinterlace modes on the fly.
* modules/gui/gtk/menu.c: updated the deinterlace menu.
* include/vlc_common.h: compilation fixes for gtk_main and gnome_main.
2003-01-28 12:30:44 +00:00
Sam Hocevar
b2940c865f * ./include/vlc_common.h: removed duplicate macro definitions in the gtk
and gnome plugins.
2003-01-28 03:11:02 +00:00
Sam Hocevar
04b59c9168 * ./include/vlc_common.h: if we don't have strndup but gnome.h defines it
anyway, do not provide our custom version.
2003-01-27 22:42:36 +00:00
Sam Hocevar
8450492c0f * ./include/vlc_common.h: fixed win32 plugin compilation. 2003-01-16 09:02:46 +00:00
Gildas Bazin
8b13c2c5e0 * src/misc/messages.c: don't try to decorate logs on win32.
* include/vlc_common.h, include/vlc_threads.h: we now use different
thread priorities for WinNT/2k/XP or Win9x/Me.
2002-12-30 17:36:01 +00:00
Sam Hocevar
f357e3e130 * ./src/extras/libc.c: if configure is called with --with-included-gettext,
we export vlc_dgettext to plugins so that their messages can be translated
    as well.
2002-12-27 15:31:56 +00:00
Sam Hocevar
fb8ca39f8f * ./include/vlc_messages.h: msg_* functions now use the same argument type
checks as printf. Only works with gcc 3.2 it seems.
2002-12-18 11:47:35 +00:00
Laurent Aimar
f8bf106d7e Added stream output. (common work with titer). 2002-12-14 21:32:42 +00:00
Gildas Bazin
a71b1c8cad * ALL: added a new vlc_list_t common type. vlc_list_find() and vlc_list_release() have been modified
to use this new type.
2002-12-13 01:56:30 +00:00
Christophe Massiot
60b9d5a5e4 * Correct socklen_t detection.
* Fix for S/PDIF encapsulation on big endian systems.
* S/PDIF output for Mac OS X, courtesy of Heiko Panther <heiko_panthe@mac.com>.
2002-11-28 23:24:15 +00:00
Olivier Teulière
17f2634715 * small compilation fixes for win32 2002-11-25 03:12:42 +00:00
Sam Hocevar
1158db5fb5 * ./configure.ac.in: we no longer choke if libdvbpsi headers aren't here.
* ./include/vlc_common.h: we don't try to include inttypes.h with Borland.
2002-11-24 18:54:54 +00:00
Sam Hocevar
c3a40bca86 * ./include/vlc_common.h, ./src/extras/libc.c: exported our custom libc
functions to plugins.
  * ./bootstrap: enhanced the project file generation for plugins; we now
    parse makefiles to make this easier.
  * ./modules/**/Modules.am: reworked a few makefiles so that they are more
    easily parsed.
2002-11-20 08:58:24 +00:00
Sam Hocevar
5de3e045e3 * ./msvc/*, ./evc/*: moved eMbedded Visual Studio files to the toplevel evc/
directory because the two project files are starting to diverge.
  * ./evc/vlc.c: created a specific vlc.c file for Windows CE.
  * ./src/misc/messages.c: as WinCE doesn't have stdout or stderr, the message
    queue outputs to a logfile (until we have a proper interface).
2002-11-13 15:28:24 +00:00
Sam Hocevar
bc061e8455 * ./include/*, ./src/*: separated WIN32 #tests and UNDER_CE #tests, because
WIN32 isn't always defined under WinCE, but might be. Grmbl.
  * ./include/*: changed a few u* and s* to uint*_t and int*_t.
2002-11-11 14:39:12 +00:00
Sam Hocevar
77c667f409 * ALL: libvlc now compiles and run under WinCE. I haven't ported any modules
yet so there's little that can be tested, but threads work at least.
  * ./src/extras/libc.c: renamed strndup.c to libc.c because a few other
    libc functions were added (strcasecmp, atof, getenv...).
2002-11-10 23:41:54 +00:00
Gildas Bazin
d532cf3cad * ALL: using "%ll" in printf format strings is not portable (notably on win32) so
we now use the I64Fx familly of macros to print 64 bits numbers (x being
   replaced by d,i,o,u,x or X).
   eg: msg_Dbg( p_this, "sample is "I64Fi" late", ll_time );

* src/misc/messages.c: got rid of ConvertPrintfFormatString().
2002-11-08 10:26:54 +00:00
Sam Hocevar
f01f0a3801 * ./include/vlc_common.h: compilation fix for Cygwin. 2002-11-07 22:56:08 +00:00
Sam Hocevar
319e629d2c * ./include/vlc_common.h: defined the INSERT_ELEM and REMOVE_ELEM macros
which are a generic use of the realloc/memmove/index++ scheme we use for
    dynamic arrays.
  * ./src/misc/variables.c: properly free the choice list upon variable
    destruction.
2002-10-29 13:22:48 +00:00