Sebastian Dröge
36e037be67
vdpau: Initialize some variables to make gcc 4.6 happy
2011-01-27 17:32:49 +01:00
Rob Clark
f356c4f7de
dvb: fix build errors on macosx
...
fixes the following compile errors:
cc1: warnings being treated as errors
camswclient.c: In function 'cam_sw_client_open':
camswclient.c:81: warning: implicit declaration of function 'strncpy'
camswclient.c:81: warning: incompatible implicit declaration of built-in function 'strncpy'
camswclient.c:89: warning: implicit declaration of function 'strerror'
camswclient.c:89: warning: nested extern declaration of 'strerror'
camswclient.c:89: warning: format '%s' expects type 'char *', but argument 9 has type 'int'
camswclient.c: In function 'send_ca_pmt':
camswclient.c:129: warning: implicit declaration of function 'memcpy'
camswclient.c:129: warning: incompatible implicit declaration of built-in
function 'memcpy'
gstdvbsrc.c:48:19: error: error.h: No such file or directory
Signed-off-by: Rob Clark <rob@ti.com>
2011-01-03 17:12:44 -06:00
Stefan Kost
e0e679dba9
README: fix the example pipeline
...
Fix the obvious outdated parts. Still this README looks outdated and should be
updated or removed.
2011-01-03 18:15:43 +02:00
Leo Singer
369f41913c
applemedia: fix compiler warning: redundant declaration of 'parent_class'
...
GST_BOILERPLATE_FULL declares parent_class as well.
https://bugzilla.gnome.org/show_bug.cgi?id=637532
2010-12-18 21:32:36 +00:00
Francis Rammeloo
6792b0fb16
gdiscreencapsrc: fix memory leak
...
Structure members of ICONINFO struct filled by GetIconInfo() must
be deleted when no longer needed according to the API reference.
https://bugzilla.gnome.org/show_bug.cgi?id=611428
2010-12-13 23:17:56 +00:00
Ole André Vadla Ravnås
f3d8e3920d
applemedia: only enqueue buffers in the VideoToolbox callbacks
...
These callbacks may fire from any thread, hence we should only enqueue
buffers and let the streaming thread take care of the rest as soon as
the blocking encode or decode operation has finished.
2010-12-10 04:07:05 +01:00
Ole André Vadla Ravnås
f7e5878c9e
applemedia: bring back Leopard compatibility
...
At least as far as miovideosrc is concerned. Turns out that CoreVideo's
CVPixelBufferGetIOSurface is not present in Leopard's version of CoreVideo.
We solve this by making it possible for symbols to be marked as optional.
2010-12-10 04:06:59 +01:00
Christian Berentsen
6cf92cd25c
winks: fix framerate fraction range mapping
...
Min and max may be slightly different but compress to the same fraction.
2010-12-10 04:06:53 +01:00
Alessandro Decina
0b6e0b7b13
qtkitvideosrc: reset the queue condition to NO_FRAMES in unlockStop.
...
Fixes a segfault in create: when going PLAYING -> PAUSED -> PLAYING.
2010-12-09 12:04:10 +01:00
Alessandro Decina
ec6c307334
qtkitvideosrc: run the mainRunLoop for a while if not running.
...
QTCaptureSession::addInput and QTCaptureSession::addOutput call
NSObject::performSelectorOnMainThread internally so they need the mainRunLoop to
run at least for a while to complete.
2010-12-09 11:55:57 +01:00
Benjamin Gaignard
b4ff7c94d7
sys: Add android audioflingersink
2010-12-03 17:46:27 +01:00
Alessandro Decina
536a30f2df
applemedia: don't use the deprecated g_strcasecmp function.
...
Replace g_strcasecmp with g_ascii_strcasecmp.
2010-12-01 23:21:33 +01:00
Alessandro Decina
aae72680bd
Fix compiler warnings with gcc 4.2.1 on OSX.
2010-12-01 23:20:36 +01:00
Olivier Crête
ecb7674640
shm: Don't pass the ShmPipe to the function closing the shm area
2010-11-24 19:12:10 -05:00
Olivier Crête
56c4a9b692
shm: Use the right counter when freeing buffers
2010-11-24 19:12:10 -05:00
Olivier Crête
a770d7a707
shmalloc: Manually decide to use GLib or not in the shmalloc
...
So make it easier for embedders to use it with or without Glib
2010-11-24 19:12:10 -05:00
Olivier Crête
01f1cc20d7
shm: Remove duplicated arguement
2010-11-24 19:12:10 -05:00
Olivier Crête
70b8d2ab93
shm: Fix socket leak on connect() error
2010-11-24 19:12:10 -05:00
Olivier Crête
225bc1dd0b
shm: sp_client_recv returns negative on error, so make the retval signed
2010-11-24 19:12:10 -05:00
Olivier Crête
2aaf51af49
shm: Rename confusingly named variable
2010-11-24 19:12:10 -05:00
Olivier Crête
de9905db03
shm: Change permissions on old shm areas too
...
Change the permissions on old shm areas
2010-11-24 19:12:10 -05:00
Olivier Crête
0b99919c55
shm: Use the macro for the last error too
2010-11-24 19:12:10 -05:00
Olivier Crête
a533c30ab8
shm: Use "ablock" for all ShmAllocBlock variables
...
Use the ablock variable name for ShmAllocBlocks and block for
ShmBlock
2010-11-24 19:12:10 -05:00
Olivier Crête
b14a0d64ec
shm: Add more comments
2010-11-24 19:12:10 -05:00
Youness Alaoui
768319b866
shm: stylist improvements
2010-11-24 19:12:10 -05:00
Youness Alaoui
a7b27bc2d0
shm: Explain some fields
...
Explain what some of the fields in the allocator actually mean
2010-11-24 19:12:10 -05:00
Andoni Morales Alastruey
7c43c2fa06
dvbbasebin: Add TDT to the initial pids filter for dvbsrc. Fixes #635200 .
2010-11-19 18:04:12 +01:00
Ole André Vadla Ravnås
abdb30c567
celvideosrc: fix nasty deadlock
...
We cannot call any CMBufferQueue functions while holding the lock that
our callback also depends on. So now we make use of CMBufferQueue's
trigger API in order to get notified when the queue has data.
2010-11-12 00:44:42 +01:00
Ole André Vadla Ravnås
de76e9fdb6
cmapi: cover CMBufferQueue's trigger API
2010-11-12 00:44:42 +01:00
Ole André Vadla Ravnås
e4db4257d5
celvideosrc: unlock should also notify
...
Otherwise we depend on being woken up by the CoreMedia queue getting
its next buffer.
2010-11-12 00:44:42 +01:00
Ole André Vadla Ravnås
ebd2a6d6e9
applemedia: don't push synchronously from callback
...
The codec that called us might be holding locks to shared resources, so
we should never push downstream from within its buffer callback.
Note that a GstBufferList is not used here because we need to preserve
the buffer metadata held by our GstBuffer subclasses.
2010-11-11 00:22:31 +01:00
Ole André Vadla Ravnås
6b63954f63
vtenc: bump H.264 level from 1.3 to 3.0
...
This should be turned into a property.
2010-11-11 00:22:31 +01:00
Ole André Vadla Ravnås
6e909dc474
celvideosrc: add basic device selection support
2010-11-11 00:22:31 +01:00
Ole André Vadla Ravnås
2382f10b98
cvapi: add wrapper for IO surface access
...
To be used in a future video sink for zero-copy rendering.
2010-11-11 00:22:31 +01:00
Ole André Vadla Ravnås
420943972c
celapi: add capture port type constants
2010-11-11 00:22:31 +01:00
Ole André Vadla Ravnås
d10e029f51
applemedia: biplanar is actually NV12, not I420
...
D'oh!
2010-11-08 23:58:25 +01:00
Ole André Vadla Ravnås
d865feca82
vtenc: remove keyframe enforcement workaround
...
Was only needed for old iOS where the H.264 encoder didn't support
kVTEncodeFrameOptionKey_ForceKeyFrame.
2010-11-08 23:58:25 +01:00
Ole André Vadla Ravnås
abba3a4126
cvapi: add a few extra bits of wrapping
2010-11-08 23:58:25 +01:00
Ole André Vadla Ravnås
b4654f537f
applemedia: lock CVPixelBuffer read-only
...
As per Apple's docs, this may improve performance by avoiding redundant
invalidations of existing caches of the buffer contents.
2010-11-08 23:58:24 +01:00
Ole André Vadla Ravnås
6428d306ea
celvideosrc: put planar first in template caps
2010-11-08 14:02:50 +01:00
Ole André Vadla Ravnås
c2672f71cd
applemedia: improve vtenc/vtdec performance
...
Profiling of H.264 encode and decode revealed that conversions
between packed and planar were happening behind the scenes.
Hence we now choose I420 instead of YUY2.
2010-11-08 14:02:50 +01:00
Ole André Vadla Ravnås
1eb9190ad9
celvideosrc: measure fps when statistics is enabled
...
Also refactor timestamping slightly.
2010-11-05 16:52:58 +01:00
Ole André Vadla Ravnås
b7368c34fd
celvideosrc: update to new Celestial and MediaToolbox APIs
...
This means celvideosrc is no longer compatible with iOS 3.x.
2010-11-05 15:32:37 +01:00
Ole André Vadla Ravnås
bf095e891f
celvideosrc: fix debug category description
2010-11-05 15:32:37 +01:00
Ole André Vadla Ravnås
517f3a75c2
celapi: update to reflect new API on iOS 4.x
...
Also add remaining property constants for device and stream.
2010-11-05 15:32:37 +01:00
Ole André Vadla Ravnås
da5da05540
mtapi: update to reflect new API on iOS 4.x
...
Also add remaining property constants for device and stream.
2010-11-05 15:32:37 +01:00
Ole André Vadla Ravnås
8402211bac
applemedia: make video source element details consistent
...
Inspired by the v4l2src element details.
2010-11-04 19:27:25 +01:00
Ole André Vadla Ravnås
445d7502c4
applemedia: consistently use gst_element_class_set_details_simple
2010-11-04 19:27:25 +01:00
Ole André Vadla Ravnås
5d71ad0d52
celvideosrc: update e-mail address
2010-11-04 19:27:25 +01:00
Ole André Vadla Ravnås
44df8abea8
applemedia: rename iphonecamerasrc to celvideosrc
...
This is in order to improve consistency with the other three sources.
2010-11-04 19:27:25 +01:00