platform/upstream/gstreamer.git
10 years agovmncdec: Port to GStreamer 1.0 API
Olivier Crête [Sat, 7 Dec 2013 01:58:48 +0000 (20:58 -0500)]
vmncdec: Port to GStreamer 1.0 API

10 years agostereo: Port to GStreamer 1.0 API
Olivier Crête [Fri, 6 Dec 2013 22:58:13 +0000 (17:58 -0500)]
stereo: Port to GStreamer 1.0 API

10 years agojp2kdecimator: Port to GStreamer 1.0 API
Olivier Crête [Fri, 6 Dec 2013 22:10:39 +0000 (17:10 -0500)]
jp2kdecimator: Port to GStreamer 1.0 API

10 years agortpasfpay: Use GstRTPBasePayload method to push buffer
Olivier Crête [Thu, 5 Dec 2013 21:50:27 +0000 (16:50 -0500)]
rtpasfpay: Use GstRTPBasePayload method to push buffer

This way the event is also pushed.

https://bugzilla.gnome.org/show_bug.cgi?id=719553

10 years agosbcdec: Require caps to be set before any data processing
Sebastian Dröge [Thu, 5 Dec 2013 11:05:30 +0000 (12:05 +0100)]
sbcdec: Require caps to be set before any data processing

10 years agoadpcmdec: Require caps to be set before any data processing
Sebastian Dröge [Thu, 5 Dec 2013 11:05:21 +0000 (12:05 +0100)]
adpcmdec: Require caps to be set before any data processing

10 years agosirendec: Require caps to be set before any data processing
Sebastian Dröge [Thu, 5 Dec 2013 11:05:09 +0000 (12:05 +0100)]
sirendec: Require caps to be set before any data processing

10 years agoopusdec: Require caps to be set before any data processing
Sebastian Dröge [Thu, 5 Dec 2013 11:04:59 +0000 (12:04 +0100)]
opusdec: Require caps to be set before any data processing

10 years agompg123audiodec: Require caps to be set before any data processing
Sebastian Dröge [Thu, 5 Dec 2013 11:04:39 +0000 (12:04 +0100)]
mpg123audiodec: Require caps to be set before any data processing

10 years agogsmdec: Require caps to be set before any data processing
Sebastian Dröge [Thu, 5 Dec 2013 11:04:23 +0000 (12:04 +0100)]
gsmdec: Require caps to be set before any data processing

10 years agoamcvideodec: Use new gst_video_decoder_set_needs_format() API
Sebastian Dröge [Thu, 5 Dec 2013 10:49:41 +0000 (11:49 +0100)]
amcvideodec: Use new gst_video_decoder_set_needs_format() API

10 years agomfcdec: Use new gst_video_decoder_set_needs_format() API
Sebastian Dröge [Thu, 5 Dec 2013 10:49:31 +0000 (11:49 +0100)]
mfcdec: Use new gst_video_decoder_set_needs_format() API

10 years agoopenjpegdec: Use new gst_video_decoder_set_needs_format() API
Sebastian Dröge [Thu, 5 Dec 2013 10:49:14 +0000 (11:49 +0100)]
openjpegdec: Use new gst_video_decoder_set_needs_format() API

10 years agodaaladec: Use new gst_video_decoder_set_needs_format() API
Sebastian Dröge [Thu, 5 Dec 2013 10:45:36 +0000 (11:45 +0100)]
daaladec: Use new gst_video_decoder_set_needs_format() API

10 years agompegvideoparser: Also initialize debug category in parse_sequence_header
Olivier Crête [Wed, 4 Dec 2013 22:31:27 +0000 (17:31 -0500)]
mpegvideoparser: Also initialize debug category in parse_sequence_header

Also remove the useless initialized flag, this is already done by the macro

https://bugzilla.gnome.org/show_bug.cgi?id=719657

10 years agoopenexrdec: Instead of trying to parse the bitstream, just look for the next header
Sebastian Dröge [Wed, 4 Dec 2013 21:38:20 +0000 (22:38 +0100)]
openexrdec: Instead of trying to parse the bitstream, just look for the next header

This should be more robust and allows us to handle new versions of the
file format if the library supports it.

10 years agovideoparsers: use ACCEPT_INTERSECT
Wim Taymans [Wed, 4 Dec 2013 08:13:31 +0000 (09:13 +0100)]
videoparsers: use ACCEPT_INTERSECT

We can also accept caps with missing fields.

10 years agovideoparsers: remove fields from filter
Wim Taymans [Wed, 4 Dec 2013 08:03:45 +0000 (09:03 +0100)]
videoparsers: remove fields from filter

Don't filter out the caps properties we can convert between when
proxying the getcaps query to the downstream peer pad.

10 years agovideoparsers: refactor remove_fields in getcaps
Wim Taymans [Wed, 4 Dec 2013 08:00:43 +0000 (09:00 +0100)]
videoparsers: refactor remove_fields in getcaps

10 years agoopenni2src: Check color format
Sebastian Dröge [Tue, 3 Dec 2013 13:53:24 +0000 (14:53 +0100)]
openni2src: Check color format

10 years agoopenni2src: Add support for the video meta
Sebastian Dröge [Tue, 3 Dec 2013 13:47:32 +0000 (14:47 +0100)]
openni2src: Add support for the video meta

10 years agoopenni2src: Use GstVideoFrame API for better handling of strides
Sebastian Dröge [Tue, 3 Dec 2013 13:46:25 +0000 (14:46 +0100)]
openni2src: Use GstVideoFrame API for better handling of strides

And do proper stride conversion.

10 years agoopenni2src: Fix buffer handling to actually work and properly timestamp buffers
Sebastian Dröge [Tue, 3 Dec 2013 13:35:57 +0000 (14:35 +0100)]
openni2src: Fix buffer handling to actually work and properly timestamp buffers

10 years agoopenni2src: Don't shut down library when finalizing an element instance
Sebastian Dröge [Tue, 3 Dec 2013 13:35:42 +0000 (14:35 +0100)]
openni2src: Don't shut down library when finalizing an element instance

10 years agoopenni2src: Fix negotiation and creation of a video buffer pool
Sebastian Dröge [Tue, 3 Dec 2013 13:35:21 +0000 (14:35 +0100)]
openni2src: Fix negotiation and creation of a video buffer pool

10 years agoopenni2src: Use debug category properly
Sebastian Dröge [Tue, 3 Dec 2013 13:34:56 +0000 (14:34 +0100)]
openni2src: Use debug category properly

10 years agoopenni2src: Classification of the element should be Source/Video
Sebastian Dröge [Mon, 2 Dec 2013 16:03:46 +0000 (17:03 +0100)]
openni2src: Classification of the element should be Source/Video

10 years agoopenni2src: Use GstVideoInfo to create caps and don't leak them
Sebastian Dröge [Mon, 2 Dec 2013 16:01:36 +0000 (17:01 +0100)]
openni2src: Use GstVideoInfo to create caps and don't leak them

10 years agoopenni2src: Some random cleanup and minor fixes
Sebastian Dröge [Mon, 2 Dec 2013 15:59:14 +0000 (16:59 +0100)]
openni2src: Some random cleanup and minor fixes

10 years agoopenni: Add OpenNNI2 plugin
Miguel Casas-Sanchez [Mon, 2 Dec 2013 10:17:02 +0000 (11:17 +0100)]
openni: Add OpenNNI2 plugin

https://bugzilla.gnome.org/show_bug.cgi?id=708914

10 years agogeometrictransform: G_DEFINE_TYPE() already calls g_type_class_peek_parent() for us
Sebastian Dröge [Mon, 2 Dec 2013 09:28:28 +0000 (10:28 +0100)]
geometrictransform: G_DEFINE_TYPE() already calls g_type_class_peek_parent() for us

10 years agogeometrictransform: Remove empty GObject::finalize() implementations
Sebastian Dröge [Mon, 2 Dec 2013 09:25:57 +0000 (10:25 +0100)]
geometrictransform: Remove empty GObject::finalize() implementations

Also don't use GST_DEBUG_FUNCPTR for GObject vfuncs

10 years agogeometrictransform: Add a 2D perspective transform plugin
Antonio Ospite [Sun, 20 Oct 2013 20:04:38 +0000 (22:04 +0200)]
geometrictransform: Add a 2D perspective transform plugin

The perspective plugin applies a 2D perspective (also called projective)
transform to the frame buffer.

A perspective transform can be used for instance to perform keystone
correction when playing the content with a video projector.

https://bugzilla.gnome.org/show_bug.cgi?id=710810

10 years agompeg2enc: avoid list for one single value in template caps
Tim-Philipp Müller [Sun, 1 Dec 2013 23:31:25 +0000 (23:31 +0000)]
mpeg2enc: avoid list for one single value in template caps

10 years agoasfmux: microoptimisation: avoid unnecessary gst_buffer_get_size() calls
Tim-Philipp Müller [Sun, 1 Dec 2013 22:32:09 +0000 (22:32 +0000)]
asfmux: microoptimisation: avoid unnecessary gst_buffer_get_size() calls

10 years agortpasfpay: init rtp buffer fixing rtp packet creation
Tim-Philipp Müller [Fri, 29 Nov 2013 13:23:40 +0000 (13:23 +0000)]
rtpasfpay: init rtp buffer fixing rtp packet creation

https://bugzilla.gnome.org/show_bug.cgi?id=719553

10 years agoasfmux: don't use buffer after giving away ownership
Tim-Philipp Müller [Fri, 29 Nov 2013 13:22:56 +0000 (13:22 +0000)]
asfmux: don't use buffer after giving away ownership

https://bugzilla.gnome.org/show_bug.cgi?id=719553

10 years agoUpdate spec file with latest changes
Christian Fredrik Kalager Schaller [Fri, 29 Nov 2013 09:14:43 +0000 (10:14 +0100)]
Update spec file with latest changes

10 years agopngparse: Don't try to set framerate if not from upstream
Lubosz Sarnecki [Mon, 25 Nov 2013 16:57:00 +0000 (16:57 +0000)]
pngparse: Don't try to set framerate if not from upstream

https://bugzilla.gnome.org/show_bug.cgi?id=715166

10 years agoh264parse: Fix splitting of multiple NALU per buffer
Sebastian Dröge [Thu, 28 Nov 2013 14:10:16 +0000 (15:10 +0100)]
h264parse: Fix splitting of multiple NALU per buffer

Conversion to byte-stream/nal crashes without that because the
baseparse frame of all NALUs is finished for the first NALU, then
used again for parsing the second NALU. Just that now the buffer
of the frame is already gone. Instead we create temporary frames
for every NALU.

10 years agomssdemux: fix setting codec_data when using WaveFormatEx
Antonio Ospite [Thu, 31 Oct 2013 16:16:14 +0000 (17:16 +0100)]
mssdemux: fix setting codec_data when using WaveFormatEx

When using WaveFormatEx the actual codec private data is at the end of
the wav header structure, after the cbSize field, see for example the
notes at http://wiki.multimedia.cx/index.php?title=WAVEFORMATEX

The previous code was erroneously passing the whole WAVEFORMATEX
structure as codec_data.

The smoothstreaming specifications[1,2,3] always mention WAVEFORMATEX
and never smaller structures like WAVEFORMAT or PCMWAVEFORMAT, so the
buffer can assumed to be at least 18 bytes and always consuming the wav
header gives the (possibly empty) codec private data.

[1] http://web.archive.org/web/20120907004742/http://www.iis.net/community/files/media/smoothspecs/%5BMS-SMTH%5D.pdf
[2] http://download.microsoft.com/download/B/0/B/B0B199DB-41E6-400F-90CD-C350D0C14A53/%5BMS-SSTR%5D.pdf
[3] http://download.microsoft.com/download/9/5/E/95EF66AF-9026-4BB0-A41D-A4F81802D92C/%5BMS-SSTR%5D.pdf

https://bugzilla.gnome.org/show_bug.cgi?id=699924

10 years agomssdemux: use mssdemux_debug debug category for gstmssmanifest.c too
Antonio Ospite [Thu, 31 Oct 2013 14:58:27 +0000 (15:58 +0100)]
mssdemux: use mssdemux_debug debug category for gstmssmanifest.c too

10 years agomssdemux: fix coding style
Antonio Ospite [Wed, 16 Oct 2013 14:22:36 +0000 (16:22 +0200)]
mssdemux: fix coding style

10 years agodvdspu: Don't unmap an unreffed buffer
Jan Schmidt [Mon, 25 Nov 2013 04:17:33 +0000 (15:17 +1100)]
dvdspu: Don't unmap an unreffed buffer

gst_dvd_spu_finish_spu_buf drops the reference to the current
buffer, so make sure to call gst_buffer_unmap before it.

10 years agoopenexrdec: Consider the pixel aspect ratio stored in the file
Sebastian Dröge [Sat, 23 Nov 2013 18:11:42 +0000 (19:11 +0100)]
openexrdec: Consider the pixel aspect ratio stored in the file

10 years agoopenexr: Add OpenEXR decoder element
Sebastian Dröge [Sat, 23 Nov 2013 17:37:00 +0000 (18:37 +0100)]
openexr: Add OpenEXR decoder element

This currently converts from ARGB64_F16 (16 bit float per component)
to ARGB64 by clipping. We should add support for the F16 format and
implement a conversion filter element that can apply gamma curves,
change exposure, etc.

10 years agoopenexr: Add OpenEXR plugin
Sebastian Dröge [Sat, 23 Nov 2013 10:29:08 +0000 (11:29 +0100)]
openexr: Add OpenEXR plugin

See http://www.openexr.com

10 years agoopenjpeg: Fix names of debug categories
Sebastian Dröge [Sat, 23 Nov 2013 10:35:35 +0000 (11:35 +0100)]
openjpeg: Fix names of debug categories

10 years agodvdspu: pop new packet when invalid next command block
Mark Nauwelaerts [Sat, 23 Nov 2013 13:35:06 +0000 (14:35 +0100)]
dvdspu: pop new packet when invalid next command block

... to prevent staying stuck on current command block and busy looping.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=712219

10 years agompeg4videoparse: accept VideoObjectLayer as start of frame and config
Mark Nauwelaerts [Sat, 23 Nov 2013 10:23:35 +0000 (11:23 +0100)]
mpeg4videoparse: accept VideoObjectLayer as start of frame and config

... which it deserves as much as VideoObject.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=667564

10 years agoqtwrapper: g_memmove() is deprecated
Tim-Philipp Müller [Thu, 21 Nov 2013 15:54:32 +0000 (15:54 +0000)]
qtwrapper: g_memmove() is deprecated

Just use plain memmove(), g_memmove() is deprecated in
recent GLib versions.

https://bugzilla.gnome.org/show_bug.cgi?id=712811

10 years agodvdspu: Handle vobsub packets smaller than 4 bytes
Jan Schmidt [Wed, 20 Nov 2013 01:46:23 +0000 (12:46 +1100)]
dvdspu: Handle vobsub packets smaller than 4 bytes

In particular, handle the case of an empty packet with size 0 bytes.

Partially fixes: #712643

10 years agosrtpenc: Set the first session flag to false once one is create
Olivier Crête [Wed, 20 Nov 2013 01:18:48 +0000 (20:18 -0500)]
srtpenc: Set the first session flag to false once one is create

Otherwise it always thinks it's the first session.

https://bugzilla.gnome.org/show_bug.cgi?id=711495

10 years agosrtpdec: Make sure that stream-id/caps/segment are sent before buffers
Olivier Crête [Wed, 20 Nov 2013 01:12:54 +0000 (20:12 -0500)]
srtpdec: Make sure that stream-id/caps/segment are sent before buffers

It may be possible that only one of the two sink pads is linked in that case,
the events need to be created from the other pad.

10 years agosrtpdec: Pass is_rtcp to setcaps function
Olivier Crête [Wed, 20 Nov 2013 00:10:06 +0000 (19:10 -0500)]
srtpdec: Pass is_rtcp to setcaps function

10 years agosrtp: Implement SRTCP demultiplexing
Olivier Crête [Thu, 4 Apr 2013 21:59:01 +0000 (17:59 -0400)]
srtp: Implement SRTCP demultiplexing

Separate multiplexed RTP and RTCP if they arrive
on the rtp_sink pad.

10 years agodaala: Fix compilation
Sebastian Dröge [Mon, 18 Nov 2013 23:38:33 +0000 (00:38 +0100)]
daala: Fix compilation

10 years agomssdemux: do not try to deinit the downloadrate while it is used
Thiago Santos [Thu, 14 Nov 2013 01:25:59 +0000 (22:25 -0300)]
mssdemux: do not try to deinit the downloadrate while it is used

This can cause an assertion or deadlocks.

10 years agomssdemux: also consider /manifest
Thiago Santos [Mon, 11 Nov 2013 19:35:35 +0000 (16:35 -0300)]
mssdemux: also consider /manifest

The spec says /Manifest, but /manifest is easily found on some
services, so handle that, too.

https://bugzilla.gnome.org/show_bug.cgi?id=710223

10 years agompegtsmux: Fix compilation when debug is disabled
Thibault Saunier [Thu, 14 Nov 2013 12:02:35 +0000 (09:02 -0300)]
mpegtsmux: Fix compilation when debug is disabled

10 years agocodecparsers: Add -lm needed by H.265 parser
Reynaldo H. Verdejo Pinochet [Wed, 13 Nov 2013 21:59:48 +0000 (18:59 -0300)]
codecparsers: Add -lm needed by H.265 parser

10 years agopngparse: Proxy upstream framerate on srcpad if avalaible
Thibault Saunier [Wed, 13 Nov 2013 20:16:04 +0000 (17:16 -0300)]
pngparse: Proxy upstream framerate on srcpad if avalaible

If the user sets it himself with capsfilter, the information should be
kept and transmitted downstream.

10 years agompegtsmux: Properly add subtitle descriptor for DVb subpicture subtitles
Thibault Saunier [Tue, 12 Nov 2013 21:36:04 +0000 (18:36 -0300)]
mpegtsmux: Properly add subtitle descriptor for DVb subpicture subtitles

We were adding an empty descriptor for them and it was not possible to
actually use them on muxed streams.

10 years agoeglglessink: fix non-egl display context query
Matthieu Bouron [Wed, 13 Nov 2013 14:28:30 +0000 (14:28 +0000)]
eglglessink: fix non-egl display context query

10 years agompegvideoparse: look beyond start code before leaping
Mark Nauwelaerts [Mon, 11 Nov 2013 15:15:00 +0000 (16:15 +0100)]
mpegvideoparse: look beyond start code before leaping

In case more data than a start code alone is needed to decide whether
it ends a frame, arrange for more input data and decide when available.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=711627

10 years agoavfvideosrc: declare missing instance variables
Matthieu Bouron [Mon, 11 Nov 2013 13:24:08 +0000 (13:24 +0000)]
avfvideosrc: declare missing instance variables

Fixes build on 32-bit system.

https://bugzilla.gnome.org/show_bug.cgi?id=711844

10 years agompegvideoparse: tweak extension handling
Mark Nauwelaerts [Sun, 10 Nov 2013 11:17:18 +0000 (12:17 +0100)]
mpegvideoparse: tweak extension handling

10 years agompgegdemux: do not use pushed buffer in debug message
Mark Nauwelaerts [Sun, 10 Nov 2013 11:15:33 +0000 (12:15 +0100)]
mpgegdemux: do not use pushed buffer in debug message

10 years agompegvideoparse: check for same TSN only for interlaced streams (fixes unit test)
Matej Knopp [Sat, 9 Nov 2013 12:32:21 +0000 (13:32 +0100)]
mpegvideoparse: check for same TSN only for interlaced streams (fixes unit test)

https://bugzilla.gnome.org/show_bug.cgi?id=711721

10 years agoaudiomixer: Add test for the ORC code
Sebastian Dröge [Sat, 9 Nov 2013 11:18:02 +0000 (12:18 +0100)]
audiomixer: Add test for the ORC code

10 years agoRevert "mpegvparse: Fix last start code position when input buffer is empty"
Sebastian Dröge [Sat, 9 Nov 2013 08:43:56 +0000 (09:43 +0100)]
Revert "mpegvparse: Fix last start code position when input buffer is empty"

This reverts commit 7c23a6f23c185330d74ae4ccce79c3641a2fabac.

The fix was not complete, see discussion in
https://bugzilla.gnome.org/show_bug.cgi?id=711627

10 years agompegts: Add some more element-type annotations for g-i
Sebastian Dröge [Fri, 8 Nov 2013 19:23:27 +0000 (20:23 +0100)]
mpegts: Add some more element-type annotations for g-i

10 years agocoremediabuffer: keep an extra ref to the image and data buffer
Andoni Morales Alastruey [Thu, 7 Nov 2013 20:37:29 +0000 (21:37 +0100)]
coremediabuffer: keep an extra ref to the image and data buffer

10 years agompegvparse: Fix last start code position when input buffer is empty
Greg Rutz [Thu, 7 Nov 2013 17:57:22 +0000 (10:57 -0700)]
mpegvparse: Fix last start code position when input buffer is empty

When the input buffer is empty and we need more data to determine
whether or not to terminate the previous frame, the last start code
location needs to be set to 4 bytes before the the current position
(size of start_code is 32-bits)

https://bugzilla.gnome.org/show_bug.cgi?id=711627

10 years agocodecparsers: Fix bad condition in h264 parser
Aurélien Zanelli [Thu, 7 Nov 2013 13:39:26 +0000 (14:39 +0100)]
codecparsers: Fix bad condition in h264 parser

https://bugzilla.gnome.org/show_bug.cgi?id=711615

10 years agoapplemedia: coremediabuffer: use correct retain/release functions on CMSampleBufferRe...
Matthieu Bouron [Thu, 7 Nov 2013 12:29:48 +0000 (12:29 +0000)]
applemedia: coremediabuffer: use correct retain/release functions on CMSampleBufferRef buffer

Fixes a crash while releasing the sample buffer after the image
buffer it contains.

Also fixes a minor coding style error.

https://bugzilla.gnome.org/show_bug.cgi?id=711606

10 years agoqtkitvideosrc: lower rank to GST_RANK_SECONDARY
Matthieu Bouron [Thu, 7 Nov 2013 14:26:22 +0000 (14:26 +0000)]
qtkitvideosrc: lower rank to GST_RANK_SECONDARY

Makes avfvideosrc be prefered over qtkitvideosrc since it is deprecated
with OS X 10.9.

https://bugzilla.gnome.org/show_bug.cgi?id=711614

10 years agoavfvideosrc: set rank to GST_RANK_PRIMARY
Matthieu Bouron [Thu, 7 Nov 2013 13:33:36 +0000 (13:33 +0000)]
avfvideosrc: set rank to GST_RANK_PRIMARY

Makes avfvideosrc to be used with autodetection.

https://bugzilla.gnome.org/show_bug.cgi?id=711614

10 years agohlssink: do not lose ref to the multifilesink
Thiago Santos [Thu, 7 Nov 2013 15:47:51 +0000 (12:47 -0300)]
hlssink: do not lose ref to the multifilesink

It is needed to update location properties and it was being lost on
state changes, causing issues if the pipeline was to be reused

10 years agohlssink: make sure it is handled as a sink
Thiago Santos [Thu, 7 Nov 2013 15:35:55 +0000 (12:35 -0300)]
hlssink: make sure it is handled as a sink

It only gets the sink flag set when it adds the multifilesink, that
happens in null->ready and it might be too late. Set the flag
explicitly on the constructor.

https://bugzilla.gnome.org/show_bug.cgi?id=711086

10 years agoavfvideosrc: fix compiler warning in iOS
Andoni Morales Alastruey [Thu, 7 Nov 2013 12:05:08 +0000 (13:05 +0100)]
avfvideosrc: fix compiler warning in iOS

10 years agoavfvideosrc: fix build in iOS with isEqualTo doesn't exists
Andoni Morales Alastruey [Thu, 7 Nov 2013 11:29:34 +0000 (12:29 +0100)]
avfvideosrc: fix build in iOS with isEqualTo doesn't exists

10 years agoavfvideosrc: fix build with older SDK not supporting AVDeviceFormat
Andoni Morales Alastruey [Thu, 7 Nov 2013 11:20:31 +0000 (12:20 +0100)]
avfvideosrc: fix build with older SDK not supporting AVDeviceFormat

AVDeviceFormat and AVFrameRateRange are available in iOS since 7.0
so we need a more dynamic approach to support compilation with older
SDK's. We use a NSObject to avoid referencing those types and key-value
coding or preformSelector to access properties.

10 years agoavfvideosrc: fix checks for HAVE_IOS
Andoni Morales Alastruey [Thu, 7 Nov 2013 00:38:20 +0000 (01:38 +0100)]
avfvideosrc: fix checks for HAVE_IOS

10 years agoavfvideosrc: include config.h
Andoni Morales Alastruey [Thu, 7 Nov 2013 00:37:38 +0000 (01:37 +0100)]
avfvideosrc: include config.h

10 years agoavfvideosrc: add more debug
Andoni Morales Alastruey [Wed, 6 Nov 2013 17:53:25 +0000 (18:53 +0100)]
avfvideosrc: add more debug

10 years agoavfvideosrc: fix compilation with gcc
Andoni Morales Alastruey [Wed, 6 Nov 2013 17:50:46 +0000 (18:50 +0100)]
avfvideosrc: fix compilation with gcc

The synthesize block needs to be moved to fix a compiler error

10 years agoavfvideosrc: sort caps with the highest resolution first
Andoni Morales Alastruey [Wed, 6 Nov 2013 17:49:35 +0000 (18:49 +0100)]
avfvideosrc: sort caps with the highest resolution first

When started without any caps filter we prefer the highest
supported resolution.

10 years agoavfvideosrc: support screen capture on OSX
Matthieu Bouron [Mon, 4 Nov 2013 11:14:35 +0000 (11:14 +0000)]
avfvideosrc: support screen capture on OSX

https://bugzilla.gnome.org/show_bug.cgi?id=711432

10 years agoavfvideosrc: minor cosmetic
Matthieu Bouron [Thu, 31 Oct 2013 13:05:40 +0000 (13:05 +0000)]
avfvideosrc: minor cosmetic

10 years agoavfvideosrc: use input device formats to set/get caps if available
Matthieu Bouron [Thu, 31 Oct 2013 13:03:58 +0000 (13:03 +0000)]
avfvideosrc: use input device formats to set/get caps if available

https://bugzilla.gnome.org/show_bug.cgi?id=711211

10 years agoavfvideosrc: update caps if frame size has changed
Matthieu Bouron [Tue, 29 Oct 2013 15:37:16 +0000 (15:37 +0000)]
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.

10 years agoavfvideosrc: check if low preset is available
Matthieu Bouron [Tue, 29 Oct 2013 15:36:06 +0000 (15:36 +0000)]
avfvideosrc: check if low preset is available

10 years agoavfvideosrc: use a dedicated queue for AVFoundation calls
Matthieu Bouron [Mon, 28 Oct 2013 18:22:13 +0000 (18:22 +0000)]
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.

10 years agoavfvideosrc: remove trailing space
Matthieu Bouron [Tue, 29 Oct 2013 17:33:11 +0000 (17:33 +0000)]
avfvideosrc: remove trailing space

10 years agoavfvideosrc: dispatch AVFoundation calls synchronously in the main queue
Matthieu Bouron [Wed, 30 Oct 2013 14:51:50 +0000 (14:51 +0000)]
avfvideosrc: dispatch AVFoundation calls synchronously in the main queue

10 years agoapplemedia: enable avfvideosrc if AVFoundation is present
Matthieu Bouron [Wed, 30 Oct 2013 12:40:01 +0000 (12:40 +0000)]
applemedia: enable avfvideosrc if AVFoundation is present

10 years agoavfvideosrc: only enable 1920x1080 preset on iOS
Matthieu Bouron [Wed, 30 Oct 2013 12:39:24 +0000 (12:39 +0000)]
avfvideosrc: only enable 1920x1080 preset on iOS

10 years agoconfigure.ac: detect presence of AVFoundation
Matthieu Bouron [Mon, 28 Oct 2013 11:20:27 +0000 (11:20 +0000)]
configure.ac: detect presence of AVFoundation

10 years agoapplemedia: port avfvideosrc to 1.0
Matthieu Bouron [Mon, 28 Oct 2013 11:53:26 +0000 (11:53 +0000)]
applemedia: port avfvideosrc to 1.0