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.
Gildas Bazin [Sat, 24 May 2003 23:40:11 +0000 (23:40 +0000)]
* src/misc/variables.c, include/variables.h: first pass at object var inheritance.
* rc/video_output/video_output.c, modules/video_filter/deinterlace/deinterlace.c: fixes to the deinterlace object var.
Gildas Bazin [Sat, 24 May 2003 20:54:27 +0000 (20:54 +0000)]
* src/video_output/video_output.c: new "deinterlace" object variable.
* modules/gui/macosx/prefs.m: compilation fix.
* modules/gui/wxwindows/menus.cpp: use the "deinterlace" object var.
* modules/gui/skins/*: couple of fixes.
Sam Hocevar [Sat, 24 May 2003 11:53:12 +0000 (11:53 +0000)]
* ./modules/access_output/udp.c: if the clock needs to be reset, we do not
wait or we will face delay issues as reported in #794. Fix inspired from
a suggestion by John Michael Zorko.
Derk-Jan Hartman [Sat, 24 May 2003 02:48:55 +0000 (02:48 +0000)]
* modules/codec/quicktime.c: cleaning up of the code. mostly cosmetic.
* modules/demux/mp4/mp4.c: added SVQ1 for the quicktime decoder.
* modules/gui/macosx/macosx.m: typo
* modules/gui/macosx/prefs.m: fix of the module selectors.
* po/nl.po: i've taken a head start on the translations.
* src/libvlc.h: removed unused string RT_PRIORITY_TEXT
Derk-Jan Hartman [Fri, 23 May 2003 00:00:48 +0000 (00:00 +0000)]
* vlc.ebuild: fixed the ebuild. Now i know it should work with a test2 ;)
* modules/gui/macosx/vout.m: removed some code that was preventing us from
using chroma converters.
* modules/codec/quicktime.c:
- added the video decoder. only works with SVQ3 atm, returns Invalid
BITMAPHEADER for some reason in all other cases.
- did some cleaning up. this might just work under Win32 now aswell,
gibalou will do some testing tomorrow ;)
- SVQ3 QT degrades faster then the ffmpeg version, but also recovers
faster. I'm not yet sure which one i prefer.
Derk-Jan Hartman [Thu, 22 May 2003 14:25:34 +0000 (14:25 +0000)]
* modules/gui/macosx/playlist.m: fixed my fix
* modules/gui/macosx/output.m: removed a debug statement
* modules/gui/macosx/prefs.m: fixed localizations of the prefs panel.
Gildas Bazin [Thu, 22 May 2003 12:00:57 +0000 (12:00 +0000)]
* INSTALL.win32: added a small note about running vlc under the msvc debugger.
* modules/gui/wxwindows/*: small fixes.
* modules/access/vcd/*, modules/access/cdda.c: re-activated autodetection of vcd and cdda on win32.
* src/misc/cpu.c, src/stream_output/announce.c: msvc fixes.
Derk-Jan Hartman [Wed, 21 May 2003 21:30:30 +0000 (21:30 +0000)]
* modules/gui/macosx/output.m: fixed the stream/transcode dialog. test1
version was broken.
* extras/MacOSX/vlc.pbproj/project.pbxproj: darn, absolute paths.
Derk-Jan Hartman [Wed, 21 May 2003 19:55:25 +0000 (19:55 +0000)]
* vlc.ebuild: This ebuild should work if we release a test2.
* modules/codec/quicktime.c: I added all the audio formats I know QT can handle.
except for mp3 ;)
* modules/codec/ffmpeg: added asv1 (disabled), and enabled IV31 on little endian,
since the problems with this decoder are endian specific according to it's creator.
Derk-Jan Hartman [Wed, 21 May 2003 15:40:03 +0000 (15:40 +0000)]
* include/main.h
src/libvlc.c: Added a quicktime_lock on SYS_DARWIN
* ALL: QT on OSX is not threadsafe in certain areas. i have found the proces
of identifying the right Codec to use for decoding to be one of these areas.
So when we do this, only one thread at a time can use QT.
Watching QT trailers is doable now, as soon as ffmpeg fix their altivec optimizations again ;)
Gildas Bazin [Wed, 21 May 2003 13:27:25 +0000 (13:27 +0000)]
* modules/gui/skins/src/vlcproc.cpp: fixed yesterday's breakage.
* modules/gui/wxwindows/menus.cpp: fixes for menu auto-generation.
* src/video_output/video_output.c: added a "fullscreen" object variable.
* modules/video_output/directx/*: added an always-on-top object variable and modified to take into account the fullscreen object variable.