1
mirror of https://code.videolan.org/videolan/vlc synced 2024-08-27 04:21:53 +02:00
Commit Graph

33 Commits

Author SHA1 Message Date
Stéphane Borel
26300bb99a -better handling of angles: you should be able to change on the fly now
-removed � bug added at my last commit in css code; cleaned CSSGetKey

-various changes and bugfixes in the gnome interface.
2001-04-22 00:08:26 +00:00
Sam Hocevar
90510c53db * Added prototypes for the Elementary Stream input module for Alexis.
it's compiled by default, to activate it: "vlc --input es <file.mpeg>"
2001-04-20 15:02:48 +00:00
Stéphane Borel
b2e1b231bc -corrected some bugs in gnome interface: language menu are now
synchronized ; and menus have less chances to be changed when they're opened.

-added basic angle support ; this is a first try. It works with my 2
test-DVDs, but I'd like that people having DVDs with repeated scenes to
test it. We can choose angle with command line option -u (don't ask me
why :)

-a cosmetic change in css decryption.

Since config.h.in has changed, you have to re-run ./configure.
2001-04-20 05:40:03 +00:00
Sam Hocevar
372813ac34 * Merged Makefile.common and Makefile.modules.in into Makefile.modules
* Updated version number and ChangeLog to 0.2.72
  * Additional plugin Makefile cleaning, probably the last.
2001-04-16 13:00:55 +00:00
Cyril Deguet
adff2a8501 Re-added the new packet allocation method in PS input, using packet caches.
With warning level 1, you can see when a packet is allocated or freed; the
goal is to never call 'malloc' nor 'free', except at the beginning of the
stream.
The size of the different caches can be adjusted in plugins/mpeg/input_ps.h.
If 'free' is called too often, it means that a cache is too small, so try
to increase its size.
2001-04-16 12:34:28 +00:00
Sam Hocevar
6116299e39 * Added .cvsignore files in the plugins directories.
* Additional Makefile cleaning for built-in modules.
  * Fixed Makefile for Solaris target.
2001-04-16 07:40:11 +00:00
Sam Hocevar
79a45f72ac * Updated TODO list with Henri's Apr 6th post.
* Built-in modules support almost finished.

    Now you can compile any module within vlc, even the Gnome, Qt, SDL
  and GGI modules at the same time, resulting in an awful extra fat
  vlc binary with gazillons of library dependecies.

    The only exception is that the Gnome and Gtk+ modules can't be
  compiled together into vlc. But you can have one compiled built-in
  and the other as a plugin.

    Another consequence is that libdl should no longer be needed under
  MacOS X. I'll check this as soon as possible.
2001-04-15 10:54:46 +00:00
Sam Hocevar
5b51669f92 * A few Makefile fixes for BeOS
* XVideo patches by Shane Harper
2001-04-15 04:46:41 +00:00
Sam Hocevar
6b3c854071 * Beginning of the built-in modules support.
A few words about the changes:

  - heavy Makefile butchery has taken place, each plugin now has its own
    Makefile. I know recursive make blablah harmful, but it was just so
    much easier to do this way.

  - Makefile.in has disappeared, we now generate Makefile.opts with
    the overall configuration options, and Makefile.modules which is
    specific to module compilation.

  - After ./configure has been run you may want to modify Makefile.opts
    to check which modules will be compiled built-in or as plugins.

  - Some modules cannot be compiled built-in right now because proper
    linkage doesn't work yet. We don't really care since they're the
    interface or video output modules. The most important stuff works
    (iDCT, motion, YUV, input).

  - It's perfectly valid to compile a module both as built-in and as a
    plugin. vlc will only load the built-in one, but I'll add an option
    to ignore built-in modules for testing purposes.

  - We *should* see a performance increase here. I didn't have much time
    to test it, but if anyone can confirm and perhaps give a rough
    estimate of how much we gain...
2001-04-15 04:19:58 +00:00
Stéphane Borel
f11b9a96dd *Added udf fix by Billy Biggs
*Added checks in dvd_ifo

*Cleanings in gnome interface : the interface should be dependant on the
input method.
2001-04-13 05:36:12 +00:00
Cyril Deguet
f3f860ca5d switched back to the old packet allocation method for PS input, because
Sam does not want the new one ;)
2001-04-05 16:37:15 +00:00
Cyril Deguet
ed003a4a6d Added a new packet allocation method that punish one's mother in PS input.
I hope there won't be too many segfaults because of it ;)
A few parameters must be adjusted to optimize this method; I'll do it later
because Proba Stat sucks ;)
2001-04-05 14:00:28 +00:00
Sam Hocevar
4f551c2bf0 * Header cleaning: filled all empty authors fields, added CVS $Id stuff.
* Fixes to aout_darwin.c by Colin Delacroix <colin@zoy.org>.
  * Fixes to configure.in, Makefile.in and main.c (Altivec detection)
    by Eugenio Jarosiewicz <ej0@cise.ufl.edu>.
  * Added Colin and Eugenio to the AUTHORS file.
2001-03-21 13:42:35 +00:00
Henri Fallon
64bda1b1b3 Added a #include that prevented when compiling on redhat. 2001-03-19 22:16:31 +00:00
Sam Hocevar
98725620ed * vlc core compiles under QNX RTOS. Now if anyone feels like tidying
it and writing output and interface plugins...
2001-03-19 13:26:59 +00:00
Henri Fallon
9c1a7ddaae Replaced ( a < b/c ) by ( a*c < b ). 2001-03-18 20:46:16 +00:00
Henri Fallon
2339d58bdf - Changed read method : we now use select, so we are now able to quit
even if no packet has benn receivced.
- Put more exmplicit error messages

I noticed that now I have "Seeking to position ...." messages even with
network input. If someone can do a quick fix, thanks about it.
2001-03-18 18:48:27 +00:00
Sam Hocevar
a0c1805bd9 * Bug fixes and enhancements in the Gtk+/Gnome interfaces.
o the slider should behave correctly and stop jumping here and
     there (this bug is _not_ related to Stef's similar bug)
   o added an "open network" menu (useless since the input doesn't
     handle it properly yet)
   o tried to reorganize gnome_callbacks.c and gtk_callbacks.c
   o stream date is now displayed instead of percentage
   o renamed gnome_sys.h to intf_gnome.h, and gtk_sys.h to intf_gtk.h

  * Changed documentation and package creation files.

   o added versioned conflicts/replaces to vlc-gtk (Closes Debian bug #88796)
   o removed useless or outdated documentation from doc/*
   o moved vlc.1 manpage from debian/vlc.1 to doc/vlc.1

  * Added basic Qt interface.

   o working features: slide bar, open file, toolbar, popup menu
   o added "qvlc" alias, equivalent to "vlc -I qt"
   o known issues : no "open disc" or "open network" menus yet
                    the IntfWindow class is never cleaned on destruction
                    the popup menu always pop at the middle of the screen

  * Misc fixes/updates.

   o renamed netutils.h functions from input_* to network_*
   o renamed *plst* files and functions to *playlist* (it was stupid
     from me to name them "plst")
   o made a few input error messages more meaningful
   o added -I, -A and -V short flags, corresponding to --intf, --audio
     and --video

    I got a lot of conflicts on this commit, lart me if I forgot a
  file or made old bugs reappear.
2001-03-15 01:42:20 +00:00
Sam Hocevar
906ce894e8 * Disabled network input under BeOS so that it compiles again. We'll
have to wait for BONE anyway.
2001-03-07 01:36:41 +00:00
Henri Fallon
a6c6f72397 - Fixed TS input ( a nasty dead lock had appeared 4 days ago )
- Added base of network support

Things to be done :
- Meuuh : fix the PCR synchronisation so that we can set b_pace_cntrol to 0
- Sam : find a way of specifing the type of media (file, net). For the
moment, the "--input ts" always call input_NetworkOpen
- Maybe sam : for the moment the working syntax is vlc --input ts
servername, it should nbe turned into "vlc --server servername".

Things that don't work (i'll work on this this week end) :
- stopping and retaking a stream
- a nice 'waiting for stream'
- we select all incoming streams. we should be able to select.

Things that haven't been tested :
- broadcast
- only tested with one stream.

Kick me if something is broken by my fault.
2001-03-07 00:18:46 +00:00
Sam Hocevar
4eb6464230 * fixed headers for FreeBSD compilation.
* fixed debian/rules for non-x86 packages (Closes: Debian bug #88583).
2001-03-05 11:53:44 +00:00
Christophe Massiot
591bebd191 * More consistency in the p_input->stream management. 2001-03-02 15:51:22 +00:00
Henri Fallon
910f40f93c TS Input :
- Added DemuxPSI, DecodePAT and DecodePMT. Never tested which streams
  where PAT or PMT are splitted in more than one section.
- Some TS files still don't work (matrix.ts i.e : no sound ),
  others do ... i'll have to investigate.

Todo :
- What if data get unaligned ?
- Write NetworkOpen
- Try to find why I get no sound on matrix.ts
- Support Stream and program selection.
2001-02-21 04:38:59 +00:00
Stéphane Borel
78335f88e6 Second step in area management ; everything is in place now to have
title handling; it is coming :)
2001-02-20 08:47:25 +00:00
Sam Hocevar
583c6553f6 * Ported Glide and MGA plugins to the new module API. MGA never worked,
so this didn't make it work better.
  * Started thinking about built-in modules, and added some code to
    make it easier eventually.
  * Added Oct in the AUTHORS file.
  * Fixed a mistake in configure.in.
  * All your base are belong to us.
  * Fixed a bug in src/misc/modules which prevented loading modules
    when launched from the Tracker.
  * Fixed a similar bug in src/video_output/video_text.c.
  * BeOS CSS support, thanks to Markus Kuespert <ltlBeBoy@beosmail.com>
    who ported the Linux DVD ioctls. We can now read encrypted DVDs
    under BeOS ! Woohoo.
2001-02-20 07:49:13 +00:00
Stéphane Borel
97c3185de4 First serie of changes in DVD module for the forthcoming interface menus
There is a new capability in input type modules for setting the
attributes of a new area. It is set to NULL for PS and TS plugins.
 It should be called for every title change, chapter change,
audio mode change or spu channel change.

But this part of code is not used at the moment, and is not completed
yet.
2001-02-20 02:53:13 +00:00
Sam Hocevar
566ca28782 * Upgraded version number to 0.2.61. Release is today.
* Fixed package building (both RPMs and .debs).
 * Fixed `make snapshot' rule.
 * Added some magic to filename detection. To read a DVD you now just
   need to run 'vlc dvd:/dev/hdc' for instance. Same for file:// URIs.
 * Fixed a segfault in the slider when no stream was playing.
 * Made the slider go from 0 to 100 (instead of 99 :)
 * The vlc now doesn't exit when finished playing. As a side effect of
   the playlist code being very recent, it continuously loops.
2001-02-16 09:25:04 +00:00
Henri Fallon
79b461542e Begining of TS Input
Done :
- fixed netlist
- embryo : support TS video trough file ( kludgy ... )

Next :
- Write DecodePSI and DemuxPSI, wich will clean the kludges off

Then :
- Write NetworkOpen ( shouldn't be difficult )

Eventually :
- Deal with lost/corrupt packets
2001-02-14 15:58:29 +00:00
Sam Hocevar
c3e2bf1d3b * Fixed my old stupid bug that disabled sound after having played the
first playlist item.
  * Added `Prev' and `Next' buttons to the interface, with the beginning of
    a playlist window (still empty).
  * Added `Slow' and `Fast' buttons to the interface and popup menu.

  Ok, I promise it's the last time I check bloat in, from now the interface
  commits will be much cleaner and actually fix things :)
2001-02-12 07:52:40 +00:00
Christophe Massiot
d21d510cbe * Portability : changed off64_t to off_t and activated appropriate
GNU/Linux options ;
* Changed fseek() to fseeko() for 64-bit offsets ;
* Reset frame predictors on a stream discontinuity.
2001-02-08 17:44:13 +00:00
Christophe Massiot
785049d7f6 * Implemented basic stream navigation function, and bound Jump forward
and jump Backward in the SDL intf. Enjoy !
2001-02-08 13:52:35 +00:00
Sam Hocevar
03d925fdb8 . moved the playlist handling from input/input.c to interface/interface.c
. fixed a few warnings at compile-time
 . fixed sound channel selection in playlist mode
 . added a color message in the plugin bank because on peut bien d�conner
   cinq minutes, quand-m�me
 . we now spawn a new input thread for each file
 . added a missing pf_close() because it's always cool to close files
   after we read them
2001-02-08 07:24:25 +00:00
Sam Hocevar
0935df9e58 This commit is a bit early, but it'll save Stef, Henri and me much
time later, when we don't have to backport modifications to input_*.c

   What's new :
    - playlist works again (still the old wrong way like Meuuh doesn't
    like, but this is going to change within a few hours)
    - input_ps, input_ts and input_dvd are now plugins, located in
    plugins/mpeg/ and plugins/dvd/

   What's broken :
    - audio output might be broken on some streams ; have to investigate

   What has changed :
    - fast/slow keys are now A/Z instead of A/S since S was already
    linked to the scale/noscale toggle.
    - `--dvd' doesn't work anymore, for the moment try to use :
     vlc --input dvd /dev/dvd
    - module bank is now less verbose ; use `--warn 1' to turn back
    verbosity on
2001-02-08 04:43:28 +00:00