1
mirror of https://code.videolan.org/videolan/vlc synced 2024-07-21 07:24:15 +02:00
Commit Graph

26 Commits

Author SHA1 Message Date
Rémi Duraffort
f6d9ebe618 Use calloc instead of malloc+memset. 2008-12-12 23:51:23 +01:00
Rémi Denis-Courmont
0549228196 Remove most stray semi-colons in module descriptions
Those multi-lines are still to be done (it's going to be fun...)
See also 5af4cc854b.
2008-10-29 22:14:26 +02:00
Derk-Jan Hartman
434acb18e8 qtcapture: better retrieval for picture sizes.
- Hopefully also fixes PAR and usage of older iSights (different fourcc)
- Note that the iSight reports itself as a 320x240 (NOT 640x480) device by default.
(cherry picked from commit ef585031b4c58db3cc333a96c6cbb6c07d85f8b5)
2008-09-09 20:20:43 +02:00
Derk-Jan Hartman
1348f88f18 qtcapture: const a struct. 2008-08-03 13:21:36 +02:00
Derk-Jan Hartman
c0538c2c67 qtcapture: don't release an item that is in the autorelease pool
Fixes a crash in Close() of the module.
2008-07-25 03:34:06 +02:00
Derk-Jan Hartman
344b1df555 qtcapture: Use Hosttime when available. 2008-07-21 02:28:42 +02:00
Pierre d'Herbemont
05f184decf Revert "qtcapture: Use a direct block buffer, and remove a memcpy."
This reverts commit b65ca27b5b.

It doesn't work well enough.
2008-07-18 00:42:53 +02:00
Pierre d'Herbemont
b65ca27b5b qtcapture: Use a direct block buffer, and remove a memcpy. 2008-07-18 00:18:16 +02:00
Felix Paul Kühne
65b80858ef Fixed a rare sent-msg-to-freed-object issue 2008-07-16 23:13:49 +02:00
Pierre d'Herbemont
bd4bd54dc6 qtcapture: Don't release objects when libvlc quit, else we may loose our main thread, and dead lock. 2008-07-16 20:49:23 +02:00
Derk-Jan Hartman
06e5daea61 Don't send blocks from qtcapture Demux that we have already sent before. Avoid excessive CPU usage while there are no new blocks. 2008-07-16 17:14:22 +02:00
Derk-Jan Hartman
c375cdfc27 Use the actual pts in qtcapture.
This works, but perhaps i'm loosing too much precission here. Are there better ways to change timevalue + scale into walltime ?
2008-07-16 16:58:05 +02:00
Felix Paul Kühne
9af5ad61eb Added a couple of more useful error messages 2008-06-15 00:04:43 +02:00
Felix Paul Kühne
e541f7f3aa Added complete l10n to the Capture interface and a useful error messages to the input module 2008-06-13 02:16:11 +02:00
Felix Paul Kühne
01744abf01 Don't double free objects on error. Pointed by Pierre 2008-06-13 01:51:02 +02:00
Felix Paul Kühne
775f2164a7 Clean up the code a bit, turning to be half as laggy as the previous code, but it will need to be properly fixed.
Additionally, we are a good citizen now, since we actually quit our session instead of just releasing it. This takes a couple of secs though.
2008-06-12 04:35:58 +02:00
Rémi Denis-Courmont
3561b9b28f Plugins: include vlc_common.h directly instead of vlc/vlc.h 2008-05-31 22:10:30 +03:00
Pierre d'Herbemont
b3983d355b qtcapture: Initialize our structure no sooner than needed. 2008-05-28 13:16:50 +02:00
Pierre d'Herbemont
d4e0e3d40e qtcapture: Don't probe qtcapture access if not selected. 2008-05-28 13:08:58 +02:00
Pierre d'Herbemont
c302959a48 qtcapture: Hack to get a more decent CPU consumption. 2008-05-27 18:53:25 +02:00
Pierre d'Herbemont
d171dda10a qtcapture: Don't use the pts provided by qtkit. I don't get how it works for now. 2008-05-26 03:10:59 +02:00
Pierre d'Herbemont
303a7cc10d qtcapture: Fix a warning. 2008-05-26 02:57:26 +02:00
Pierre d'Herbemont
3e461d28de qtcapture: Tab fixes, plus attempt to get the real PTS. We still really do lag compared to PhotoBooth... 2008-05-26 02:55:39 +02:00
Pierre d'Herbemont
90d9d6dda3 qtcapture: statification and comment. 2008-05-26 02:34:01 +02:00
Pierre d'Herbemont
ba369e1fd6 qtcapture: msg_Err->msg_Dbg 2008-05-26 02:31:40 +02:00
Pierre d'Herbemont
9dcd81a1dc qtcapture: New access_demux module (QTKit based) to capture video from your iSight Camera on Mac OS X.
Usage: 'vlc qtcapture://'.

This is a 2 hours hacked module. We don't grab sound yet, and there are a lot of FIXME.

Note: For some reason QTKit needs a the main thread to be a cocoa thread. Don't expect it to run with -I dummy for instance.
2008-05-26 02:24:59 +02:00