Andoni Morales Alastruey
94d77829a4
avfvideosrc: sort caps with the highest resolution first
...
When started without any caps filter we prefer the highest
supported resolution.
2013-11-07 15:24:28 +01:00
Matthieu Bouron
66334591cc
avfvideosrc: support screen capture on OSX
...
https://bugzilla.gnome.org/show_bug.cgi?id=711432
2013-11-07 15:24:28 +01:00
Matthieu Bouron
88b5ff76f6
avfvideosrc: minor cosmetic
2013-11-07 15:24:28 +01:00
Matthieu Bouron
752d74b31f
avfvideosrc: use input device formats to set/get caps if available
...
https://bugzilla.gnome.org/show_bug.cgi?id=711211
2013-11-07 15:24:28 +01:00
Matthieu Bouron
35587efdc9
avfvideosrc: update caps if frame size has changed
...
On OSX, setting the pixel format on the output reset the capture device
to its native resolution, so we need to update the caps if the output
frame size has changed before a proper solution is found.
2013-11-07 15:24:28 +01:00
Matthieu Bouron
fae79751ad
avfvideosrc: check if low preset is available
2013-11-07 15:24:28 +01:00
Matthieu Bouron
7f807270fa
avfvideosrc: use a dedicated queue for AVFoundation calls
...
Replace the main queue with a dedicated queue for AVFoundation calls
so the execution on this queue won't block if the main queue
is not running.
2013-11-07 15:24:28 +01:00
Matthieu Bouron
5d612768a4
avfvideosrc: remove trailing space
2013-11-07 15:24:28 +01:00
Matthieu Bouron
19844fab47
avfvideosrc: dispatch AVFoundation calls synchronously in the main queue
2013-11-07 15:24:27 +01:00
Matthieu Bouron
0d74dc802a
applemedia: enable avfvideosrc if AVFoundation is present
2013-11-07 15:24:27 +01:00
Matthieu Bouron
b6925d5c56
avfvideosrc: only enable 1920x1080 preset on iOS
2013-11-07 15:24:27 +01:00
Matthieu Bouron
06d59e7829
applemedia: port avfvideosrc to 1.0
2013-11-07 15:24:27 +01:00
Sebastian Dröge
1009484090
applemedia-nonpublic: Link with gmodule for g_module_open() and others
2013-11-04 10:05:41 +01:00
Sebastian Dröge
831c67c07b
applemedia: Link with gmodule for g_module_open() and others
2013-11-04 10:05:40 +01:00
Andoni Morales Alastruey
786f5e4f7c
androidmedia: fix rank for more software decoders
...
In Galaxy S4 the codecs list contains some OMX.SEC.foo.sw.dec
as software decoders
https://bugzilla.gnome.org/show_bug.cgi?id=711214
2013-10-31 16:38:41 +01:00
Matthieu Bouron
7ec5f8527a
applemedia-nonpublic: fix plugin name
...
https://bugzilla.gnome.org/show_bug.cgi?id=711135
2013-10-30 16:29:13 +00:00
Matthieu Bouron
1b2b879bf4
vtenc: use proper release callback type in CVPixelBufferCreateWithPlanarBytes
...
https://bugzilla.gnome.org/show_bug.cgi?id=711140
2013-10-30 16:27:58 +00:00
Matthieu Bouron
22eaf39c1a
avfvideosrc: fix truncated line
...
https://bugzilla.gnome.org/show_bug.cgi?id=710657
2013-10-30 16:27:58 +00:00
Andoni Morales Alastruey
6b49683447
androidmedia: fix access to invalid buffers in the decoding loop
...
Flushing the decoder invalidates all buffers, so it should be done
after quiting the decoding loop. Otherwise we can jump into
"failed_release" and stop everything
https://bugzilla.gnome.org/show_bug.cgi?id=711156
2013-10-30 16:24:17 +01:00
Chen Jie
b05a1f75fd
androidmedia: make gst_amc_avc_profile_from_string recognize alt name
...
https://bugzilla.gnome.org/show_bug.cgi?id=710433
2013-10-18 10:01:43 +01:00
Dominik Röttsches
b002490ab2
vtenc: Add support for I420
...
https://bugzilla.gnome.org/show_bug.cgi?id=709241
2013-10-02 13:18:04 +02:00
Dominik Röttsches
24c79af394
vtenc: Use correct strides, etc from the GstVideoFrame
...
https://bugzilla.gnome.org/show_bug.cgi?id=706211
2013-10-02 13:14:32 +02:00
Sebastian Dröge
4bed01aff9
iosassetsrc: Port to 1.0 and fix some bugs on the way
2013-09-28 20:36:21 +02:00
Andoni Morales Alastruey
e5d5faa67e
iosassetsrc: Add new element from the GStreamer SDK project
2013-09-28 20:36:21 +02:00
Sebastian Dröge
dd19715961
applemedia: avfvideosrc is not ported to 1.0 yet
2013-09-28 20:36:21 +02:00
Sebastian Dröge
1ab90f259f
bluez: Fix compilation on big endian systems
2013-09-25 20:28:03 +02:00
Sebastian Dröge
2b94641a42
amcvideodec: Don't put the level restrictions on the sinkpad caps
...
They tend to be inaccurate and having them in the sinkpad caps
prevents playback of files that would otherwise play fine.
2013-09-12 13:23:28 +02:00
Olivier Crête
fb639741d7
uvch264src: Fix small mem leak
2013-09-09 13:14:24 -04:00
Olivier Crête
8fb6628842
uvch264src: Let the caps be NULL if there is no peer
2013-09-05 19:24:07 -04:00
Olivier Crête
5ac10edde7
uvch264src: No need to drop segment events
...
In 1.0, segment events are sticky and not additive, no need to prevent
their accumulation.
2013-09-05 19:24:07 -04:00
Tim-Philipp Müller
fb9fbc8fba
decklinksrc: send caps event before segment
2013-09-05 19:10:31 +01:00
Sebastian Dröge
d065c09684
amcvideodec: Port tiled NV12 conversion to 1.0
2013-09-03 11:06:00 +02:00
Sebastian Dröge
c4e742f428
amcvideodec: Add FIXME comment
2013-09-03 11:06:00 +02:00
Jorge Luis Zapata
48484f04a2
androidmedia: add support for a new qualcomm colorspace
2013-09-03 11:06:00 +02:00
Andoni Morales Alastruey
ef7a8c2ca8
d3dvideosink: disable buffer pools
...
On a device lost, all the surfaces allocated in the
device need to be released before resetting the device,
which can't be done for the allocated buffers.
https://bugzilla.gnome.org/show_bug.cgi?id=706566
2013-09-02 18:21:11 +02:00
Sebastian Dröge
5a82dc9028
avdtputil: Some minor cleanup and leak fixes
2013-08-29 10:20:56 +02:00
Bernhard Miller
597e3cc98d
bluez: support aac in avdtpsrc
...
Signed-off-by: Bernhard Miller <bernhard.miller@streamunlimited.com>
2013-08-29 10:17:07 +02:00
Sebastian Dröge
6f4f84fea0
directsoundsrc: Remove unused variable
2013-08-22 17:32:17 +02:00
Kishore Arepalli
9df9ee426e
directsoundsrc: Add 'device-name' property for selecting a audio device
...
https://bugzilla.gnome.org/show_bug.cgi?id=706574
2013-08-22 15:10:20 +02:00
Edward Hervey
c3e4fe4edc
dvb: Adapt for latest mpegts lib changes
2013-08-21 08:59:42 +02:00
Robert Krakora
006e7a3428
uvch264src: don't error out on incomplete aux data segment
...
It appears that the Logitech C920 sometimes drops the next
to last segment of RAW aux data contained within the MJPEG
container. H264 data that is multiplexed with in the same
container does not appear to be affected. This appears to
be a bug in the Logitech C920 firmware and uvch264src should
not error out in this case.
Sometimes it can take 24 hours of continuous streaming for
the problem to occur, but sometimes it takes only a couple
of hours.
https://bugzilla.gnome.org/show_bug.cgi?id=706276
2013-08-20 18:57:01 +01:00
Sebastian Dröge
2e8af6973f
ext: Use new flush vfunc of video codec base classes and remove reset implementations
2013-08-15 15:46:58 +02:00
Tim-Philipp Müller
9d92aaabe7
dvbbasebin: fix criticals when trying to cast a GstPad to a GstElement
...
message->src might be a GstPad. Observed during gst-inspect-1.0 -a
2013-08-14 13:29:02 +01:00
Tim-Philipp Müller
6f5934f3aa
uvch264mjpgdemux: fix event ordering
2013-08-10 21:35:09 +01:00
Tim-Philipp Müller
933965984f
dvbsrc: remove use of _XOPEN_SOURCE
...
Which causes problems when used with _GNU_SOURCE apparently, and it
seems it was only set because of usleep(), which we can just replace
with g_usleep() until we get rid of those entirely.
https://bugzilla.gnome.org/show_bug.cgi?id=705208
2013-08-03 18:09:24 +01:00
Bernhard Miller
f3d6e46454
bluez: return GST_FLOW_EOS in avdtpsrc create when stream is EOF
...
Signed-off-by: Bernhard Miller <bernhard.miller@streamunlimited.com>
https://bugzilla.gnome.org/show_bug.cgi?id=705349
2013-08-02 14:40:54 +01:00
Edward Hervey
97426a1caa
all: Fix for GST_DISABLE_GST_DEBUG
...
Where applicable, remove methods that don't do anything different than
the default implementation.
2013-07-29 09:42:12 +02:00
Olivier Crête
b52a84354e
uvch264_mjpgdemux: Remove duplicated variables
2013-07-28 17:29:32 +02:00
Olivier Crête
8b80d60648
uvch264_mjpgdemux: Don't unmap/unref buffer if it's pushed out as-is
2013-07-28 17:25:34 +02:00
Robert Krakora
bd386a2785
uvcv4l2_mjpegdemux: Unmap buffer
...
https://bugzilla.gnome.org/show_bug.cgi?id=699517
2013-07-28 17:25:27 +02:00
Alessandro Decina
95d5a8055b
applemedia: atdec: destroy the queue if set_format fails
2013-07-24 09:18:43 +02:00
Alessandro Decina
10d02e381b
applemedia: atdec: remove c++ style comments
2013-07-24 09:15:49 +02:00
Alessandro Decina
d71aaec486
applemedia: atdec: 1st round of fixes
2013-07-24 09:11:59 +02:00
Alessandro Decina
92bcdd9c4b
applemedia: add AudioToolbox based audio decoder
2013-07-23 10:36:47 +02:00
Sebastian Dröge
60c2c123be
decklink: Add support for group-id in the stream-start event
2013-07-23 10:33:31 +02:00
Youri Westerman
136aa4614e
decklink: actually enable decklinksink
...
https://bugzilla.gnome.org/show_bug.cgi?id=704505
2013-07-22 14:29:35 +01:00
Youri Westerman
f9898e42f6
decklink: add "device-number" to select from multiple devices
...
https://bugzilla.gnome.org/show_bug.cgi?id=704505
2013-07-22 14:19:25 +01:00
Edward Hervey
32f33c9448
dvb: Fix PMT handling
...
Was using an older (temporary) version of the mpegts library API.
2013-07-05 13:54:39 +02:00
Edward Hervey
b8ad909bd7
dvb: GstMpegTS => GstMpegTs
2013-07-03 14:00:58 +02:00
Edward Hervey
10c929c795
dvb: Switch to MPEG-TS SI library
...
Also serves as an example of using mpegts library from a plugin
https://bugzilla.gnome.org/show_bug.cgi?id=702724
2013-07-03 09:17:25 +02:00
Sebastian Dröge
e2b83ff8a0
winscreencap: Initial port to 1.0
2013-06-20 23:00:59 +02:00
Xavi Artigas
85c1510d6b
androidmedia: Fix copying of raw video frames on Samsung Galaxy S3 with Exynos 4 SOC
2013-06-20 09:53:41 +02:00
Aleix Conchillo Flaque
44807dcc1a
shmsink: unref buffer if no clients are connected
...
If no client has received the command, unref the buffer. This will
make sure that the shared memory area does not get filled with buffers
no one knows about.
https://bugzilla.gnome.org/show_bug.cgi?id=702684
2013-06-19 18:36:19 -04:00
Aleix Conchillo Flaque
8b00e02f16
shmsink: propagate events to basesink class
...
https://bugzilla.gnome.org/show_bug.cgi?id=702597
2013-06-18 19:14:14 -04:00
Andoni Morales Alastruey
bab2bf3f11
applemedia: fix release of null pointer
2013-06-18 13:33:14 +02:00
Thiago Santos
eecc951070
applemedia: coremediabuffer: fix leaking of apple media structs
...
remember to release the apple's api buffers to avoid huge leaking
2013-06-18 13:17:52 +02:00
Andoni Morales Alastruey
22be93cd04
applemedia: move defines to CPPFLAGS for obj-c files
2013-06-18 13:02:42 +02:00
Andoni Morales Alastruey
c450a15f9f
dshowaudiosrc: fix audiocapture producing silence
...
Configure the capture latency using the IAMBufferNegotiation
interface and try to respect the configured latency-time and buffer-time
2013-06-18 12:04:58 +02:00
Sebastian Dröge
36e3426c73
build: Fix some automake warnings
2013-06-14 14:53:52 +02:00
Sebastian Dröge
17699d07e7
androidmedia: Fix string comparison
2013-06-07 14:01:46 +02:00
Chen Jie
a36c9c1cc9
androidmedia: Hacks for HuaweiMediaPad which reports wrong color format
...
COLOR_FormatYCbYCr is reported but it is actually COLOR_TI_FormatYUV420PackedSemiPlanar.
2013-06-07 11:08:52 +02:00
Sebastian Dröge
f3247930df
vdpau: Add some missing headers to dist
2013-06-05 18:29:48 +02:00
Sebastian Dröge
e0d7c2e7c8
applemedia-nonpublic: Add to the Makefile.am for dist
2013-06-05 17:49:59 +02:00
Andoni Morales Alastruey
a666843005
directdrawsink: update window width/height when it's not done in WndProc
2013-05-24 09:39:10 +02:00
Andoni Morales Alastruey
578b58e490
directdrwasink: call previous WndProc if any
2013-05-24 09:39:10 +02:00
Andoni Morales Alastruey
f4f4a8a0f3
directdrawsink: respect PAR with coordinates
2013-05-24 09:39:10 +02:00
Andoni Morales Alastruey
3eaa4128cc
applemedia-nonpublic: fix symbols redefinition for objc files
2013-05-24 09:39:10 +02:00
Andoni Morales Alastruey
0690238c59
applemedia: fix duplicated symbols with applemedia
2013-05-24 09:39:10 +02:00
Andoni Morales Alastruey
5f4ac8c58f
vtdec: simplify caps setting
2013-05-20 13:31:02 +02:00
Andoni Morales Alastruey
2f36ffb7d0
applemedia: fix H264 streams with b-frames
...
The decoder output frames in DTS order, even with the flag
kVTDecodeFrame_EnableTemporalProcessing. We store a internal
queue of the decoded frames and push them PTS order.
2013-05-20 13:31:02 +02:00
Andoni Morales Alastruey
3b249f6761
applemedia: fix segfault with dropped frames
2013-05-20 13:31:02 +02:00
Andoni Morales Alastruey
d9db0c2d4a
applemedia: improve usage of the VT API
...
Add timing information to CV samples and pass the GstBuffer
as extra data in the decode function
2013-05-20 13:31:02 +02:00
Andoni Morales Alastruey
db49a77682
applemedia: add support for MPEG-1 too
2013-05-20 13:31:02 +02:00
Andoni Morales Alastruey
9645d1df2d
applemedia: add support for MPEG-2 decoding
2013-05-20 13:31:02 +02:00
Andoni Morales Alastruey
5e09d61638
applemedia: use the best colorformat on each platform
...
This saves a colorspace conversion before the sink in OS X
2013-05-20 13:31:02 +02:00
Andoni Morales Alastruey
c69f41d299
applemedia: replace private function with its public variant
...
FigVideoFormatDescriptionCreateWithSampleDescriptionExtensionAtom
is an un-documented private function which might change its signature
as it already did in the past. Replace it with
CMVideoFormatDescriptionCreate and the also un-documented Extensions
dictionary.
2013-05-20 13:31:02 +02:00
Andoni Morales Alastruey
9b168e6b4d
applemedia: remove the unneeded buffer factory
2013-05-20 13:31:02 +02:00
Andoni Morales Alastruey
97bb1edf6c
applemedia: don't use the dynamic API for public frameworks
...
Public frameworks don't need to build the API dynamically, we instead
use the framework directly.
The exception is for VideoToolbox which went public in the 10.8 SDK,
but it's still private in older version of the SDK and iOS. This allow
building the plugin against SDK's where it's not a public framework.
2013-05-20 13:31:02 +02:00
Andoni Morales Alastruey
57b97beb6d
applemedia: move plugins using private frameworks to applemedia-nonpublic
2013-05-20 13:31:02 +02:00
Sebastian Dröge
e66f097f37
androidmedia: Fix indention
2013-05-20 13:24:07 +02:00
Chen Jie
0a90994b99
androidmedia: fix a minor error in COLOR_FormatYUV420Planar converting
...
https://bugzilla.gnome.org/show_bug.cgi?id=700521
2013-05-20 13:23:52 +02:00
Tim-Philipp Müller
df412ea69e
bluez: add debug category for avdtp utils
2013-05-13 00:06:10 +01:00
Sebastian Pölsterl
5d406192c3
Use DVB API v5 aka S2API instead of obsolete v3 API
...
Patch is based on work of Tony Houghton <h@realh.co.uk>
https://bugzilla.gnome.org/show_bug.cgi?id=654479
2013-05-08 18:14:14 +02:00
Sreerenj Balachandran
37352509eb
vdpau: Add VdpVideoSurface caps feature
2013-05-08 14:59:42 +02:00
Sebastian Dröge
363aa90a10
wasapisrc: Port to GstAudioSrc
2013-04-23 18:57:04 +02:00
Sebastian Dröge
1445438a8b
wasapi: Port wasapisink to GstAudioSink
2013-04-23 18:57:04 +02:00
Tim-Philipp Müller
bd504e379b
dvbbasebin: better error reporting
...
https://bugzilla.gnome.org/show_bug.cgi?id=678892
2013-04-21 18:28:52 +01:00
Tim-Philipp Müller
fc2b55919d
dvbbasebin: log channel parsing into dvbbasebin debug category as well
2013-04-21 14:13:45 +01:00
Tim-Philipp Müller
3bacb6312c
dvbbasebin: fix path where to look for the dvb-channels.conf
...
Construct path based on the API version, not $major.$minor version.
2013-04-21 14:04:11 +01:00
Sebastian Dröge
a887497d18
amcaudiodec: Properly set output format instead of just setting caps
2013-04-16 16:23:46 +02:00
Sebastian Dröge
055154fe78
androidmedia: Set parent class in class_init
2013-04-16 16:17:50 +02:00
Sebastian Dröge
7832b9b43f
androidmedia: Handle refcounts of pad templates correctly
...
gst_pad_template_new() does not take ownership of caps anymore and
gst_element_class_add_pad_template() does take ownership of the
pad template now.
2013-04-16 16:00:30 +02:00
Sebastian Dröge
fd8defc525
amcaudiodec: Use 1.0-style raw audio caps
2013-04-16 15:32:01 +02:00
Sebastian Dröge
75493a7731
androidmedia: Properly set subclasses metadata/pad templates in base_init
2013-04-16 15:31:34 +02:00
Anton Belka
70be50fbed
uvch264: printf format fix
...
gstuvch264_mjpgdemux.c:437:5: error: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'GstClockTime'
2013-04-15 18:05:37 +01:00
Sebastian Dröge
e51cd4fe2f
gst: Add better support for static plugins
2013-04-15 15:59:22 +02:00
Andoni Morales Alastruey
27c546ad1e
avfvideosrc: fix deadlock draining queue from the same thread
2013-04-15 09:02:37 +02:00
Fabricio Costa Alisedo
d7c6d240b5
dshowsrcwrapper: Added Graph Builder and Capture Builder to correctly create upstream needed filters by Analog TV Capture Devices.
2013-04-15 08:51:22 +02:00
Andoni Morales Alastruey
d4c3fd8a7e
dshowsrcwrapper: Add support for UYVY
2013-04-15 08:51:12 +02:00
Tim-Philipp Müller
86ae538ca2
sys: print format fixes in debug messages
2013-04-08 17:34:41 +01:00
Andoni Morales Alastruey
7f18295321
d3dvideosink: use bilinear filter as much as possible
...
Use the bilinear scalling filter when the magnifier or the minifier
filters are avaible. Some graphics cards do not provide minifier filters
but we want to use it for upscalling if it's available
https://bugzilla.gnome.org/show_bug.cgi?id=697176
2013-04-04 11:39:45 +02:00
Edward Hervey
35cd75684c
vdpau: Don't use deprecated GMutex methods
2013-04-01 09:10:53 +02:00
Edward Hervey
e3c71c65fe
vdpau: Port to 1.0
...
New base class for vdpau decoders
* mpeg2 ported and activated
* h264 ported but deactivated
* Uses GstMpegVideo meta
2013-03-31 19:05:31 +02:00
Edward Hervey
5e70c76b33
dvb: Move CAM handling to a separate GstTask
...
* No longer blocks in READY=>PAUSED (faster startup)
* No longer requires a pad probe
2013-03-31 12:11:48 +02:00
Edward Hervey
68c0d16b2c
dvbsrc: We output time segments
...
Fixes #690949
2013-03-30 13:54:50 +01:00
Olivier Crête
6e9ff0a160
shm: Make sure the zero-sized array is always last in the struct
...
https://bugzilla.gnome.org/show_bug.cgi?id=696681
2013-03-28 14:37:03 -04:00
Arun Raghavan
6adddc7c51
bluez: Remove a2dpsrc bin
...
This element isn't really useful. The original plan was to use this to
eventually allow dynamically picking a format based on what we can
support while negotiating with the source device. We can just plug in a
decodebin downstream and it'll handle RTP depayloading and decoding of
whatever format we negotiated with the source device.
2013-03-28 17:36:07 +00:00
Arun Raghavan
a3713f7be1
bluez: Compile fixes for avdtpsrc/a2dpsrc code against 1.x
2013-03-28 16:50:26 +00:00
Arun Raghavan
adc9d39710
bluez: Add avdtpsrc/a2dpsrc to build
2013-03-28 16:50:26 +00:00
Arun Raghavan
a3c8c0aed2
bluez: Fix up some problems that came in with cherry-pick
2013-03-28 16:50:26 +00:00
Wim Taymans
dddd89f5a2
bluez: We work in TIME format with avdtpsrc
2013-03-28 16:50:26 +00:00
Wim Taymans
19392a989e
bluez: Fix depreacation warnings on g_mutex_*
2013-03-28 16:50:26 +00:00
Wim Taymans
ec00b31b18
bluez: Fix a number of compiler warnings
2013-03-28 16:50:25 +00:00
Arun Raghavan
ac85a633b0
bluez: Fix some warnings in gstavdtputil.c
2013-03-28 16:50:25 +00:00
Arun Raghavan
b40c4f53a7
bluez: Fix typo in resetting the D-Bus connection
...
No real effect since FALSE and NULL are both 0
2013-03-28 16:50:25 +00:00
Arun Raghavan
6b1ccb8685
bluez: Handle EOF in avdtpsrc correctly
2013-03-28 16:50:25 +00:00
Arun Raghavan
49fa7ac6b2
bluez: Fix avdtpsrc getcaps() function
...
This is now a proper subset of the template caps.
2013-03-28 16:50:25 +00:00
Arun Raghavan
50b3040544
bluez: Add an a2dpsrc bin element
...
This wraps avdtpsrc + rtpsbcdepay into a single element. when more
formats are supported in avdtpsrc, payloader selection will need to be
done dynamically.
This could also be extended to accept a device, connect to it, and
provide avdtpsrc a transport (instead of passing through a transport as
it does now).
2013-03-28 16:50:25 +00:00
Arun Raghavan
d2e0b43fe3
bluez: Fix avdtpsrc classification
2013-03-28 16:50:25 +00:00
Arun Raghavan
b8e2550362
bluez: Bump up priority for sockets in AVDTP elements
...
This is based on the code in PulseAudio.
2013-03-28 16:50:25 +00:00
Arun Raghavan
f644b924d4
bluez: Add an avdtpsrc element
...
Source element that connects to a given transport and reads audio over
AVDTP. Does not provide a clock but uses the system clock to timestamp
incoming packets. Only SBC is currently supported.
2013-03-28 16:50:25 +00:00
Sebastian Dröge
42965f5aa0
d3dvideosink: Make sure that all buffers in our pool contain our own memory
2013-03-27 09:09:59 +01:00
Sebastian Dröge
e7a69bb8de
wasapi: Initial port to 1.0
...
This should really use GstAudioSink and GstAudioSrc.
2013-03-26 15:43:51 +01:00
Sebastian Dröge
d5d37fafa7
wasapi: Include config.h before anything else
2013-03-26 15:01:08 +01:00
Sebastian Dröge
ff30417bd9
d3dvideosink: Add support for crop meta
2013-03-26 14:27:43 +01:00
Sebastian Dröge
81304a7956
d3dvideosink: Implement a buffer pool that shares D3D surfaces with upstream
2013-03-26 13:39:46 +01:00
Sebastian Dröge
abede65bbc
d3dvideosink: Allocate a new offscreen surface for every buffer
...
This is a preparation for implementing a buffer pool.
2013-03-26 13:39:46 +01:00
Thiago Santos
23b2b46993
applemedia: fix build for objc
...
The obj-c api version option is required to get applemedia to
build for ios, otherwise it won't find some symbols during linking
2013-03-25 12:56:55 -03:00
Sebastian Dröge
2b7446e2d2
opensles: Include string.h for memcpy()
2013-03-21 15:43:50 +01:00
Tim-Philipp Müller
d84ef611f0
decklinksink: fix some compiler warnings
2013-03-20 10:49:04 +00:00
Mark Nauwelaerts
52908193b0
decklinksink: obtain class from object
2013-03-18 21:19:15 +01:00
Tim-Philipp Müller
a2f446fabc
decklinksrc: set discont flag on first audio buffer too
2013-03-16 23:32:12 +00:00
Tim-Philipp Müller
929b0bc3e2
decklinksrc: aggregate audio and video flow returns
...
And pause task in some more cases where we should
pause the task.
2013-03-16 23:30:24 +00:00
Tim-Philipp Müller
5dfc7c4bce
decklinksrc: add send_event handler so application can inject EOS event
...
This is needed to shut down a recording pipeline cleanly.
https://bugzilla.gnome.org/show_bug.cgi?id=680700
2013-03-16 23:17:24 +00:00
Tim-Philipp Müller
5eb8188e55
decklinksrc: pause streaming thread and send EOS event on error
...
Instead of just posting an EOS message and continuing,
actually pause the thread.
2013-03-16 21:34:57 +00:00
Josep Torra
1870a4d58b
applemedia: suppress warnings for deprecated glib API
2013-03-10 22:06:31 +01:00
Josep Torra
87e053386a
shmsink: Use correct print format specifiers to fix compiler warnings
2013-03-10 21:21:17 +01:00
Tim-Philipp Müller
ae550222a8
fbdev: port fbdevsink to 1.0
2013-03-09 00:20:00 +00:00
Sebastian Dröge
a63ed8cfc7
opensles: Only include <gst/audio/audio.h>
2013-03-03 12:30:44 +01:00
Olivier Crête
48b9fa2c24
shmsink: Add custom allocator to allow for zero-copy shared memory use
2013-02-28 18:46:02 -05:00
Olivier Crête
df321edeaf
shm: Don't leak socket path
2013-02-28 18:13:44 -05:00
Tim-Philipp Müller
74ca4aeefd
decklinksink: port to 1.0
...
Compiles, not tested yet.
2013-02-28 18:54:15 +00:00
Tim-Philipp Müller
c16224a220
decklinksrc: add layout=interleaved to audio caps
2013-02-28 18:53:54 +00:00
Blake Tregre
c175c6b3d0
shm: use O_CLOEXEC where appropriate in shmpipe
...
https://bugzilla.gnome.org/show_bug.cgi?id=684339
2013-02-28 12:35:45 -05:00
Olivier Crête
684811cddf
shmsink: Error out if memory area is smaller than buffer
2013-02-27 21:05:38 -05:00
Olivier Crête
7a77b41d6a
shm: Make sure to not allocate blocks larger than the shared mem area
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=681359
2013-02-27 20:57:56 -05:00
Tim-Philipp Müller
126df5a0c2
decklinksrc: port to 1.0
...
Compiles, not tested yet. A great number of superfluous custom
pad functions may have been harmed in the making of this port.
2013-02-27 23:34:34 +00:00
Sebastian Dröge
4b5f764daf
mfcdec: Use new GST_MEMORY_FLAG_CONTIGUOUS instead of requiring a specific memory type
2013-02-23 09:13:33 +01:00
Ole André Vadla Ravnås
519cefdeee
applemedia: update contact information
2013-02-16 02:51:52 +01:00
Ole André Vadla Ravnås
ad2d6be695
applemedia: fix gst_buffer_get_core_media_meta macro
2013-02-16 02:51:52 +01:00
Ole André Vadla Ravnås
73bcf51f9f
applemedia: port vtenc to 1.0
2013-02-16 02:51:51 +01:00
Ole André Vadla Ravnås
bace18bacc
applemedia: replace usage of deprecated gst_pad_set_caps() in vtdec
2013-02-16 02:51:51 +01:00
Ole André Vadla Ravnås
af6df7292c
applemedia: port vtapi to run on OS X 10.8
2013-02-16 02:51:51 +01:00
David Schleef
20627cc5d5
mfc: quiet debugging when mfc device doesn't exist
...
Avoid registering the element if the mfc device doesn't work,
but allow plugin loading to succeed.
2013-02-11 17:41:17 -08:00
Sjoerd Simons
06ae51a3fe
uvch264: Remove custom renegotiate event
2013-02-11 22:05:00 +01:00
Sjoerd Simons
8ea2085484
uvch264: Add image/jpg to vfsrc and vidsrc caps
2013-02-11 22:05:00 +01:00
Sjoerd Simons
adb6aa6b72
uvch264: Fix NV21 vs NV12 typo
2013-02-11 22:05:00 +01:00
Sjoerd Simons
bad01ceead
uvch264: Pass through the filter on the caps query
2013-02-11 22:04:59 +01:00
Sjoerd Simons
6ce751442b
uvch264: Remove the _ from the element names
...
Rename uvch264_src to uvch264src and uvch264_mjpgdemux to
uvch264mjpgdemux
2013-02-11 22:04:59 +01:00
Sjoerd Simons
14637e2a27
uvch264src: Port to gstreamer 1.0
2013-02-11 22:04:59 +01:00
Tim-Philipp Müller
68a34d2a60
shm: don't use deprecated threading API
2013-02-11 12:01:19 +00:00
Tim-Philipp Müller
8f93c2448e
mfc: fix compilation with newer GLib versions
...
that don't include pthread.h any more from public headers.
We could just fix this by including pthread.h ourselves,
but we may just as well use atomic ops for this and
simplify the code a little.
https://bugzilla.gnome.org/show_bug.cgi?id=693322
2013-02-09 18:48:04 +00:00
Wim Taymans
9444776aff
dvbsrc: handle EINTR from poll
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=693212
2013-02-05 17:39:15 +01:00
Tim-Philipp Müller
f198d04bf8
bluez: clean up GValue handling a little
...
Allocate GValues on the stack, and unset/free them properly, fixing
a few leaks in the process. Also use gst_structure_take_value()
where appropriate to avoid unnecessary list copies.
2013-01-20 17:49:32 +00:00
Tim-Philipp Müller
ee6d8a7e62
bluez: update SBC caps for renamed fields
...
mode -> channel-mode
allocation -> allocation-method
2013-01-20 17:49:26 +00:00
Olivier Crête
feb113e87a
shm: Initialize shm_area_buf to invalid value
2013-01-17 19:29:31 -05:00
Roland Elek
2cacfa2932
shm: apply shm area permissions to shmpipe control socket
...
Apply shared memory area permissions to the control socket (more
precisely, the path it is bound to) as well.
https://bugzilla.gnome.org/show_bug.cgi?id=682775
2013-01-17 19:16:42 -05:00
Youness Alaoui
49fefbde65
uvch264: Define LIBUSB_CLASS_VIDEO if using an old version of libusb
2013-01-16 15:10:40 -05:00
Olivier Crête
e82e434730
uvch264: Prevent temporary elements from going to playing
2013-01-16 14:51:11 -05:00
Youness Alaoui
c9fbf274f4
uvch264: do not double-unref if transform_caps fails
2013-01-16 14:51:07 -05:00
Youness Alaoui
410d0c0194
uvch264: Add a fakesink to the transform_caps
...
Some version of basetransform will return the template caps if the src
pad is not linked, so the capsfilter will return ANY. Linking it to
fakesink allows us to return the right caps in the capsfilter and have
them transformed by the colorspace converter.
2013-01-16 14:51:01 -05:00
Tim-Philipp Müller
e89c130f1e
bluez: use GLib defines to check for byte order
2013-01-10 00:31:25 +00:00
Tim-Philipp Müller
70ba34c485
bluez: add new plugin to build system, but disable for now
...
Disable until it has been tested and works.
https://bugzilla.gnome.org/show_bug.cgi?id=690582
2013-01-09 18:10:30 +00:00
Tim-Philipp Müller
c994ae021d
bluez: make bluez elements compile with 1.0
...
Builds, but very likely doesn't work yet at all. Some
things are still commented out.
https://bugzilla.gnome.org/show_bug.cgi?id=690582
2013-01-09 18:02:11 +00:00
Chan-yeol Park
49a69e394a
bluez: avinfo: Replace definitions with a2dp-codecs.h's
2013-01-09 14:30:14 +00:00
Chan-yeol Park
e5a5d179da
bluez: audio: Add check for vendor specific A2DP codec
...
This patch adds checks(vendor ID, vendor specific codec ID) to make sure of
vendor specific A2DP codec selection.
2013-01-09 14:30:14 +00:00
Syam Sidhardhan
711e5b4909
bluez: gstavdtpsink: Free the D-Bus error on reply failure
...
If D-Bus error is set we should free it.
2013-01-09 14:30:14 +00:00
Anderson Lizardo
f1c526da47
bluez: Fix trivial coding style issues on pointer declarations and casting
...
Avoid using C++ style pointer declarations like "char* ptr", as most
BlueZ code uses "char *ptr".
2013-01-09 14:30:14 +00:00
Luiz Augusto von Dentz
3a02461349
bluez: audio: Remove internal audio IPC
...
With unix socket and ALSA removed there is no longer any use for the
internal IPC.
2013-01-09 14:30:13 +00:00
Anderson Lizardo
f40d5135f0
bluez: Remove compatibility check for DBUS_TYPE_UNIX_FD
...
Since commit c89b589a586e97ad875fbdd1d41f03979157ebb0, D-Bus >= 1.4.0 is
required. This version already contains Unix FD passing support,
therefore code that checks for DBUS_TYPE_UNIX_FD definition is
unnecessary.
2013-01-09 14:30:13 +00:00
Anderson Lizardo
54b8979d67
bluez: avdtp: Fix incorrect gchar buffer allocation
...
The code was allocating an array of gchar pointers, where an array of
gchar is expected.
2013-01-09 14:30:13 +00:00
Chan-yeol Park
6c31678d8b
bluez: audio: Add SBC NULL check for GST AVDTP signaling
...
Due to RF condition or headset malfunctioning, gst audio plug-in could
not get SBC (mandatory codec) information.
2013-01-09 14:30:13 +00:00
Syam Sidhardhan
a91cc4257d
bluez: gstavdtpsink: Fix D-Bus memory leak in audio
2013-01-09 14:30:13 +00:00
Anderson Lizardo
53031e0a9e
bluez: AVDTP: Fix closing invalid FD on error
...
In gst_avdtp_sink_start(), if bt_audio_service_open() failed, there was
an attempt to close an invalid file descriptor (through
bt_audio_service_close()).
2013-01-09 14:30:13 +00:00
Anderson Lizardo
83b0583a7a
bluez: Fix return value check for bt_audio_service_open()
...
Only negative values (namely -1) are errors for this function.
2013-01-09 14:30:13 +00:00
Anderson Lizardo
86c2797eef
bluez: AVDTP: Fix errno handling convention
...
Variables which are assigned to the errno variable (usually called
"err") should be negative, and "-err" should be used where a positive
value is needed.
2013-01-09 14:30:13 +00:00
Marcel Holtmann
64c0532017
bluez: audio: Update license for shared header files
...
The header files with constants and structures for audio specific
interaction with Pulseaudio are suppose to be under LGPL license.
For some odd reason a2dp-codecs.h ended up being under GPL license
which is against the intention of this being shared and re-used by
non-GPL programs. Fix this now to avoid any future confusion.
2013-01-09 14:30:13 +00:00
Lucas De Marchi
445f76513a
bluez: Fix common misspelled words
...
Accounting of misspelled words, as detected by codespell:
acording 2
ancilliary 1
appropiate 1
atribute 1
cant 1
comming 2
gracefull 1
lenght 1
mispelled 1
occured 1
occurences 1
ocurred 3
prefered 1
presense 1
reponse 1
seperate 1
succesful 1
successully 1
sucessfull 1
sucessfully 1
2013-01-09 14:30:12 +00:00
Szymon Janc
3a81025f2e
bluez: Fix garbage return value in gst_avdtp_sink_audioservice_recv
2013-01-09 14:30:12 +00:00
Marcel Holtmann
d7ca6b81bb
bluez: audio: Remove workaround for compiler warnings
2013-01-09 14:30:12 +00:00
Luiz Augusto von Dentz
9c9d76268a
bluez: Update a2dpsink to use new Acquire API
2013-01-09 14:30:12 +00:00
Luiz Augusto von Dentz
1396082264
bluez: Fix use of deprecated glib on audio plugin
2013-01-09 14:30:12 +00:00
Luiz Augusto von Dentz
c3afd98226
bluez: Add support for media transport in gstreamer plugin
2013-01-09 14:30:12 +00:00
Luiz Augusto von Dentz
651e1be7ef
bluez: Fix crash on gstreamer plugin if device doesn't support sbc
2013-01-09 14:30:12 +00:00
Marcel Holtmann
31fe375174
bluez: Add pragma based workaround for GStreamer warnings
2013-01-09 14:30:12 +00:00
Marcel Holtmann
afa8560345
bluez: Revert "Fix build issues with latest GStreamer updates"
2013-01-09 14:30:12 +00:00
Marcel Holtmann
e03a435ad9
bluez: Fix build issues with latest GStreamer updates
2013-01-09 14:30:12 +00:00
Marcel Holtmann
d8b4759116
bluez: Update copyright information
2013-01-09 14:30:12 +00:00
Luiz Augusto von Dentz
81eb2b020f
bluez: Fix codec selection on gstream plugin.
2013-01-09 14:30:12 +00:00
Johan Hedberg
b167c2bbd3
bluez: Fix unnecessary NULL checks
2013-01-09 14:30:12 +00:00
Luiz Augusto von Dentz
621d857d49
bluez: Remove useless instruction.
2013-01-09 14:30:12 +00:00
Filippo Giunchedi
c1eb112a6d
bluez: Register the a2dp gst sink as marginal
...
Avoid taking over as default gst sink by registering as GST_RANK_MARGINAL
2013-01-09 14:30:11 +00:00
Luiz Augusto von Dentz
86ea471beb
bluez: Add specific codec types.
...
Add specific codec types for a2dp sources and sinks so clients are able
to differ between them.
2013-01-09 14:30:11 +00:00
Luiz Augusto von Dentz
c4f094da7d
bluez: Remove unnecessary memset.
2013-01-09 14:30:11 +00:00
Luiz Augusto von Dentz
08837565fa
bluez: Add lock flag for capabilities.
...
lock flag permits the unix client to detect if there is someone holding
the lock so it can prevent useless attempt of setting a new configuration.
2013-01-09 14:30:11 +00:00
Luiz Augusto von Dentz
08dd7e709d
bluez: Introduce BT_OPEN command to audio ipc.
...
BT_OPEN make it possible to lock a given seid which is automacally
release if the client disconnects from the unix socket.
2013-01-09 14:30:11 +00:00
Luiz Augusto von Dentz
35e57f99f0
bluez: Add source and destination fields to audio ipc messages.
2013-01-09 14:30:11 +00:00
Luiz Augusto von Dentz
1f8330784a
bluez: Make use of g_io_channel_shutdown instead of deprecated g_io_channel_close.
2013-01-09 14:30:11 +00:00
Marcel Holtmann
93c66d5008
bluez: Update copyright information
2013-01-09 14:30:11 +00:00
Marcel Holtmann
441a82cb6b
bluez: First attempt in fixing compiler warnings (still needs cleanup)
2013-01-09 14:30:11 +00:00
Johan Hedberg
8b5d0aba41
bluez: More coding style fixes
2013-01-09 14:30:11 +00:00
Johan Hedberg
43879f9a5d
bluez: Coding style fixes
2013-01-09 14:30:11 +00:00
Johan Hedberg
d8b5c0d9c9
bluez: Fix length header values in messages
2013-01-09 14:30:11 +00:00
Luiz Augusto von Dentz
b03faa59d1
bluez: Fix gstreamer plugin to reflect the ipc changes.
2013-01-09 14:30:11 +00:00
Luiz Augusto von Dentz
4fd14e4113
bluez: Fix channel mode string from dual to dual-channel.
2013-01-09 14:30:10 +00:00
Luiz Augusto von Dentz
7bc4d8ee9e
bluez: Fix channel mode string to joint-stereo.
2013-01-09 14:30:10 +00:00
Luiz Augusto von Dentz
2431bdeb7c
bluez: Fix runtime warnings of gstreamer plugin.
2013-01-09 14:30:10 +00:00
Luiz Augusto von Dentz
d27932cac4
bluez: Update gstreamer plugin to use new sbc API.
2013-01-09 14:30:10 +00:00
Luiz Augusto von Dentz
a85d0fb7e8
bluez: Make use of parameters selected in alsa plugin and fix auto selection.
2013-01-09 14:30:10 +00:00
Marcel Holtmann
89f66da8ae
bluez: Update copyright information
2013-01-09 14:30:10 +00:00
Luiz Augusto von Dentz
42f9db0214
bluez: Add bitpool property and others fixes for gstreamer plugin.
2013-01-09 14:30:10 +00:00
Luiz Augusto von Dentz
ff3034af81
bluez: Enable gstreamer plugin to use autoconnect flag.
2013-01-09 14:30:10 +00:00
Luiz Augusto von Dentz
1354fcea15
bluez: Fixes gstreamer caps and code cleanup.
2013-01-09 14:30:10 +00:00
Luiz Augusto von Dentz
aba7785ba1
bluez: Fix use of gstreamer plugin with rhythmbox and banshee and rtp timestamps.
2013-01-09 14:30:10 +00:00
Luiz Augusto von Dentz
309c6ecc47
bluez: Rename a2dpsendersink to avdtpsink.
2013-01-09 14:30:10 +00:00
Luiz Augusto von Dentz
26017b78da
bluez: Bug fixes for gstreamer plugin.
2013-01-09 14:30:10 +00:00
Luiz Augusto von Dentz
1ca7a347cf
bluez: Add mp3 support for gstreamer plugin.
2013-01-09 14:30:10 +00:00
Luiz Augusto von Dentz
b0e7feba1e
bluez: Make a2dpsink to act like a bin and split the payloader.
2013-01-09 14:30:10 +00:00
Luiz Augusto von Dentz
62b90c78e5
bluez: Fix error messages. (thanks to fchevalier for the patch)
2013-01-09 14:30:10 +00:00
Luiz Augusto von Dentz
06b6caf5cd
bluez: Handle new ipc messages properly and adapt the plugins.
2013-01-09 14:30:09 +00:00
Luiz Augusto von Dentz
efbe0f68a2
bluez: Code cleanup.
2013-01-09 14:30:09 +00:00
Luiz Augusto von Dentz
3c8b91e0cb
bluez: Integrate new ipc API implementation.
2013-01-09 14:30:09 +00:00
Luiz Augusto von Dentz
22d80ddff0
bluez: Fix sbc negotiation and improves buffer handling by using GstAdapter.
2013-01-09 14:30:09 +00:00
Luiz Augusto von Dentz
ff77205750
bluez: Add bitpool capability.
2013-01-09 14:30:09 +00:00
Luiz Augusto von Dentz
4f12fb1827
bluez: Remove dependency of sbc library from a2dpsink element.
2013-01-09 14:30:09 +00:00
Luiz Augusto von Dentz
1eb40b8550
bluez: Fix buffer usage.
2013-01-09 14:30:09 +00:00
Marcel Holtmann
050a168c4e
bluez: Some more coding style fixes
2013-01-09 14:30:09 +00:00
Luiz Augusto von Dentz
518f463efe
bluez: Fix coding style.
2013-01-09 14:30:09 +00:00
Luiz Augusto von Dentz
cb09a130ae
bluez: Fix a2dpsink coding style problems and improve compatibility with some players.
2013-01-09 14:30:09 +00:00
Luiz Augusto von Dentz
53dfa00805
bluez: Add rtp header.
2013-01-09 14:30:09 +00:00
Luiz Augusto von Dentz
2522d1ce0d
bluez: Fix coding style issues.
2013-01-09 14:30:09 +00:00
Luiz Augusto von Dentz
795c605f7c
bluez: Fixes a2dpsink element.
2013-01-09 14:30:09 +00:00
Marcel Holtmann
cb7d3b6d4e
bluez: Add possible capabilities and connect to audio server
2013-01-09 14:30:09 +00:00
Marcel Holtmann
8fdac7fec0
bluez: Add SBC encoder and decoder skeletons for GStreamer
2013-01-09 14:30:09 +00:00
Marcel Holtmann
0e117ffef3
bluez: Add skeleton for an A2DP sink element
2013-01-09 14:30:09 +00:00
Sebastian Dröge
1e9aaee3ec
mfc: Add support for RGB
2013-01-05 19:33:52 +01:00
Olivier Crête
4caad2d06c
shm: Actually get the permissions on get_property
2013-01-04 15:39:05 -05:00
Sebastian Dröge
f5ef0dd7ee
mfc: Set variables to NULL to prevent usage after free/unref
2013-01-03 12:09:15 +01:00
Sebastian Dröge
6e05f1ba12
mfc: Fix leak of input/output buffer storage in the MFC decoder library
2013-01-03 10:53:01 +01:00
Sebastian Dröge
24b5dd72bd
mfc: Fix typo
2013-01-03 10:10:57 +01:00
Sebastian Dröge
204ec7efd5
mfc: Only add crop metadata if required
2013-01-02 17:23:51 +01:00
Sebastian Dröge
83ea8f1256
fimc: Do STREAMON/STREAMOFF only once and not once per buffer
2013-01-02 16:53:19 +01:00
Sebastian Dröge
718fe99018
mfc: Require one more output buffer than returned by the driver
2013-01-02 16:38:47 +01:00
Sebastian Dröge
8ed8347866
mfc: Prefer NV12 over I420/YV12
2013-01-02 16:09:15 +01:00
Sebastian Dröge
710b7c3f2e
mfc: The first frame produces output in our case
2013-01-02 15:40:10 +01:00
Sebastian Dröge
0fbfe0225c
mfc: Request input buffers explicitely
2013-01-02 14:32:32 +01:00
Sebastian Dröge
644ef86728
mfc: Don't STREAMOFF if no STREAMON happened yet
2013-01-02 14:27:53 +01:00
Sebastian Dröge
954ad79320
mfc: Check if the MFC hardware exists before registering the element
2013-01-02 14:23:22 +01:00
Sebastian Dröge
83a8138b4a
mfc: Check device capabilities before doing anything else
2013-01-02 14:16:06 +01:00
Sebastian Dröge
4abcec4ce8
mfc: Include codec_data in the buffer with the next frame
2013-01-02 12:33:42 +01:00
Sebastian Dröge
b765e33b86
mfc: Set format field of the instance struct
2013-01-02 11:56:20 +01:00
Sebastian Dröge
43ea557b9c
mfc: Implement support for crop metadata
2013-01-02 11:56:20 +01:00
Sebastian Dröge
0489f52776
mfc: Check if the hardware is available in GstVideoDecoder::open()
2013-01-02 10:27:28 +01:00
Sebastian Dröge
8835cb5814
mfc: Add support for h263 and MPEG1/2
2013-01-01 11:05:24 +01:00
Sebastian Dröge
c3c33d88d4
mfc: Don't reconfigure if we get compatible caps
2012-12-31 15:59:08 +01:00
Sebastian Dröge
bee7328210
mfc: Only create the MFC context in ::set_format()
2012-12-31 15:59:08 +01:00
Sebastian Dröge
9739f58a7f
mfc: Recreate fimc context if settings change
2012-12-31 15:59:08 +01:00
Sebastian Dröge
3a4ade2966
mfc: Some refactoring
2012-12-31 15:59:08 +01:00
Sebastian Dröge
7a8845243c
mfc: Do zerocopy if we get EGLImage buffers
2012-12-31 15:59:07 +01:00
Sebastian Dröge
37603c7dbd
mfc: Some minor fixes
2012-12-31 15:59:07 +01:00
Sebastian Dröge
2cf73892e1
mfc: Fix double-unmap of the codec data
2012-12-31 15:59:07 +01:00
Sebastian Dröge
30fd0ded4f
mfc: Pass codec_data to the codec if there's some
2012-12-31 15:59:07 +01:00
Sebastian Dröge
cfe1ff1c08
mfc: Refactor fimc code a bit
2012-12-31 15:59:07 +01:00
Sebastian Dröge
3b172723d6
mfc: Downgrade an error to debug output
2012-12-31 15:59:07 +01:00
Sebastian Dröge
410eb82aff
mfc: Some fimc cleanup
2012-12-31 15:59:07 +01:00
Sebastian Dröge
64230003d9
mfc: Add profile/level and width/height constraints
2012-12-31 15:59:07 +01:00
Sebastian Dröge
817d30f130
mfc: Don't leak buffers when setting new dest settings for a direct buffer
2012-12-31 15:59:07 +01:00
Sebastian Dröge
21258a52cd
mfc: Add initial MPEG4 support
2012-12-31 15:59:07 +01:00
Sebastian Dröge
fbf42806dc
mfc: Add some more debug output
2012-12-31 15:59:06 +01:00
Sebastian Dröge
fe5b268a1c
mfc: Implement tracking of frames using the v4l2_buffer timestamp
2012-12-31 15:59:06 +01:00
Sebastian Dröge
35400051fa
mfc: Reset some more variables on ::reset()
2012-12-31 15:59:06 +01:00
Sebastian Dröge
8c433b8fb9
mfc: Also add support for YV12
2012-12-31 15:59:06 +01:00
Sebastian Dröge
2212880093
mfc: Add support for video meta
2012-12-31 15:59:06 +01:00
Sebastian Dröge
6111f89365
mfc: Implement negotiation to NV12 or I420 based on downstream caps
2012-12-31 15:59:06 +01:00
Sebastian Dröge
c77e820a52
mfc: Workaround for wrongly reported strides by FIMC
2012-12-31 15:59:06 +01:00
Sebastian Dröge
52f8649586
mfc: Add proper support for MFC decoder strides
2012-12-31 15:59:06 +01:00
Sebastian Dröge
94acf4189c
mfc: Try with I420 for now, it's easier to debug
2012-12-31 15:59:06 +01:00
Sebastian Dröge
440dec8a68
mfc: Add some more debug output
2012-12-31 15:59:06 +01:00
Sebastian Dröge
048a09682f
mfc: Don't require stride to be set on src parameters
2012-12-31 15:59:06 +01:00
Sebastian Dröge
dd56c6b5b6
mfc: The mfc decoder library is dual licensed too
...
Apache License 2.0 and LGPL2+
2012-12-31 15:59:05 +01:00
Sebastian Dröge
dedbb443ed
mfc: Use CAMIF/FIMC for hardware color format conversion and de-tiling
2012-12-31 15:59:05 +01:00
Sebastian Dröge
1ca618fa6a
mfc: Only unref the outbuf if it doesn't belong to the frame
2012-12-31 15:59:05 +01:00
Sebastian Dröge
902e72874a
mfc: Port to GStreamer 1.0
2012-12-31 15:59:05 +01:00
Sebastian Dröge
01da756491
mfc: Add initial decoder element implementation
...
This does not copy the output to any output buffers yet.
Other than that should be basically functional already.
2012-12-31 15:59:05 +01:00
Sebastian Dröge
5d6c33d7e4
mfc: Add plugin and decoder skeleton
2012-12-31 15:59:05 +01:00
Sebastian Dröge
b0129f9994
mfc: Make mfc_decoder library compile and fix some compiler warnings
2012-12-31 15:59:05 +01:00
Sebastian Dröge
d4c78fc4ca
mfc: Add mfc_decoder library from FXI
2012-12-31 15:59:05 +01:00
Sebastian Dröge
996e8912f2
d3dvideosink: Add compatibility #defines for older mingw headers
...
These were removed recently but these mingw headers are still
out there.
2012-12-27 14:09:51 +01:00
Youness Alaoui
57160c2be7
decklink: remove useless and uninitialized list causing a crash in the device probe
2012-12-26 13:11:50 -05:00
Sebastian Dröge
85690b802d
d3dvideosink: Remove scary "while (object.refcount > 0) release (object);" code
...
If there is a memory leak, this isn't the way how it should be fixed.
2012-12-22 18:43:37 +01:00
Sebastian Dröge
038cf9eba0
d3dvideosink: Don't forget to return a value from ::propose_allocation()
2012-12-22 18:17:45 +01:00
Sebastian Dröge
53b2cdf335
d3dvideosink: Add support for the video meta
2012-12-22 18:17:04 +01:00
Sebastian Dröge
0642f3a143
d3dvideosink: Don't use "class" as variable name and don't use C99 comments
2012-12-22 18:13:48 +01:00
Sebastian Dröge
23265c8428
d3dvideosink: Only open system resources in in NULL->READY, not on object instantiation
2012-12-22 18:04:42 +01:00
Sebastian Dröge
827655ffb4
d3dvideosink: Properly copy frames to D3D with the right strides and everything
...
And only support color formats that are actually supported by the driver,
this allows proper zero-copy handling later and simplifies the code a lot.
Also simplify some other places, like the format mapping code.
2012-12-22 17:57:41 +01:00
Sebastian Dröge
c6763c2bbb
d3dvideosink: Remove non-sense display PAR handling
...
This has to be implemented properly at some point
2012-12-22 16:26:52 +01:00
Sebastian Dröge
020da4c577
d3dvideosink: Fix caps leak
2012-12-22 16:20:13 +01:00
Sebastian Dröge
41e58ecf5f
d3dvideosink: Fix duplicated format entry in the template caps
2012-12-22 12:09:30 +01:00
Sebastian Dröge
29b677fe9b
d3dvideosink: Fix linking
2012-12-22 12:05:14 +01:00
Sebastian Dröge
de8f436b21
d3dvideosink: Fix some more compiler warnings
2012-12-22 11:58:21 +01:00
Sebastian Dröge
7e8c531621
d3dvideosink: Port remaining bits to new GLib threading API
2012-12-22 11:50:08 +01:00
Sebastian Dröge
4f28e50540
d3dvideosink: And remove the right declaration
2012-12-22 11:45:27 +01:00
Sebastian Dröge
52a62d73b1
d3dvideosink: Remove unused static declaration
2012-12-22 11:44:32 +01:00
Sebastian Dröge
345b5f0eb8
d3dvideosink: Remove unused variables
2012-12-22 11:43:21 +01:00
Sebastian Dröge
d2d19eb1e6
d3dvideosink: Update to new GLib threading API
2012-12-22 11:42:52 +01:00
Sebastian Dröge
9838e3748c
d3dvideosink: Rename keep_aspect_ratio to force_aspect_ratio in the header too
2012-12-22 11:38:28 +01:00
Sebastian Dröge
5f3eefb611
d3dvideosink: Use G_PARAM_STATIC_STRINGS
2012-12-22 11:35:55 +01:00
Sebastian Dröge
872dc5feb6
d3dvideosink: Rename keep-aspect-ratio to force-aspect-ratio and default to TRUE
...
For consistency with other video sinks.
2012-12-22 11:34:43 +01:00
Sebastian Dröge
5ea516d735
d3dvideosink: Add files that had to be included in the last commit
2012-12-22 11:30:08 +01:00
Sebastian Dröge
479a54d18b
d3dvideosink: Add $(GST_PLUGINS_BASE_CFLAGS) to CFLAGS
2012-12-22 11:28:19 +01:00
Roland Krikava
fe5f514049
d3dvideosink: Various improvements
...
* XOverlay set_render_rectangle support (Useful for rendering in QT QML)
* Video format negotiation (with preference ordering)
* Using Direct3D9 (No benefit to using newer D3D versions)
2012-12-22 11:24:28 +01:00
Sebastian Dröge
c636b45c9a
d3dvideosink: Only include formats that are actually working
2012-12-21 16:11:49 +01:00
Sebastian Dröge
2b2112e6be
d3dvideosink: Add the actually supported color formats to the template caps
2012-12-21 15:23:42 +01:00
Руслан Ижбулатов
1b11496194
directsound: fix compilation errors caused by circular includes
...
https://bugzilla.gnome.org/show_bug.cgi?id=690128
2012-12-12 22:45:53 +00:00
Michael Esemplare
09512c5db1
d3dvideosink: fix compiler and linker flags
...
https://bugzilla.gnome.org/show_bug.cgi?id=690031
2012-12-11 20:58:42 +00:00
Sebastian Dröge
eeab001bc2
winscreencap: Fix configure check and compilation
2012-12-11 14:22:25 +00:00
Sebastian Dröge
5641546bf4
wasapi: make the build happy without the static plugins patch
2012-11-30 11:45:25 +01:00
Sebastian Dröge
f7f34f9f3f
wasapi: Integrate into the autotools build system
...
Patch based on a patch by Fabrizio Ciavatta <fabrizio.ciavatta@gmail.com>
2012-11-30 11:40:15 +01:00
Sebastian Dröge
3be147046d
shm: Fix configure check and clean up Makefile
2012-11-28 13:10:47 +01:00
Emmanuel Durand
1c973536b9
shm: Fix compilation of shm on OSX
...
https://bugzilla.gnome.org/show_bug.cgi?id=689183
2012-11-28 13:04:30 +01:00
Sebastian Dröge
97a365c439
windows: Put the DirectX LDFLAGS in the correct place and reorder libraries
2012-11-21 10:23:45 +01:00
Andoni Morales Alastruey
689cef0fc7
d3dvideosink: fix redefinition of DECLARE_INTERFACE_IID
...
https://bugzilla.gnome.org/show_bug.cgi?id=688510
2012-11-20 11:10:25 +00:00
Sebastian Dröge
f17ebca62a
amcvideodec: Fix refcount problem with frames being dropped because of decoder bugs
2012-11-12 14:58:00 +01:00
Sebastian Dröge
b2e5b9cb67
androidmedia: Update to new GLib thread API
2012-11-12 11:32:44 +01:00
Tim-Philipp Müller
9e1b75fda3
Fix FSF address
...
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-04 00:09:59 +00:00
Sebastian Dröge
9e4f1e7346
opensles: Fix compilation with debugging enabled
2012-11-02 11:25:21 +01:00
Sebastian Dröge
1f6944efc1
opensles: Remove unused variable
2012-11-01 15:38:32 +01:00
Sebastian Dröge
40ca6ed977
opensles: Make sure to only ever create a single engine object
...
The OpenSL ES spec defines:
An implementation shall enable creation of at least one such object, but
attempting to create more instances (either by a single application or by
several different applications) may fail.
2012-11-01 15:38:23 +01:00
Sebastian Dröge
92fffc8cbe
androidmedia: Skip Aricent codecs for now
...
The HTC One X claims to have one (but doesn't) and loading
the library for it hangs forever.
2012-11-01 13:55:54 +01:00
Olivier Crête
9a328a8f71
avfvideosrc: Negotiate format, also support more resolutions
...
This should enable supprt for old and new iPhones with the same code.
2012-10-30 19:32:59 +01:00
Руслан Ижбулатов
0a30ecba90
directsoundsrc: Fix a number of warnings/errors in directsoundsrc
...
* Don't use deprecated glib mutex functions
* Don't declare useless variables
* Don't link to non-existing libgstinterfaces
Fixes #686871
2012-10-26 10:01:03 +02:00
Sebastian Dröge
e0026d7203
opensles: Port to 1.0
2012-10-25 14:05:49 +02:00
Sebastian Dröge
1d9d3c1c30
androidmedia: Remember and use input state
2012-10-25 14:05:48 +02:00
Sebastian Dröge
079c68e4de
androidmedia: Port to 1.0
2012-10-25 14:05:48 +02:00
Sebastian Dröge
9c1543bd79
opensles: Integrate into build system
2012-10-18 14:03:10 +02:00
Josep Torra
e4810c3420
openslessink: Return 0 delay if the player object is in PAUSED state
2012-10-18 14:03:10 +02:00
Josep Torra
7c3a9c2974
opensles: fixes noise on seekeing
2012-10-18 14:03:10 +02:00
Josep Torra
adcf73e43f
opensles: chain up on _clear_all
2012-10-18 14:03:10 +02:00
Josep Torra
69426572f8
opensles: implement the ringbuffer clear_all vmethod too
2012-10-18 14:03:09 +02:00
Josep Torra
fc087f6419
opensles: initial attempt to reduce the src latency
2012-10-18 14:03:09 +02:00
Josep Torra
920354eb0d
opensles: sprinkle comments and cosmetic fixes
2012-10-18 14:03:09 +02:00
Josep Torra
78e3b9f428
opensles: check for device outputs in the mixer
2012-10-18 14:03:09 +02:00
Josep Torra
1d9f48a33d
opensles: drop 48kHz sample rate
...
OpenSL ES implementation in Android is just a 'facade' API on top of
AudioFlinger which will downsample 48kHz into 44.1kHz before
delivering the audio to the underlaying hardware.
We found that it suffer some sort of underrun when the downsample
enters in action so relay on our good resampler to take care of that
and fix the clicks issue. And get an extra bonus of a lower latency.
2012-10-18 14:03:09 +02:00
Josep Torra
9cc7e6a74d
opensles: change the defaults to use 20 ms ringbuffer segments
...
In my nexus7 seems that the internal min buffer size is 20 ms so make
our segments match.
2012-10-18 14:03:09 +02:00
Josep Torra
97a1ccfab1
opensles: ensure that we register the callback only in STOPPED
...
Fixes the error registering the callback on the PLAYING -> PAUSE ->
PLAYING state change sequence.
2012-10-18 14:03:09 +02:00
Josep Torra
e265cec514
opensles: cap queue size
...
Just in case we want to tweak the sink behaviour with buffer-time and
latency-time properties cap the queue size to something reasonable.
2012-10-18 14:03:09 +02:00
Josep Torra
cc6fc15674
opensles: sink to provide the audioclock by default
2012-10-18 14:03:09 +02:00
Josep Torra
08ef2e3eed
opensles: only drain half ringbuffer on start
...
At start drain half ringbuffer into the OpenSL so the writting/reading
pointers will start at half ringbuffer distance.
2012-10-18 14:03:09 +02:00
Josep Torra
3698d98921
opensles: monitor some player events
2012-10-18 14:03:09 +02:00
Josep Torra
3ff51bb88b
opensles: rework around the _delay function
2012-10-18 14:03:09 +02:00
Josep Torra
27cdb7c2ca
opensles: implement _delay function
2012-10-18 14:03:09 +02:00
Josep Torra
9fcfa00680
opensles: refactor to behave more like other sinks
...
Reflect the queue in our own data buffer.
Drop the _commit hook that wasn't usefull.
Don't mess with the segsize/segtotal.
2012-10-18 14:03:09 +02:00
Josep Torra
ed5870b605
opensles: read player position and show it in the log
2012-10-18 14:03:09 +02:00
Josep Torra
1e69918f3e
opensles: do not provide a clock in the sink element.
2012-10-18 14:03:08 +02:00
Josep Torra
b00049a9f6
opensles: rework on start/stop operations and callback function handling
2012-10-18 14:03:08 +02:00
Josep Torra
f00d5a5cac
opensles: fixes 8 bit format which is unsigned on android.
2012-10-18 14:03:08 +02:00
Josep Torra
eb6715a305
opensles: attempt to reduce playback latency
2012-10-18 14:03:08 +02:00
Josep Torra
1d9e16fb78
opensles: drop _buffer_clear calls and refactor to a shared _enqueue_cb
2012-10-18 14:03:08 +02:00
Josep Torra
1694befac6
opensles: use 0.25s segments in the sink to lower latency
2012-10-18 14:03:08 +02:00
Josep Torra
5612936d1a
opensles: finish remaining bits for source element.
2012-10-18 14:03:08 +02:00
Josep Torra
c006973a4e
opensles: attempt to query device for capabilities
2012-10-18 14:03:08 +02:00
Josep Torra
85bd75a2b1
opensles: add the mute property and handle volume/mute changes on the fly
2012-10-18 14:03:08 +02:00
Josep Torra
f06688c7b2
opensles: make the volume property actually work
2012-10-18 14:03:08 +02:00
Josep Torra
0291953997
opensles: rework on the ringbufffer to properly clear segments
...
Make the segments bigger (1 second) as it seems to be the minimum size
we need to not introduce noise.
Sink works in my nexus 7 with rates from 8000 to 44100 and some noise
can be noticed on higger sample rates.
2012-10-18 14:03:08 +02:00
Josep Torra
29334f3233
opensles: fixes the license headers
2012-10-18 14:03:08 +02:00
Josep Torra
805a010dc9
opensles: produces expected output until ringbuffer wraps
...
Add some log messages.
Fixed a bit the _player_cb function and properly advance reding in the
ringbuffer.
Still produces noise when the ringbuffer wraps.
2012-10-18 14:03:08 +02:00
Josep Torra
f6aa2f29bc
opensles: Add initial draft implementation of OpenSL ES plugin.
...
Initial draft implementation for a OpenSL ES based plugin for Android
that provides audio src and sink.
2012-10-18 14:03:08 +02:00
Sebastian Dröge
77364e2b3c
androidmedia: Use correct variable name in Makefile.am
2012-10-18 09:25:52 +02:00
Raimo Järvi
01853745a3
directsoundsrc: Fix compiler warning
...
https://bugzilla.gnome.org/show_bug.cgi?id=673414
2012-10-17 21:01:39 +01:00
Tim-Philipp Müller
32ba17cd0f
Use gst_element_class_set_static_metadata()
...
where possible. Avoids some string copies. Also re-indent
some stuff. Also some indent fixes here and there.
2012-10-17 17:46:34 +01:00
Raimo Järvi
a7258842ab
directsoundsrc: port to 1.0
...
https://bugzilla.gnome.org/show_bug.cgi?id=673414
2012-10-17 13:25:25 +01:00
Sebastian Dröge
80533fa3a3
androidmedia: Add missing file
2012-10-16 11:33:50 +02:00
Sebastian Dröge
6fa3f058b1
androidmedia: Rename plugin
2012-10-15 16:37:54 +02:00
Sebastian Dröge
5e954a7d0a
androidmedia: Make everything buildable
2012-10-15 16:28:43 +02:00
Sebastian Dröge
f3682a0a6b
Don't try to use the NVidia DRM codecs
2012-10-15 16:28:43 +02:00
Sebastian Dröge
31f0f163bd
Try to handle format changes more gracefully
...
And make stop() faster and more robust
2012-10-15 16:28:43 +02:00
Sebastian Dröge
b0b642d8ab
Add workaround for Google MP3 decoder outputting garbage in first output buffer
...
And assume one decoded input frame per output buffer to fix timestamp
handling by the base class.
2012-10-15 16:28:43 +02:00
Sebastian Dröge
2f3b2c586f
Also add some more output format checks to the audio decoder
2012-10-15 16:28:42 +02:00
Sebastian Dröge
a870e6a5c3
Check output format metadata some more
...
And implement workaround for NVidia Tegra 3 not setting the slice_height.
Thanks to Josep Torra for debugging this issue.
2012-10-15 16:28:42 +02:00
Sebastian Dröge
7341ed62fa
Add some more default channel layouts, these should be good for AAC at least
2012-10-15 16:28:42 +02:00
Sebastian Dröge
6ed3ea7cad
Don't set timestamps, the baseclass handles this for us anyway
2012-10-15 16:28:42 +02:00
Sebastian Dröge
86176bd2a2
List profiles in reverse to minimize caps
2012-10-15 16:28:42 +02:00
Sebastian Dröge
fc5a18c091
Iterate levels in reverse order to minimize caps
2012-10-15 16:28:42 +02:00
Sebastian Dröge
0b0255ed12
Merge structures into caps instead of appending them
2012-10-15 16:28:42 +02:00
Sebastian Dröge
9f7ed3f180
Use orc_memcpy() instead of memcpy() as it should be faster for larger memory areas
2012-10-15 16:28:42 +02:00
Sebastian Dröge
7a53743bfd
Add support for audio/mpeg-L2 for the Nexus 7
2012-10-15 16:28:42 +02:00
Sebastian Dröge
3159b7b5dd
Add support for MPEG1/2 video
2012-10-15 16:28:42 +02:00
Sebastian Dröge
41862dff59
Ignore the *law and Vorbis decoders
...
They are broken unfortunately.
2012-10-15 16:28:42 +02:00
Sebastian Dröge
f098ae6b88
Add FIXME comment for not handling odd widths/height with the TI hardware decoders
...
Must likely an issue with the codec itself though.
2012-10-15 16:28:42 +02:00
Sebastian Dröge
42d11e8c1b
Fix handling of I420 buffers with odd width
2012-10-15 16:28:41 +02:00
Sebastian Dröge
cb6f703669
Only mpegversion=4 is supported for AAC
2012-10-15 16:28:41 +02:00
Sebastian Dröge
742816df69
Remove some obsolete FIXMEs
2012-10-15 16:28:41 +02:00
Sebastian Dröge
f839a615a0
Fix flushing logic to unbreak handling of flushing seeks
2012-10-15 16:28:41 +02:00
Sebastian Dröge
bc7d2006e3
Fix chroma stride for I420 stride/crop conversion
2012-10-15 16:28:41 +02:00
Sebastian Dröge
7dbef6415f
Fix Vorbis decoding
2012-10-15 16:28:41 +02:00
Sebastian Dröge
562b033872
Wait at most 100ms for dequeueing a buffer, and retry after that
...
Some codecs don't fail the dequeueing if the codec is flushed,
causing deadlocks when shutting down the element.
2012-10-15 16:28:41 +02:00
Sebastian Dröge
9a034f2beb
Release output buffers a bit earlier
2012-10-15 16:28:41 +02:00
Sebastian Dröge
4c3617f7f0
Keep another reference of the input buffer in handle_frame()
...
It might be unreffed in the meantime by the other thread due
to finish_frame().
2012-10-15 16:28:41 +02:00
Sebastian Dröge
613a75ad92
Pass -1 as number of frames to the base class
...
This will automatically do the right thing if timestamps are good enough
2012-10-15 16:28:41 +02:00
Sebastian Dröge
0143418e0c
Use correct buffer variable
2012-10-15 16:28:41 +02:00
Sebastian Dröge
bb8e53d4b8
Always pass 1 as number of frames to finish_frame()
2012-10-15 16:28:41 +02:00
Sebastian Dröge
99e287b86b
Correctly remember number of channels and samplerate
2012-10-15 16:28:40 +02:00
Sebastian Dröge
efac01d096
Don't unref input buffer from handle_frame(), it's owned by the baseclass
2012-10-15 16:28:40 +02:00
Sebastian Dröge
3c40a9ca56
Remove invalid GST_ERROR() call
2012-10-15 16:28:40 +02:00
Sebastian Dröge
b07cd212ac
Only try to get the channel-mask if it is set
2012-10-15 16:28:40 +02:00
Sebastian Dröge
afbc23ceed
Add support for FLAC
2012-10-15 16:28:40 +02:00
Sebastian Dröge
b64e57ce42
Fix src template caps
2012-10-15 16:28:40 +02:00
Sebastian Dröge
6cc535581f
Fix plugin initialization
2012-10-15 16:28:40 +02:00
Sebastian Dröge
77fbaae250
Add support for audio decoders, completely untested so far
2012-10-15 16:28:40 +02:00
Sebastian Dröge
de5375da81
Only set the SYNC_FRAME flag on the first buffer if we need to split the input
2012-10-15 16:28:40 +02:00
Sebastian Dröge
290d6f61c5
Ignore codecs with unknown color formats for stability purposes
...
They can be registered nonetheless if an environment variable
or compile-time #define is set.
2012-10-15 16:28:40 +02:00
Sebastian Dröge
65448a3790
Implement cropping and correctly handle the different color formats
2012-10-15 16:28:40 +02:00
Sebastian Dröge
3acc776dd6
Really implement stride conversion for NV12 too
2012-10-15 16:28:40 +02:00
Sebastian Dröge
266bc5bf69
Implement stride-conversion for I420 and NV12
2012-10-15 16:28:39 +02:00
Sebastian Dröge
024ac3560d
Fix typo in previous commit
2012-10-15 16:28:39 +02:00
Sebastian Dröge
f2c5afd031
Don't allow using non-Google codecs if we started the Java VM ourselves
...
Hardware codecs, e.g. the TI ones, only work in processes that had their
Java VM started via the non-public AndroidRuntime class.
2012-10-15 16:28:39 +02:00
Sebastian Dröge
6feb6433d5
Rename to amc from androidmediacodec everywhere
2012-10-15 16:28:39 +02:00
Sebastian Dröge
2de542373b
Improve debug output
2012-10-15 16:28:39 +02:00
Sebastian Dröge
0df00d68b5
Print the MediaFormats we get in the debug logs
2012-10-15 16:28:39 +02:00
Sebastian Dröge
11b8d33666
Improve debug output
2012-10-15 16:28:39 +02:00
Sebastian Dröge
d06af02637
Improve level/profile handling
2012-10-15 16:28:39 +02:00
Sebastian Dröge
2eff8bf82d
Allow registering as static plugin with the GStreamer SDK API
2012-10-15 16:28:39 +02:00
Sebastian Dröge
b7a923234c
If the buffer sizes are the same, just memcpy() to the output buffers
2012-10-15 16:28:39 +02:00
Sebastian Dröge
cb262e2465
Correctly convert timestamps between us and ns
2012-10-15 16:28:39 +02:00
Sebastian Dröge
2fe74efc04
Set SYNC_FRAME flag on buffers if required
2012-10-15 16:28:39 +02:00
Sebastian Dröge
ed98e8cf60
Improve flushing
2012-10-15 16:28:38 +02:00
Sebastian Dröge
d2aff4ecd3
Wait at most 0.5 seconds for getting an input buffer for EOS
2012-10-15 16:28:38 +02:00
Sebastian Dröge
3be4965d00
Correctly check for flushing
2012-10-15 16:28:38 +02:00
Sebastian Dröge
6a48db3d0f
Retry for negative return values when dequeueing buffers
2012-10-15 16:28:38 +02:00
Sebastian Dröge
911ca50971
Fix refcount bug
2012-10-15 16:28:38 +02:00
Sebastian Dröge
b63c58e850
The MediaCodec API is apparently not threadsafe between stop() and release()
...
So we don't call release() and just hope for the GC to release the
codec in time.
2012-10-15 16:28:38 +02:00
Sebastian Dröge
525ecbb76a
Fix plugin cache creation
2012-10-15 16:28:38 +02:00
Sebastian Dröge
e7b21d5796
Cache the codec informations inside the registry
...
Otherwise we would always load all codecs during plugin initialization
which can take quite some time (because of hardware) and also loads
lots of shared libraries (which number is limited by 64 in Android).
2012-10-15 16:28:38 +02:00
Sebastian Dröge
a98a627370
Properly attach and detach the current threads to the Java VM
...
Attaching a thread after it was detached will cause segfaults,
as such we use a pthread_key_t to keep track of the JNIEnv* of
the attached threads and in the destructor (i.e. when the
thread exits) we detach the thread.
2012-10-15 16:28:38 +02:00
Sebastian Dröge
bafd4a0b19
Don't get the output format from the codec before it is ready
...
Apparently things are crashing otherwise.
2012-10-15 16:28:38 +02:00
Sebastian Dröge
c4258069bb
Get the input buffers from the codec
2012-10-15 16:28:38 +02:00
Sebastian Dröge
30b25fea35
Fix JNI method call signatures
2012-10-15 16:28:38 +02:00
Sebastian Dröge
686b9cf2fa
Initialize the VM will full debugging for now
2012-10-15 16:28:37 +02:00
Sebastian Dröge
d7148efb8e
Use NewStringUTF() instead of our own method for that
2012-10-15 16:28:37 +02:00
Sebastian Dröge
5bbaa1f359
Add the TI format to the mapping table too
2012-10-15 16:28:37 +02:00
Sebastian Dröge
e9790ae693
Add another TI specific OpenMAX color format
2012-10-15 16:28:37 +02:00
Sebastian Dröge
4966f68512
Fixes to element/elementfactory creation
2012-10-15 16:28:37 +02:00
Sebastian Dröge
32d4d29706
Some bugfixes to the codec scanning code
...
Also it's not possible to attach a thread after it was
detached once. As such we simply never detach any thread
at all now.
2012-10-15 16:28:37 +02:00
Sebastian Dröge
a48d2feae0
Fix some compilation errors
2012-10-15 16:28:37 +02:00
Sebastian Dröge
e9dcb1b329
Add important FIXME
2012-10-15 16:28:37 +02:00
Sebastian Dröge
1e73da2941
Add video decoder element
2012-10-15 16:28:37 +02:00
Sebastian Dröge
c846605082
Add some more JNI wrapping
2012-10-15 16:28:37 +02:00
Sebastian Dröge
a6a34c8f1c
Add some missing color format constants
2012-10-15 16:28:37 +02:00
Sebastian Dröge
d0ebf261ff
Implement basic wrapper around MediaCodec API
...
Ideally nothing else will be needed from the elements later.
2012-10-15 16:28:37 +02:00
Sebastian Dröge
f99214a657
Some more WIP
...
Scanning all codecs now and have data structures for holding codec
information and codec contexts. Also function declarations for
working with them.
2012-10-15 16:28:36 +02:00
Sebastian Dröge
8f232ea90b
Initial commit
2012-10-15 16:28:36 +02:00
Sebastian Dröge
4cbb7b8a99
androidmedia: Add androidmedia plugin
2012-10-15 16:28:36 +02:00
Michael Smith
0c2159a220
meta info: register thread-safely.
2012-10-03 11:05:06 -07:00
David Schleef
65a1f79bcb
decklink: change device instance lifecycle
...
The decklink driver eventually crashes after repeated creation/deletion
of device, input, output, and configuration objects. Change to create
these at the outset and keep them around forever.
2012-09-23 21:27:36 +01:00
David Schleef
dd66252f23
decklinksrc: Fix memory leaks
...
Buffers now hold on to a reference for the input, so the input
object doesn't get freed (and carry the buffers with it) before
all the buffers are freed.
2012-09-23 21:27:34 +01:00
Mark Nauwelaerts
9cb0cc216d
applemedia: init videoinfo
2012-09-18 13:19:37 +02:00
Mark Nauwelaerts
5431286b2a
replace _get_caps_reffed with _get_caps
2012-09-14 17:55:05 +02:00
Mark Nauwelaerts
578861abea
replace gst_element_class_set_details_simple with gst_element_class_set_metadata
2012-09-14 17:27:49 +02:00
Wim Taymans
b8f913555d
ffmpegcolorspace is no more
2012-09-14 16:45:34 +02:00
Youness Alaoui
7a7267b402
uvch264: Make gudev/libusb a hard dependency and remove XU_FIND_UNIT ioctl support
...
Conflicts:
sys/uvch264/gstuvch264_src.c
2012-09-11 15:00:18 -04:00
Mark Nauwelaerts
4a843dbbac
d3dvideosink: port to the new GLib thread API
2012-09-11 15:12:55 +02:00
Olivier Crête
cfc94b8a45
uvch264src: Use generic marshaller
2012-09-10 16:12:39 -04:00
Youness Alaoui
1ba24e1306
UVC H264 plugin
2012-09-10 16:09:26 -04:00
David Schleef
85471f5ffa
decklinksink: Fix memory leak
2012-09-09 02:07:24 +01:00
Tim-Philipp Müller
24c626ae1f
shm: remove unneeded glib-gen-mak include in Makefile
...
No enums or marshallers to be generated here. Should also
be gst-glib-gen.mak then.
2012-08-24 09:01:41 +01:00
Edward Hervey
48ae90aff8
dvb: More fixups to 1.0
...
Not tested yet !
Conflicts:
sys/dvb/gstdvbsrc.c
2012-08-14 19:07:06 +02:00
Edward Hervey
7a72c961de
cam: Allow time for CA to initialize
...
Some devices take some time to initialize, and until they are they
will error out when trying to get information about the CA device.
2012-08-14 19:06:30 +02:00
Edward Hervey
25cb359ddb
cam: PMT_REPLY parsing
...
Not used yet
2012-08-14 19:06:25 +02:00
Edward Hervey
dfdbb87813
dvbbasebin: Switch to use tsparse
2012-08-14 19:06:21 +02:00
Fabrizio (Misto) Milo
fe5cf525e1
dvbsrc + dvb api buffer property to overcome buffer under reads
2012-08-14 19:05:32 +02:00
Andoni Morales Alastruey
a3519d59ef
winks: add missing default switch case
2012-08-07 19:05:10 +02:00
Andoni Morales Alastruey
71c1a0e999
winks: fix types
2012-08-07 19:05:04 +02:00
Andoni Morales Alastruey
97a95c9cba
winks: fix format warnings
2012-08-07 19:05:00 +02:00
Andoni Morales Alastruey
64f77b2f84
winks: fix unused variables warnings
2012-08-07 19:04:55 +02:00
Andoni Morales Alastruey
4120cfa43f
winks: don't reinitialize MEDIASUBTYPE_I420
2012-08-07 19:04:50 +02:00
Andoni Morales Alastruey
ffb40074cd
winks: define STATIC_KSPROPSETID_Wave_Queued if not defined
2012-08-07 19:04:42 +02:00
Andoni Morales Alastruey
544840ff38
winks: integrate build with autotools
2012-08-07 19:04:36 +02:00
Andoni Morales Alastruey
a55786274d
d3dvideosink: avoid duplicated symbols in static links
...
Rename the DLL entry point the avoid duplicated symbols in static
links.
2012-08-07 19:04:01 +02:00
Andoni Morales Alastruey
beea4bd161
d3dvideosink: avoid duplicated symbols in static links
...
Rename the DLL entry point the avoid duplicated symbols in static
links.
2012-08-06 14:37:36 +02:00
Wim Taymans
0fc94cd7b0
update for query api changes
2012-07-06 11:50:53 +02:00
Aleix Conchillo Flaque
7b6029ebe1
shmsrc: memory corruption when a client disconnects ( fixes #679385 )
2012-07-05 10:55:26 -07:00
Sebastian Dröge
a26e5bbf9b
directsoundsrc: Chain up to the parent class' finalize implementation
2012-07-03 12:58:53 +02:00
David Schleef
71dcbbd52a
decklinksink: Better handling of audio output
...
Conflicts:
sys/decklink/gstdecklinksink.cpp
2012-07-03 09:11:52 +02:00
David Schleef
2a51113351
decklinksrc: Send newsegment events
2012-07-03 09:09:27 +02:00
David Schleef
8199f37f27
decklinksink: Mark element as sink element
2012-07-03 09:09:22 +02:00
David Schleef
70cef922a4
decklink: use GOnce in type registration
2012-07-03 09:09:18 +02:00
Tim-Philipp Müller
4f6b3b7bbd
sys: make video sinks default to force-aspect-ratio=true
2012-06-29 12:03:51 +01:00
Wim Taymans
ba87a4524f
fix x-wmv format string
2012-06-27 11:23:19 +02:00
Andoni Morales Alastruey
ad5b76a58d
d3dvideosink: release the offscreen surface before the d3d device
...
The offscreen surface keeps a reference on the d3d device, so if the
device is released first we don't see the reference count debug message
going to 0 as it should be.
2012-06-26 09:40:29 +02:00
Andoni Morales Alastruey
53988c9a43
d3dvideosink: clean up element
...
Remove old commented code and uneeded extra indentation
2012-06-26 09:40:29 +02:00
Andoni Morales Alastruey
e1651e9b65
d3dvideosink: rework locking for devices lost
2012-06-26 09:39:36 +02:00
Andoni Morales Alastruey
bd68bd61da
d3dvideosink: release and recreate the device in prepare_window
2012-06-26 09:39:36 +02:00
Tim-Philipp Müller
9af3852753
sys: remove left-over v4l2 dir which has moved to good
...
let's not keep a README around to announce it's moved to -good,
that's just clutter.
2012-06-21 12:17:09 +01:00
Tony Houghton
a996d2f01a
Correct satellite delivery descriptor parsing.
...
Original code to parse satellite delivery descriptors to generate
"satellite" structures appeared to be copy & pasted from cable's code
without amending for satellite.
Also added 8PSK to dvbsrc's enum for modulation.
https://bugzilla.gnome.org/show_bug.cgi?id=654485
Conflicts:
gst/mpegdemux/gstmpegdesc.h
gst/mpegdemux/mpegtspacketizer.c
2012-06-21 11:37:21 +01:00
Edward Hervey
d7ad4ce890
dvb: Detect more issues with configuration file
...
Report useful errors when:
* file is present but empty
* requested channel is not present
2012-06-19 10:54:58 +01:00
Edward Hervey
068598e237
dvbbasebin: Emit an error when we fail reading the channels file
...
Conflicts:
sys/dvb/dvbbasebin.c
2012-06-19 10:54:51 +01:00
Fabrizio (Misto) Milo
1ee6a35949
dvbsrc: spell-check
2012-06-19 10:52:13 +01:00
Fabrizio (Misto) Milo
257d6e6e8a
dvb: better dvsrc polarity info
2012-06-19 10:50:58 +01:00
Andoni Morales Alastruey
830e8b6ec6
d3dvideosink: don't recreate the d3d device if it already exists
2012-06-15 14:09:39 +02:00
Andoni Morales Alastruey
39e0bf5260
d3dvideosink: don't create new internal windows if we already have one
2012-06-15 10:17:03 +02:00
Andoni Morales Alastruey
c924929de2
dshowdecwrapper: add support for VC1 and fix plugins ranks
2012-05-31 12:47:06 +02:00
Andoni Morales Alastruey
1bcb49bcce
dshowdecwrapper: initialize debug properly
2012-05-31 12:47:01 +02:00
Andoni Morales Alastruey
7ed605b375
dshowdecwrapper: fix object disposal and finalization
2012-05-31 12:46:56 +02:00
Andoni Morales Alastruey
78caa53345
d3dvideosink: don't flush after a device lost
2012-05-31 11:09:16 +02:00
Sebastian Dröge
30617d23a3
applemedia: Put the right flags into the right variable
2012-05-30 13:54:11 +02:00
Sebastian Dröge
df5f39658f
configure: Add OBJC specific compiler flags
...
See bug #643939 .
2012-05-30 11:28:53 +02:00
Edward Hervey
70719535dc
dvb: Add more debugging to cam support
2012-05-28 16:46:31 +02:00
Руслан Ижбулатов
83123a98ae
Port d3dvideosink to 0.11
...
Fixes #674817
2012-05-23 15:31:06 +02:00
Edward Hervey
84fa5ec68d
dvbbasebin: Emit no-more-pads when pad is added
...
This avoids an endless hang with playbin2, which sees dvbbasesbin as
having dynamic pads ... but never emitted no-more-pads.
2012-05-23 09:40:39 +02:00
Edward Hervey
d049eadd50
camutils: Fix PMT message construction
...
The size of the message ended up being bigger than its content.
That cause some CA modules to just hang.
2012-05-23 09:40:33 +02:00
Edward Hervey
3d588134d8
camtransport: Allow delay when setting up cam device
...
Some CA devices take a long time to set themselves up,
therefore retry every 250ms (for a maximum of 2.5s)
2012-05-23 09:40:25 +02:00
Edward Hervey
ec8c15fafe
dvbsrc: Fixup/add debug statements
2012-05-23 09:40:19 +02:00
Edward Hervey
2758cda0dc
dvbsrc: Only open device read/write when needed
...
Avoid starting up kernel thread when not needed
2012-05-23 09:40:13 +02:00
Edward Hervey
cca28a50a5
dvb: Add warning when dvb channels file isn't present
2012-05-23 09:40:04 +02:00
Edward Hervey
5c4dd29838
dvb: Fixups for latest API changes
2012-05-22 19:11:29 +02:00
Andoni Morales Alastruey
171321c5eb
d3dvideosink: fix deadlock when the device is lost
2012-05-09 10:38:33 +02:00
Andoni Morales Alastruey
ade676879a
d3dvideosink: remove trailing ';' from locks defines to make gst-indent happy
2012-05-09 09:50:57 +02:00
Aleix Conchillo Flaque
3971ef089c
shmsink: fix memory corruption when a client disconnects ( fixes #675640 )
...
Also, add a check to make sure a client isn't dumped twice
2012-05-07 21:02:26 -04:00
Andoni Morales Alastruey
d3cc27f4fc
dshowvideosink: add missing casts to LPCSTR
2012-05-07 13:09:14 +02:00
Andoni Morales Alastruey
74f5ded1b8
dshowvideosink: lower rank of the DirectShow video sink plugin
...
d3dvideosink should have a higher rank as it works better.
2012-05-07 13:07:56 +02:00
Andoni Morales Alastruey
30c83758c4
dshowvideosink: Fix compilation on x64 platforms
2012-05-07 12:53:26 +02:00
Edward Hervey
a6be944da9
decklink: Fix unitialized variable
2012-04-25 10:31:00 +02:00
Sebastian Dröge
a5495fb475
vdpau: Switch from deprecated XKeycodeToKeysym() to XkbKeycodeToKeysym()
...
Conflicts:
sys/vdpau/gstvdpsink.c
2012-04-24 11:07:49 +02:00
Wim Taymans
a8af5334eb
dvbsrc: pass the reason for failed read as GstFlowReturn
...
Make the _read_device function return a GstFlowReturn so that we can propagate
this to the caller. This allows us to differentiate between poll errors and
flushing state.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=674219
2012-04-20 15:17:56 +02:00
Wim Taymans
1cbd31e3ee
fix for video api update
2012-04-19 14:24:45 +02:00
Sebastian Dröge
7ff3293a44
video: Update for libgstvideo API changes
2012-04-19 12:31:39 +02:00
Mark Nauwelaerts
6578797245
collectpads2: rename to collectpads
2012-04-17 15:22:59 +02:00
Matej Knopp
156d80d74b
applemedia: do not link gstinterfaces
2012-04-16 11:19:17 +02:00
Sebastian Dröge
cda192b3b7
gst: Update for GST_PLUGIN_DEFINE() API changes
2012-04-05 18:02:56 +02:00
Alessandro Decina
d36fe4593d
applemedia: update corevideobuffer after buffer meta API change
2012-04-05 09:08:35 +02:00