Sam Hocevar [Thu, 15 Mar 2001 01:42:20 +0000 (01:42 +0000)]
* 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.
Pierre Baillet [Thu, 8 Mar 2001 21:47:02 +0000 (21:47 +0000)]
. cosmetic variable name changes
. drop in the 'blank' part of the list in the playlist adds at the end of the list
. drop on the main window adds at the end of the playlist
Pierre Baillet [Thu, 8 Mar 2001 13:32:55 +0000 (13:32 +0000)]
Hurg !
###code is dirty###
Please clean it for me :P
(or at least, tell me how to clean it)
. Slightly modified playlist base interface
(Added a function to jump directly to an item, used for double clicking)
. Added manymanycallbacks
. Added the playlist dialog
. Added Dnd support for intf_window and the clist1
. support URI and plain file(s)/folder(s)
. Added "show/hide main window" menuitem in intf_popup
. Added bugs :P
Stéphane Borel [Wed, 7 Mar 2001 11:56:33 +0000 (11:56 +0000)]
Port of the interface menus to gnome plugin.
Note that two sorts of navigation menus are implemented : in the
menubar, one menu for title and one the chapter in current title ; and
in the popup, a cascaded version with all chapters for all menus.
Henri Fallon [Wed, 7 Mar 2001 00:18:46 +0000 (00:18 +0000)]
- 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.
Sam Hocevar [Mon, 5 Mar 2001 01:29:25 +0000 (01:29 +0000)]
* Everything in place for the 0.2.63 release.
* Got rid of the CONTRIBUTORS list, and switched AUTHORS to a
linux-kernel like author list.
* Updated TODO list.
* Fixed a segfault in the BeOS interface when --noaudio was specified.
* Title and Chapter selection in the Gnome and Gtk+ interfaces.
Sam Hocevar [Sun, 4 Mar 2001 16:20:16 +0000 (16:20 +0000)]
Commited BeOS changes by Richard Shepherd and Tony Castley.
include/video_output.h
* Added boolean_t b_YCbr to vout_thread_s structure to flag YUV-YCbCr
decoding needed instead of YUV-RGB
* Will be removed later when video_output.c rewritten
src/video_output.c
* vout_CreateThread() initialises b_YCbr to zero
plugins/beos/*
* New BeOS video plugin that supports hardware overlays and new
MediaPlayer compatible interface
Stéphane Borel [Sun, 4 Mar 2001 13:54:26 +0000 (13:54 +0000)]
-Fixed bugs in title/chapter handling once more, especially for size
detection and location of main movie.
-Support for multitrack DVD : now the stream is given to input as it has
to be ; however, all the tracks are displayed one after the other ; I
think we need to decode navigation ES to choose the track
Sam Hocevar [Sun, 4 Mar 2001 03:12:00 +0000 (03:12 +0000)]
* Added DVD/VCD button and menu for quick DVD device selection to the
Gnome and Gtk+ interfaces, so that vlc can play a DVD even when
launched from a GUI.
Sam Hocevar [Sat, 3 Mar 2001 11:01:07 +0000 (11:01 +0000)]
* Added debian/* files to help generating CSS-enabled non-US packages,
and changed plugins/dvd/* to reflect this change.
* Added .xpm icons (fixes lintian warnings).
* --help output and manpage are now in sync (Closes Debian bug #87478).
* Fixed Build-dpends entry in debian/control (Closes Debian bug #83707).
Sam Hocevar [Fri, 2 Mar 2001 13:47:01 +0000 (13:47 +0000)]
* Changed debian/control to fix Debian bug #83707
* Added a --disable-css configure option
* Moved some code here and there in the DVD plugin to make it easier
for me to build the Debian CSS-free packages.
* Fixed miscellaneous alignment problems (alpha/sparc ports) ;
* Added a fps display when toggling 'i' ;
* Fixed a bug in the video parser where one picture buffer was not
released at quit time ;
* Broke the mux_rate calculation, but hey guys ! it was already broken and
nobody noticed it.
Stéphane Borel [Fri, 2 Mar 2001 03:32:46 +0000 (03:32 +0000)]
-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.
Sam Hocevar [Mon, 26 Feb 2001 17:41:11 +0000 (17:41 +0000)]
* Optimizations done to the SPU decoder. Now the RLE is expanded at
decoding time, not rendering time. The main loop in vout_RenderSPU
is now 20 lines long.
Sam Hocevar [Mon, 26 Feb 2001 12:16:29 +0000 (12:16 +0000)]
* The Gtk+ interface is now built as a Debian package as well. The Gnome
package depends on it because of the icon and menu entry.
* Added an intf_WarnHexDump() function to do raw hexadecimal dumps of
memory areas. For debugging purposes or for real men, as you wish.
* Lots of tidying in dvd_ioctl.c, a few comments added.
* Better error handling in the subpicture decoder.
* Tidied video_spu.c. More to come later.
* Fixed subtitle displaying. Will soon work in overlay mode as well.
Some changes in the BeOS video output :
- New video output method, the vlc now uses BBitmap instead of
BDirectWindow (better performances)
- Added resizing
- Added beta support for overlay
Sam Hocevar [Wed, 21 Feb 2001 11:49:18 +0000 (11:49 +0000)]
(note: empty CVS mails mean that a new directory has been created,
don't forget to use the -p option if you cvs update)
* Added a plain Gtk+ port of the Gnome interface, for the gnome-impaired
people. Gtk+ is now compiled by default, while Gnome isn't (you will
have to add --enable-gnome when running configure)
* Replaced -lcurses with -lncurses in configure.in.
Henri Fallon [Wed, 21 Feb 2001 04:38:59 +0000 (04:38 +0000)]
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.
Sam Hocevar [Tue, 20 Feb 2001 23:30:15 +0000 (23:30 +0000)]
* Updated version number to 0.2.62. Release tonight.
* DVD plugin is still non-functional when you don't have DVD ioctls,
but at least it compiles under BeOS as well.
* Minor cosmetic changes here and there.
Sam Hocevar [Tue, 20 Feb 2001 09:10:36 +0000 (09:10 +0000)]
* Fixed a segfault in input.c when no input plugin was found for
a given file.
* Fixed a deadlock in the Gnome interface. Next time I'll initialize
my mutexes, I promise.
* Added Oct to the authors list in intf_gnome.glade :)
Sam Hocevar [Tue, 20 Feb 2001 07:49:13 +0000 (07:49 +0000)]
* 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.
Stéphane Borel [Tue, 20 Feb 2001 02:53:13 +0000 (02:53 +0000)]
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.
* Kludge of the kludge, removing an oddity in YUV initialisation, and
activating YUV overlay on startup whenever hardware acceleration is
available. Thanks for bearing with us, stay tuned.
Sam Hocevar [Sun, 18 Feb 2001 19:14:27 +0000 (19:14 +0000)]
* configure.in and Makefile.in patches for better SDL support and
support for $(bindir) $(datadir) and $(libdir) stuff, courtesy
of Arkadiusz Miskiewicz <misiek@pld.ORG.PL>
* Ported ggi.so to the new modules API. As for the other modules, only
the "q" key works. Moreover, VLC doesn't exit cleanly if you close the
GGI window.
* Deactivated non-working widgets in the Gnome interface.
* Added CONTRIBUTORS file.
Hint of the day: don't expect to code quite long in your bed when sleepy.
Stéphane Borel [Sun, 18 Feb 2001 01:42:05 +0000 (01:42 +0000)]
-UDF filesystem support so that we know the location of the first video
related file with 100% reliability (great change that should make DVDs
with binaries and extra stuff work with vlc).
-Correction of a bug in ifo reading that falsified the adress of
video titles.
-Changed the method for selecting title at start. It is _not_ reliable
though, but it is better than the preceding one.
Sam Hocevar [Sat, 17 Feb 2001 08:48:56 +0000 (08:48 +0000)]
* Tried to fix the BeOS interface and video output. Any BeOS developers
listening ? I can't even test that code, it probably wants additional
fixing.
* Added a workaround in modules.c for broken libc's which happen to truncate
filenames in dentry structures when using 64bits offsets. The kind of
stuff you only see in RedHats <g>.
* Made the SDL error messages a bit more useful.
* The Gnome menu is now created when mouse is released, not when it
is pressed. It may sound stupid, but it really makes a difference.
Sam Hocevar [Fri, 16 Feb 2001 09:25:04 +0000 (09:25 +0000)]
* 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.
Sam Hocevar [Fri, 16 Feb 2001 06:37:09 +0000 (06:37 +0000)]
* 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).
Sam Hocevar [Thu, 15 Feb 2001 07:59:38 +0000 (07:59 +0000)]
* removed useless includes in intf_gnome.c
* made the vout_sdl.c functions static
* ported vout_x11.c to the modules API; code isn't very nice yet though
Sam Hocevar [Wed, 14 Feb 2001 07:48:18 +0000 (07:48 +0000)]
* updated version information to 0.2.60 -- today's release
* started porting the X11 vout (still disabled)
* a few unnoticeable changes in the Gnome intf
Stéphane Borel [Wed, 14 Feb 2001 04:11:01 +0000 (04:11 +0000)]
-Changes in the way stream size in DVD mode is calculated. It is no
longer such an ugly kludge and is much more accurate.
-Changes in DVDSeek so that the interface slider is in 0 when we are at
the beginning of the strem.
-Try to detect the beginning of the movie in the middle of the title. It
works for most of the DVDs but will begin in the middle of the movie
with some others.
-Calculate only the first title key in css mode because it might take a
long time with some title. The search stops now when we have a key once
whereas it did stop only when we had it twice before. It should not
cause problems.
Stéphane Borel [Tue, 13 Feb 2001 10:08:51 +0000 (10:08 +0000)]
-adaptation of DVD module to navigation slider. The seek has to be
done on a multiple of 2048, and shopuld take care of the offset to the
beginning of the stream. It works with most of my DVDs by fails to
detect size of some streams.
-change of the order of call to ifo and css functions in input_dvd.c,
because we can't read ifo files before authentification on some DVDs.
-changed location of some css tables.
-we read ifo date and decrypt css keys for all titles now. It takes quite a
long time to initialize with some DVDs (if you have 42 titles for
instance). The key decryption might give a false value if the title is
less than 10 Mb ; I'm working on that :)
Sam Hocevar [Tue, 13 Feb 2001 04:29:46 +0000 (04:29 +0000)]
* added --intf option to vlc
* started cleaning vout_sdl.c
* the dummy plugin works again
* added a slider to the Gnome interface so that we can browse through streams
There is a problem with the slider: we sometimes get unexpected async
replies, which would mean that we don't properly lock our Xlib calls.
Which is true. But we also get these errors when using `--vout dummy'.
I'll investigate.