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

34 Commits

Author SHA1 Message Date
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
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
Stéphane Borel
7f66cfcadf -added a field to p_input->stream to inform the interface of a stream
change (useful in network mode)
2001-04-12 03:26:53 +00:00
Stéphane Borel
b3d7d241c5 -Fixed the lock segfault bug with some compilers
-Quick kludge in ifo to avoid a bug with optims. The real fix is coming.
2001-04-10 17:47:05 +00:00
Stéphane Borel
72ca053968 -changes in gnome interface
-bugfix in input dvd
2001-04-08 07:24:47 +00:00
Stéphane Borel
f6c80a75e2 -Various bug fixes in dvd_netlist. Some bugs seem to remain though.
-New function input_ToggleES for interaction with interface.
-Changes in gnome interface : navigation menus are now splited, there
are radio item in menus and the code should be better.
-First step for dvd_ifo rewritting. Now allocation/disallocation is
being done as it has to be.
-Fixed a bug in title management that make dvd like Seven work.
2001-04-01 07:31:38 +00:00
Stéphane Borel
ec126885b8 -Working menus for run-time audio/spu/title/chapter selection with gtk
interface.

It is a bit buggy yet, and some pieces of code need to change,
especially to handle better menus change when title change but it
eventually works.
2001-03-07 10:31:10 +00:00
Stéphane Borel
917d257428 -New function for DVD reading, that is able to read multiple blocks
(I've chosen 32 now), that doesn't use any memcpy anymore and is also much
faster. It is ready now for cell positioning in multi-angle DVD (to come
soon).

-DVD specific netlist adapted to 2048 bytes long blocks that contain
several data_packets.

-Modification in mpeg_system.c to use p_payload_start instead of
p_buffer (necessary for DVD plugin). It does not break other plugins
since they set p_payload_start to p_buffer

-New field i_read_once in input_thread_s to be able to read more than
the TS related 7 packets ; i_read_once is set to INPUT_READ_ONCE by
defaults but plugins can change it during initialisation.

Please check that nothing is broken :)
2001-03-02 03:32:46 +00:00
Christophe Massiot
7d38f3f997 * Added functions and hooks to display dates instead of off_t. 2001-02-22 17:00:20 +00:00
Christophe Massiot
99bbcdcb68 * Added a 'd' keystroke to dump the stream contents (for debugging
purposes).
2001-02-22 16:17:12 +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
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
Christophe Massiot
33f6628a44 * mux_rate parsing ;
* Changed video decoder's error messages into warnings.
2001-02-19 19:08:59 +00:00
Stéphane Borel
050106567a -Change in the code to detect beginning of movie. It is much better now
but still fails with some DVD for which the movie is not the first
Program.

As a consequence some DVD that worked before don't work anymore.

-Beginning of ideas to handle chapters and ES selection
2001-02-19 03:12:26 +00:00
Sam Hocevar
b2f56af994 * Fixed a segfault in the input thread creation, as well as a possible
deadlock. This happened mostly when opening non-existing files.
 * Created input_SetStatus to do input_SetRate's job. input_SetRate will
   be used to set an arbitrary rate, for people who want to read DVDs at
   1/2.71828 times the actual speed.
 * Stubs for the ncurses control interface. No working code yet, but the
   holes just need to be filled.
 * Improved X11 support. Still not as functional as before.
 * The output window now states the method name, so that people know whether
   they are using X11 or SDL.
 * The Gnome interface is now drag'n'drop aware, you can drop a file
   on it just like Xine does (or so I guess).
2001-02-16 06:37:09 +00:00
Sam Hocevar
3b3156e1fa . removed tests against i_rate and i_new_rate calculation from the
plugins and hid this complexity into input_ext-intf.c
2001-02-12 09:39:15 +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
Christophe Massiot
66f7daf3c2 * Pause function implemented ('p' key). 2001-02-08 13:08:03 +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
Christophe Massiot
1c518776d3 * Functional fast forward and slow motion API ;
* Dirty hack in the SDL intf to bind "a" (fAst forward), "s" (Slow motion)
and "p" (Play).
2001-02-07 17:44:52 +00:00
Christophe Massiot
ff85edc675 * Centralized clock management, preparing for stream navigation ;
* Fixed a bug in the management of the first video PTS.
2001-02-07 15:32:26 +00:00
Sam Hocevar
9e28c5d794 . not a very nice hack, but will probably spare us a few user complaints: if
no -a option is specified, the vlc will play the first audio type it finds,
  so there is no need to specify "-a ac3" for a DVD anymore.
2001-01-30 05:48:23 +00:00
Christophe Massiot
18aaaf306c * Hooks for fast forward and slow motion support. 2001-01-24 19:05:55 +00:00
Stéphane Borel
a9729877b7 . Beginning of dvd_input.
. Parsing of ifo file almost completed.
. Still does not work well.
2001-01-14 07:08:00 +00:00
Christophe Massiot
91bc3eb7c4 * New decoder spawning API input_dec.c ;
* Moved p_input->pp_es -> p_input->stream.pp_es and clean up of
  input_programs.c & co ;
* Fixed memory leaks.
2000-12-21 19:24:27 +00:00
Christophe Massiot
434f379655 * Splitted up p_method_data/p_plugin_data ;
* Cleaned up input_ts.c, added it into the Makefile.
2000-12-21 15:01:08 +00:00
Christophe Massiot
c570d9bc89 * Removed all arbitrary limits on the number of elementary streams. 2000-12-21 13:54:15 +00:00
Christophe Massiot
c17287dc78 * Added -a, -c and -s options. (-a doesn't work but I will let the people
who thought it would be cleaner to put config in environment variables
correct what's wrong in my code).
2000-12-20 17:49:41 +00:00
Christophe Massiot
50118171a9 * Big cleanup of the PS input plugin ;
* Fixed a bug in AC3 initialization ;
* PS streams are now pre-parsed (this can take a while) if possible ;

./configure is required after this update.
2000-12-20 16:04:31 +00:00
Christophe Massiot
4d26594b02 Enhanced handling of stream discontinuities. 2000-12-15 17:21:54 +00:00
Christophe Massiot
d2ca341dd7 * Fixed two typos in the Makefile (sam you owe me at least one beer)
* Moved b_discontinuity to pgrm_descriptor_t, cleaned up CRDecode
(needs some more cleaning for discontinuities)
* Added pf_new_pes in plugins
2000-12-15 13:28:00 +00:00
Christophe Massiot
dc804fe5e1 The input-II. (more info by mail in about an hour) 2000-12-05 19:36:58 +00:00