Commit Graph

4235 Commits

Author SHA1 Message Date
Cyril Deguet f46c8fc384 * added <unistd.h> or it doesn't compile ! 2003-06-04 18:47:57 +00:00
Gildas Bazin 764116ba15 * modules/gui/skins/x11/x11_api.cpp: implemented OSAPI_GetTime() and OSAPI_RmDir(). 2003-06-04 17:44:57 +00:00
Gildas Bazin 26ca5a34b0 * modules/gui/skins/src/vlcproc.cpp: compilation fix. 2003-06-04 16:44:39 +00:00
Gildas Bazin 5143bba07e * 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.
2003-06-04 16:03:34 +00:00
Christophe Massiot a87a516830 * OS X users can now browse the DVD menus with the arrow keys. 2003-06-03 23:17:43 +00:00
Derk-Jan Hartman e425015648 * 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.
2003-06-03 22:21:46 +00:00
Gildas Bazin 66b8fa4943 * modules/gui/skins/src/*: oops, forgot to add a bunch of files. 2003-06-03 22:20:00 +00:00
Gildas Bazin f57c3296cc * 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).
2003-06-03 22:18:58 +00:00
Eric Petit 7c26f655c0 modules/gui/beos/* : fixed the screenshot format selection I broke lately 2003-06-03 12:06:29 +00:00
Sigmund Augdal Helberg fd8929f6cb http.c: if the webserver doesn't return 206 the stream is not seekable. 2003-06-02 16:01:21 +00:00
Derk-Jan Hartman 877413ab86 * modules/codec/libmpeg2.c: fixed a crasher with invalid pictures
* modules/gui/macosx/playlist.m: better fix for playlists on 10.1
2003-06-02 12:42:15 +00:00
Derk-Jan Hartman a85ddccdcd * 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.
2003-06-01 23:48:17 +00:00
Cyril Deguet 4c0e43c15d * 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 ;-)
2003-06-01 22:11:24 +00:00
Cyril Deguet 2c90cd6d50 * mouse wheel scroll for X11 skins 2003-06-01 17:13:04 +00:00
Cyril Deguet 44fb33abc7 * 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 !
2003-06-01 16:39:49 +00:00
Laurent Aimar 1a7ed93b9d * ts: fix current_next value. 2003-06-01 00:26:41 +00:00
Sam Hocevar 1c34a0ad27 * ./debian/vlc.mime: the vlc packages registers with the Debian MIME system. 2003-05-31 23:41:49 +00:00
Olivier Teulière 7643c27ba0 * 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?).
2003-05-31 23:23:59 +00:00
Laurent Aimar cf9cdcac3e * ts: proper fix for both. 2003-05-31 21:49:12 +00:00
Laurent Aimar 7598e76ca5 * ts: reverse my last commit (the proper way should be to modify also the
muxer but this will break compatibility).
2003-05-31 16:15:33 +00:00
Eric Petit 37d2304ff9 * 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
2003-05-31 12:24:39 +00:00
Laurent Aimar ba8a03345c * 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.
2003-05-31 01:23:29 +00:00
Laurent Aimar aaaf677b4f * mux/ts.c : allowed sending mjpeg (who said that's ugly ?)
* demux/ts.c : fixed an endian problem with such private stream.
2003-05-31 00:10:11 +00:00
Eric Petit 843ab7adfd modules/gui/beos/* : fixed "Goto Menu" menuitem enabling 2003-05-30 18:43:31 +00:00
Eric Petit d1208fa621 modules/gui/beos/* : misc fixes & enhancements 2003-05-30 17:30:54 +00:00
Cyril Deguet f574db4940 * X11 skins now use imlib2 -> you need to bootstrap
wxwindows dialogs are not supposed to work yet, if they do you are
  lucky ;)
2003-05-29 21:40:27 +00:00
Cyril Deguet e950e33879 * x11/x11_theme.cpp: better timing for SkinManage
* src/vlcproc.cpp: hack to make OpenDialog work, but it MUST be
  changed !
2003-05-29 16:48:29 +00:00
Cyril Deguet 63fa336de7 * AT LAST events work in X11 skins ! 2003-05-28 23:56:51 +00:00
Derk-Jan Hartman 470e72bdbc * 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?
2003-05-28 03:53:04 +00:00
Eric Petit 65ce3ece26 modules/video_output/x11/xcommon.c : compile fix for gcc != 3 2003-05-28 00:52:05 +00:00
Gildas Bazin 7d5b13c664 * install-win32: fixed the nsi script to not include the FAQ. 2003-05-27 22:57:03 +00:00
Derk-Jan Hartman 05339fb9b3 * 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.
2003-05-27 22:42:58 +00:00
Gildas Bazin 82cf0f0735 * modules/gui/win32/Modules.am: strings.cpp has been removed. 2003-05-27 22:08:02 +00:00
Gildas Bazin 8e9d90a130 * ALL: bumped version to 0.6.0-test2
* Makefile.am: got rid of the faq in the package-win32 target.
2003-05-27 21:48:45 +00:00
Gildas Bazin df78842580 * 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. 2003-05-27 20:43:20 +00:00
Eric Petit 19eb3d9a3a * 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
2003-05-27 13:22:46 +00:00
Gildas Bazin d0b795a5cc * modules/gui/wxwindows/*: fixed context menu problem on win32. 2003-05-27 11:35:34 +00:00
Derk-Jan Hartman 48b748067c * removed vlc_wraptext 2003-05-27 01:48:50 +00:00
Gildas Bazin 49ca49407d * modules/video_output/directx/events.c: fixed breakage. 2003-05-26 19:26:53 +00:00
Gildas Bazin 34e462b493 * 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.
2003-05-26 19:06:47 +00:00
Gildas Bazin 0188c0993b * modules/gui/wxwindows/*: replaced the Advanced button with a checkbox. Small strings changes. 2003-05-26 16:06:13 +00:00
Derk-Jan Hartman e230f12227 * 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.
2003-05-26 14:59:37 +00:00
Clément Stenac 2db764f9f8 * The VLC-integrated SAP server now sends compliant packets. They can
only be viewed with the CVS version of VLC
2003-05-26 13:45:52 +00:00
Gildas Bazin 9de7a7eb39 * 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.
2003-05-26 02:09:27 +00:00
Derk-Jan Hartman 8556d7eed2 * 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.
2003-05-26 02:03:10 +00:00
Derk-Jan Hartman b52970e2dc * 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.
2003-05-26 01:25:12 +00:00
Eric Petit ee68542efb modules/gui/beos/MediaControlView.cpp: fixed a strange crash that happens
since the gettext behaviour changed
2003-05-25 23:08:44 +00:00
Eric Petit f4fabf9846 * bootstrap: remove a -shared flag as ./configure already adds it for
platforms which need it
 * configure.ac.in: don't use -shared on BeOS
2003-05-25 22:36:33 +00:00
Gildas Bazin 31f8428f7b * configure.ac.in, modules/video_output/x11/xcommon.c: fixed configure check for the Xinerama extension. 2003-05-25 20:16:26 +00:00
Gildas Bazin cabbb15803 * modules/video_output/x11/*, configure.ac.in: Xinerama support remotely based from an old patch by Xavier Maillard. 2003-05-25 19:24:53 +00:00