Cyril Deguet [Mon, 9 Jun 2003 14:04:20 +0000 (14:04 +0000)]
* now selection method in the playlist depends on the state of the
CTRL button (as expected in a normal playlist !)
TODO: - do the same under windows
- replace all button constants 1/2 by MOUSE_LEFT/MOUSE_RIGHT
Cyril Deguet [Mon, 9 Jun 2003 12:33:17 +0000 (12:33 +0000)]
* repaired basic_skins
* removed all the compilation warnings
* fixed LOTS of memory leaks in skins (gibalou, you should try valgrind
on wxwindows plugin ;)
* include/video.h include/video_output.h src/video_output/vout_pictures.c:
In vout_CreatePicture() replace i_repeat_first_field by the more useful
i_nb_fields
* modules/gui/macosx/intf.m: Fixed a warning
* modules/codec/libmpeg2.c include/vout_synchro.h src/video_output/vout_synchro.c:
Re-added support for slice-I streams, plus miscellaneous tweakings
Cyril Deguet [Sun, 8 Jun 2003 00:32:07 +0000 (00:32 +0000)]
* x11_font.cpp: fixed font placement
* x11_window.*: real tooltip windows ! not perfect yet but it looks cool !
* removed compilation of gtk2 skins module. If you want it back, good luck ;)
* modules/gui/macosx/prefs.?:
- Changed modules list to use Default instead of None. probably clearer to
users.
- Have a warning before resetting the prefs.
Gildas Bazin [Thu, 5 Jun 2003 11:52:19 +0000 (11:52 +0000)]
* 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.
Eric Petit [Wed, 4 Jun 2003 21:41:47 +0000 (21:41 +0000)]
Added a special access module for PVR MPEG-2 encoding boards.
It allows to change the frequency and such things quite easily, from VLC.
You'll have to --enable-pvr to build it.
Gildas Bazin [Wed, 4 Jun 2003 16:03:34 +0000 (16:03 +0000)]
* modules/gui/skins/*: misc fixes and clean-up. There are still thread issues when passing messages between the skins thread and the wxWindows dialogs thread that will need to be fixed.
* modules/gui/wxwindows/timer.cpp: fixed comment.
* When choosing a autogenerated menuitem, we now create a new thread to
do the actual execution of this command. this is a (very ugly) workaround
to the problem we were having with the deinterlace menu on osx.
It works now, but now i'm running into the black screen and continous
"late picture skipped (-218000)" again which is also plagueing us when you
enter fullscreen with a filter enabled. This ought to be fixed before 0.6.0
as well.
Gildas Bazin [Tue, 3 Jun 2003 22:18:58 +0000 (22:18 +0000)]
* configure.ac.in: bail out with an error message if the x11 skins are enabled and we couldn't find imlib2.
* modules/gui/wxwindows/*: fixed bug in sout dialog box.
* modules/gui/skins/*: factorised the wxwindows dialogs code in dialogs.cpp. wxWindows is also initialised earlier on to allow opening a skins file with a wxWin dialog box. (Note: I badly broke the GTK2 skins).
* ALL:
- Changed the autogenerated menu's in a system working similar to wxWindows.
- The deinterlace menu is autogenerated now. However it seems the problem
with on the fly filter changes still exists.
Cyril Deguet [Sun, 1 Jun 2003 22:11:24 +0000 (22:11 +0000)]
* modules/gui/skins/x11/x11_api.cpp: fixed OSAPI_GetScreenSize
* all: added locks around X calls to make them thread safe (will be
useful in the next commit ;-)
Cyril Deguet [Sun, 1 Jun 2003 16:39:49 +0000 (16:39 +0000)]
* configure.ac.in : fixed linking of skins modules
* modules/gui/skins/*:
- fixed the wxwindows bug, due to a huge bug with broadcast events
- beginning of fonts in X11 skins
so, you can test the X11 skins module: it should work now !
Olivier Teulière [Sat, 31 May 2003 23:23:59 +0000 (23:23 +0000)]
* skins/controls/button.cpp: Fixed a nasty bug.
* skins/controls/generic.h: Some public fields are now protected
* skins/src/window.cpp:
- Added a few debug messages
- Invisible controls don't receive events anymore
Note: There are still a few bugs in the code handling the controls and
their different states, and I think they will be difficult to fix with
the current code structure. A rewrite of this part of code could be a
good idea (perhaps using states and transitions between states, like
Zinf does?).
Eric Petit [Sat, 31 May 2003 12:24:39 +0000 (12:24 +0000)]
* src/input/input_ext-intf.c : added an input_SetRate function; it is
quite more convenient than, e.g, calling input_SetStatus( STATUS_FASTER )
two times if you want to switch from 1:1 to 4:1 from the interface.
Old functions still work.
* modules/gui/beos/VlcWrapper.cpp : use it
Laurent Aimar [Sat, 31 May 2003 01:23:29 +0000 (01:23 +0000)]
* mjpeg grabbing added, thanks to Paul Forgey <paulf at aphrodite dot com>
that had done all the work.
Paul Forgey's notes:
--------------------
Unfortunatley, the v4l interface shows how much it sucks here. I can't
wait for v4l2 to become more common. Anyway, the mjpeg mechanism
captures completely differently than the uncompressed frame capture
mechanism. This means the code has to split off a bunch to do similar
things depending on mjpeg being set or not. For some reason, I can't
use non v4l2 calls to capture uncompressed frames from the lml33,
however I do have another bttv card on my system to test that I didn't
break the non-mjpeg stuff.
The Zoran encoders don't use square pixels. So the 4:3 (or 16:9)
picture is going to show up as 720x480. I don't know my way around the
code well enough to know how to specify a non-square pixel aspect
ratio. If there isn't a way to do it, it would be nice to be able to
specify as an option the aspect ratio of the sourc. Either 4:3 or 16:9
in the case of anamorphic S-Video, which does occur.
I stole the videodev_mjpeg.h header from the lavrec project. Despite
the linux kernels having support for the Zoran cards, there doesn't seem
to be a reliable way to pick up this header, which is probably why
lavrec did it this way. Since it only defines ioctl definitions, I
don't think using it is a legal problem.
I also modified the audio handling a bit. If the card supports audio,
great, we'll set the card's parameters as we did before. But if adev=
is specified, use it regardless. The reason to do this is to capture
audio from the sound card with video coming from, say, a web cam or in
my case, an encoder card which doesn't have any audio capabilities at
all.
Derk-Jan Hartman [Wed, 28 May 2003 03:53:04 +0000 (03:53 +0000)]
* src/libvlc.h:
- added "en" to the list of languages in the preferences.
- added DIV1, DIV2, i263, WMV1 to video encoding options in prefs.
FENRIR: is this correct this way?
Derk-Jan Hartman [Tue, 27 May 2003 22:42:58 +0000 (22:42 +0000)]
* Turn mem leaks into warning's instead of errors. Users seem to think that
mem leaks will kernel panic there machine or something ;)A
This will generate less bugreports, yet keep them visible to those who
should and will care.
Gildas Bazin [Tue, 27 May 2003 20:43:20 +0000 (20:43 +0000)]
* modules/access/vcd/cdrom.c: On winNT/2K/XP we set the track format to YellowMode2 when issuing raw read requests. Otherwise we can't read the SVCD DATA track which is in Mode2 Form1.
Eric Petit [Tue, 27 May 2003 13:22:46 +0000 (13:22 +0000)]
* src/stream_output/announce.c : BeOS compile fix.
setsockopt( IP_MULTICAST_TTL ) is done in network/ipvx.c (if supported),
so there is no need to do it here again.
* modules/gui/beos/* : minor fixes
Gildas Bazin [Mon, 26 May 2003 19:06:47 +0000 (19:06 +0000)]
* modules/audio_output/alsa.c: the aout-device obj var wasn't destroyed properly on probe() failure, preventing other audio plugins from working afterwards.
* modules/gui/skins/src/skin_main.cpp: got rid of the skins shortcut.
* modules/gui/wxwindows/*: the popupmenu is not created inside the timer anymore so the slider will still be active when the popup is triggered.
* modules/video_output/directx/events.c, modules/video_output/x11/xcommon.c, src/playlist/playlist.c: new intf-popupmenu obj var to handle popup context menu requests from the vouts.
Derk-Jan Hartman [Mon, 26 May 2003 14:59:37 +0000 (14:59 +0000)]
* modules/codec/quicktime.c: i had accidently upgraded this plugin to 100
* modules/demux/avi/avi.c: fixed a spelling error reported by emulynx
* modules/gui/macosx/intf.?: added a wrapString:toWidth function
* modules/gui/macosx/prefs.?: removed the use of vlc_wraptext, because it
was ugly. now we use our own, osx method. This fixes tooltips in japanese
I'm not sure, but i think src/extras/libc.c vlc_wraptext is now unused.
Gildas Bazin [Mon, 26 May 2003 02:09:27 +0000 (02:09 +0000)]
* modules/gui/skins: got rid of init_lock and init_cond which aren't needed if you use vlc_thread_ready().
started to implement X11Region and integrated the wxWindows dialogs.
* configure.ac.in: the X11 skins are the default ones when you use --enable-skins. To select the GTK2 version, you also need to use --with-gtk2-skins.
Derk-Jan Hartman [Mon, 26 May 2003 02:03:10 +0000 (02:03 +0000)]
* modules/gui/macosx/prefs.m: fixed the module selectors.
* modules/video_filter/crop.c: clarified the use of crop. someone please
check, i'm not entirely sure this is correct. Actually i think we should
split this up in more then one config item, for GUI preferences clarity.
Something like crop-width, crop-height, crop-h-offset, crop-v-offset, or
like ffmpeg has which uses left, right, top and bottom offsets.
Derk-Jan Hartman [Mon, 26 May 2003 01:25:12 +0000 (01:25 +0000)]
* extras/MacOSX/Resources/English.lproj/MainMenu.nib
* modules/gui/macosx/output.m:
- changed the textfields for bitrate into comboboxes with suggested values
identical to the ones in wxwindows intf.
- changed "bitrate (bps)" into "bitrate (kb/s)
* modules/gui/macosx/prefs.?:
- update the current view when advanced is changed.
- module_lists now use the description strings.
- always wraptext on tooltips. Currently japanese language is breaking.
- we now have sliders for int/float config options with ranges.
- fixed a warning message about an un-init'ed module_t.
* modules/video_filter/adjust.c:
- added the ranges to the description strings of the config options.
- blur-factor now uses a range as according to it's description string
it already should have used this.
Damien Lucas [Sun, 25 May 2003 18:02:20 +0000 (18:02 +0000)]
. SAP/SDP packets parsing: ability to parse RFC compliant packets
parse_sap returns the SAP header length
parse_sdp only parse the SDP payload
note that VLC will discard messages from the old miniSAP-server
(You have to use CVS version of miniSAP-server)
(Messages from the new miniSAP-server will be discarded with old VLC)
Gildas Bazin [Sun, 25 May 2003 11:31:54 +0000 (11:31 +0000)]
* src/video_output/video_output.c, modules/video_output/directx/*, modules/video_output/x11/xcommon.c: fullscreen state is now attached to the input, so it will be remembered even if the vout is restarted (switching filters, dvd menus, etc...).
* modules/video_filter/deinterlace/deinterlace.c: small change.