platform/upstream/gstreamer.git
13 years agoshm: stylist improvements
Youness Alaoui [Wed, 20 Oct 2010 19:41:15 +0000 (21:41 +0200)]
shm: stylist improvements

13 years agoshm: Explain some fields
Youness Alaoui [Wed, 20 Oct 2010 19:33:24 +0000 (21:33 +0200)]
shm: Explain some fields

Explain what some of the fields in the allocator actually mean

13 years agointerlace: Fix buffer timestamp and duration
Robert Swain [Mon, 22 Nov 2010 14:26:06 +0000 (15:26 +0100)]
interlace: Fix buffer timestamp and duration

The field rate is twice the frame rate of the src pad and so the duration of
one output buffer is src_fps_d / (2 * src_fps_n).

13 years agointerlace: Rename pattern property to field-pattern
Robert Swain [Mon, 22 Nov 2010 09:29:56 +0000 (10:29 +0100)]
interlace: Rename pattern property to field-pattern

This is mostly for clarity of what the property means and, I believe, makes the
pattern-offset property more comprehensible.

13 years agointerlace: Add pattern offset property
Robert Swain [Mon, 22 Nov 2010 09:27:22 +0000 (10:27 +0100)]
interlace: Add pattern offset property

This property allows one to start at any point within the field pattern after
a discontinuity (whenever gst_interlace_reset () is called). Thus with the
2:3:3:2 pattern, for example, one can start at offset 2 and achieve 3:2:2:3
or offset 1 and achieve 3:3:2:2.

13 years agocamerabin: Create imagebin elements when image mode is set in camerabin NULL state
Lasse Laukkanen [Fri, 19 Nov 2010 20:01:41 +0000 (17:01 -0300)]
camerabin: Create imagebin elements when image mode is set in camerabin NULL state

This patch refactors imagebin element creation and linking into separate functions,
and adds re-using also for imagebin internally created elements.

So this refactoring allows creating imagebin elements already in NULL state when
application sets the image mode, and next state change from NULL to READY will be faster.
This reduces first capture latency.

Earlier the elements were both created and linked in NULL to READY state change.

13 years agompegtsparse: Create a sub-buffer with the section length
Andoni Morales Alastruey [Mon, 22 Nov 2010 11:23:30 +0000 (12:23 +0100)]
mpegtsparse: Create a sub-buffer with the section length

14 years agoopencv: fix caps issues and extend supported caps for some elements
Josh Doe [Fri, 19 Nov 2010 20:23:41 +0000 (15:23 -0500)]
opencv: fix caps issues and extend supported caps for some elements

Some elements had vague caps, such as "video/x-raw-rgb", which caused problems
at least with textwrite. For other elements, the underlying OpenCV functions
support more than just one image type, so I increased the number of supported
caps.

I created a utility function "gst_opencv_caps_from_cv_image_type", so each
element creates caps directly from OpenCV image types, such as CV_8UC1 for
8-bit grayscale. This function uses gstvideo to create uniform caps.

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

14 years agojpegparse: Small optimization on tags parsing
Thiago Santos [Mon, 22 Nov 2010 20:43:12 +0000 (17:43 -0300)]
jpegparse: Small optimization on tags parsing

Optimize a little avoiding copying a taglist when parsing xmp/exif
data.

14 years agooutputselector: Avoid losing the last_buffer when switching
Thiago Santos [Fri, 17 Sep 2010 12:52:12 +0000 (09:52 -0300)]
outputselector: Avoid losing the last_buffer when switching

This patch makes outputselector take an extra ref when pushing
the last_buffer to avoid it losing it during the switch function.

This makes resend-latest properly work if the active-pad is changed
during the switch function buffer pushing (on a pad probe, for example).

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

14 years agooutputselector: Recheck pending switch after pushing buffer
Thiago Santos [Fri, 17 Sep 2010 12:44:02 +0000 (09:44 -0300)]
outputselector: Recheck pending switch after pushing buffer

This patch makes output-selector always recheck if there's a
pending pad switch after pushing a buffer, preventing that
it pushes a buffer on the 'wrong' pad.

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

14 years agorsvgoverlay: scalable and relative svg overlay with cairo
Olivier Aubert [Mon, 22 Nov 2010 13:10:26 +0000 (15:10 +0200)]
rsvgoverlay: scalable and relative svg overlay with cairo

Add a cairo+librsvg based overlay element to the rsvg plugin.

14 years agomake: remove traces or moved/removed plugins
Stefan Kost [Mon, 22 Nov 2010 15:06:05 +0000 (17:06 +0200)]
make: remove traces or moved/removed plugins

14 years agomake: add missinf trailing \ to fix the build
Stefan Kost [Mon, 22 Nov 2010 15:05:23 +0000 (17:05 +0200)]
make: add missinf trailing \ to fix the build

14 years agocolorspace: remove incorrect check
David Schleef [Mon, 22 Nov 2010 07:11:19 +0000 (23:11 -0800)]
colorspace: remove incorrect check

14 years agoqtmux: remove remnant of obsolete property
Mark Nauwelaerts [Fri, 19 Nov 2010 16:55:36 +0000 (17:55 +0100)]
qtmux: remove remnant of obsolete property

14 years agotests: qtmux: also unit test fragmented file cases
Mark Nauwelaerts [Fri, 19 Nov 2010 14:18:58 +0000 (15:18 +0100)]
tests: qtmux: also unit test fragmented file cases

14 years agoqtmux: allow specifying trak timescale
Marc-André Lureau [Fri, 30 Jul 2010 10:48:29 +0000 (12:48 +0200)]
qtmux: allow specifying trak timescale

This is mainly because Smoothstreaming client are broken and don't
take the TimeScale property into account.

14 years agoqtmux: include sdtp atoms for ismv fragmented files
Mark Nauwelaerts [Fri, 19 Nov 2010 16:41:41 +0000 (17:41 +0100)]
qtmux: include sdtp atoms for ismv fragmented files

Based on patch by Marc-André Lureau <mlureau@flumotion.com>

14 years agoqtmux: enable default fragmented file for ismlmux
Mark Nauwelaerts [Fri, 19 Nov 2010 18:17:45 +0000 (19:17 +0100)]
qtmux: enable default fragmented file for ismlmux

14 years agoqtmux: add ismlmux, for fragmented isml major brand
Marc-André Lureau [Thu, 2 Sep 2010 11:58:05 +0000 (13:58 +0200)]
qtmux: add ismlmux, for fragmented isml major brand

14 years agoqtmux: finalize sinkpads list
Mark Nauwelaerts [Fri, 19 Nov 2010 13:44:45 +0000 (14:44 +0100)]
qtmux: finalize sinkpads list

14 years agoqtmux: add moov in streamheader
Marc-André Lureau [Thu, 22 Jul 2010 17:40:07 +0000 (19:40 +0200)]
qtmux: add moov in streamheader

14 years agoqtmux: add streamable property to avoid building fragmented mfra index
Marc-André Lureau [Fri, 6 Aug 2010 11:26:27 +0000 (13:26 +0200)]
qtmux: add streamable property to avoid building fragmented mfra index

14 years agoqtmux: add mfra to fragmented file
Mark Nauwelaerts [Thu, 18 Nov 2010 15:48:06 +0000 (16:48 +0100)]
qtmux: add mfra to fragmented file

Based on patch by Marc-André Lureau <mlureau@flumotion.com>

14 years agoqtmux: optionally create fragmented file
Mark Nauwelaerts [Mon, 15 Nov 2010 14:17:59 +0000 (15:17 +0100)]
qtmux: optionally create fragmented file

In this mode, an initial empty moov (containing only stream metadata) is written,
followed by fragments containing actual data (along with required metadata).
New fragments are started either at keyframe (if such are sparse) or when
property configured duration exceeded.

Based on patch by Marc-André Lureau <mlureau@flumotion.com>

Fixes #632911.

14 years agoqtmux: use helper to set atom flags from given uint
Mark Nauwelaerts [Mon, 15 Nov 2010 14:12:45 +0000 (15:12 +0100)]
qtmux: use helper to set atom flags from given uint

14 years agoqtmux: refactor configuring and sending of moov
Mark Nauwelaerts [Tue, 9 Nov 2010 15:49:07 +0000 (16:49 +0100)]
qtmux: refactor configuring and sending of moov

Based on patch by Marc-André Lureau <mlureau@flumotion.com>

14 years agoqtmux: refactor extra top-level atom handling
Mark Nauwelaerts [Tue, 9 Nov 2010 14:54:44 +0000 (15:54 +0100)]
qtmux: refactor extra top-level atom handling

Also check a bit more for possible errors, and free proper items in such case.

14 years agoqtmux: refactor slightly using buffer helper
Mark Nauwelaerts [Tue, 9 Nov 2010 14:01:15 +0000 (15:01 +0100)]
qtmux: refactor slightly using buffer helper

14 years agoqtmux: fix misinforming comment
Mark Nauwelaerts [Fri, 5 Nov 2010 12:48:57 +0000 (13:48 +0100)]
qtmux: fix misinforming comment

14 years agoqtmux: delegate mvex handling to atoms
Mark Nauwelaerts [Fri, 5 Nov 2010 11:08:15 +0000 (12:08 +0100)]
qtmux: delegate mvex handling to atoms

... which keeps qtmux simpler.

14 years agoqtmux: add mvex/trex in header if fragmented
Marc-André Lureau [Mon, 28 Sep 2009 14:11:35 +0000 (16:11 +0200)]
qtmux: add mvex/trex in header if fragmented

One "trex" is added per "trak". We don't support default values,
but the "trex" box is mandatory.

14 years agoqtmux: add a couple of fourcc for fragmented mp4
Marc-André Lureau [Mon, 28 Sep 2009 11:01:30 +0000 (13:01 +0200)]
qtmux: add a couple of fourcc for fragmented mp4

14 years agoqtmux: avoid removing temp file when error occurred
Mark Nauwelaerts [Fri, 5 Nov 2010 10:08:01 +0000 (11:08 +0100)]
qtmux: avoid removing temp file when error occurred

14 years agoqtmux: truncate buffer file after each send
Marc-André Lureau [Wed, 30 Sep 2009 15:16:30 +0000 (17:16 +0200)]
qtmux: truncate buffer file after each send

14 years agoqtmux: remove temp file when reset/finalize
Marc-André Lureau [Mon, 28 Sep 2009 14:53:51 +0000 (16:53 +0200)]
qtmux: remove temp file when reset/finalize

14 years agojpegformat: Push tags after setting srcpad caps
Arun Raghavan [Tue, 17 Aug 2010 20:30:10 +0000 (02:00 +0530)]
jpegformat: Push tags after setting srcpad caps

This patch defers emission of tag events till caps are set on the source
pad of jpegparse, so that these tags can be seen downstream.

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

14 years agompegtsparse: fix compiler warning
Alessandro Decina [Fri, 19 Nov 2010 17:51:32 +0000 (18:51 +0100)]
mpegtsparse: fix compiler warning

14 years agompegtsparse: fix thinko
Andoni Morales Alastruey [Fri, 19 Nov 2010 17:26:59 +0000 (18:26 +0100)]
mpegtsparse: fix thinko

14 years agompegtsparse: fix handling of TOT and TDT sections. Fixes #635281.
Andoni Morales Alastruey [Fri, 19 Nov 2010 16:25:01 +0000 (17:25 +0100)]
mpegtsparse: fix handling of TOT and TDT sections. Fixes #635281.

TDT and TOT sections, with PID=0x14, doesn't extend to several packets
and the section filter is not needed here and shouldn't be used at all
for these tables because the have a different structure.
For example, TDT tables were not parsed for odd hours because this bit
is the 'current_next_indicator' bit for the other sections, and the table
was discarded.

14 years agompegtsparse: don't calculate the CRC for TOT tables. Fixes #635281.
Andoni Morales Alastruey [Fri, 19 Nov 2010 16:22:06 +0000 (17:22 +0100)]
mpegtsparse: don't calculate the CRC for TOT tables. Fixes #635281.

TOT tables, with table_id=0x73, don't have a CRC, so don't calcute it

14 years agodvbbasebin: Add TDT to the initial pids filter for dvbsrc. Fixes #635200.
Andoni Morales Alastruey [Thu, 18 Nov 2010 17:42:38 +0000 (18:42 +0100)]
dvbbasebin: Add TDT to the initial pids filter for dvbsrc. Fixes #635200.

14 years agojpegparse: add gst_jpeg_parse_skip_marker ()
Víctor Manuel Jáquez Leal [Tue, 16 Nov 2010 16:35:36 +0000 (17:35 +0100)]
jpegparse: add gst_jpeg_parse_skip_marker ()

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

14 years agojpegparse: use byte reader accessors
Víctor Manuel Jáquez Leal [Fri, 13 Aug 2010 11:14:30 +0000 (13:14 +0200)]
jpegparse: use byte reader accessors

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

14 years agojpegparse: inline gst_jpeg_parse_sof ()
Víctor Manuel Jáquez Leal [Wed, 17 Nov 2010 09:49:30 +0000 (10:49 +0100)]
jpegparse: inline gst_jpeg_parse_sof ()

No functional changes (hopefully).

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

14 years agojpegparse: fix typo
Víctor Manuel Jáquez Leal [Tue, 16 Nov 2010 16:23:35 +0000 (17:23 +0100)]
jpegparse: fix typo

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

14 years agocamerabin: Do not use audio clock after stopping video capture
Aleksey Lim [Thu, 18 Nov 2010 13:58:06 +0000 (10:58 -0300)]
camerabin: Do not use audio clock after stopping video capture

Adda provide clock function to camerabin to make it not
provide the audio clock of the record bin when no video
recording is happening

Fixes #613379

14 years agobaseparse: use correct offset when adding index entry
Mark Nauwelaerts [Wed, 17 Nov 2010 15:23:42 +0000 (16:23 +0100)]
baseparse: use correct offset when adding index entry

... bearing in mind that BUFFER_OFFSET is media specific and may not
reflect the basic offset after having been parsed.

14 years agobaseparse: enhancements for timestamp marked framed formats
Mark Nauwelaerts [Wed, 17 Nov 2010 13:30:09 +0000 (14:30 +0100)]
baseparse: enhancements for timestamp marked framed formats

That is, as such formats allow subclass to extract position from frame,
it is possible to extract duration (if not otherwise provided)
from (near) last frame, and a seek can fairly accurately target the required
position.

Fixes #631389.

14 years agobaseparse: refactor frame scanning peformed by _loop
Mark Nauwelaerts [Tue, 16 Nov 2010 16:06:14 +0000 (17:06 +0100)]
baseparse: refactor frame scanning peformed by _loop

14 years agobaseparse: slightly optimize sending of pending newsegment events
Mark Nauwelaerts [Tue, 16 Nov 2010 17:04:00 +0000 (18:04 +0100)]
baseparse: slightly optimize sending of pending newsegment events

14 years agobaseparse: minor fixes and enhancements
Mark Nauwelaerts [Tue, 16 Nov 2010 16:04:35 +0000 (17:04 +0100)]
baseparse: minor fixes and enhancements

Arrange for upstream as well as downstream flushing when seeking.
Also determine upstream size as well as seekability.  Adjust some comments
to reality and employ debug statement in proper order.

14 years agoaacparse: minor cleanups
Mark Nauwelaerts [Wed, 17 Nov 2010 14:33:36 +0000 (15:33 +0100)]
aacparse: minor cleanups

14 years agoaacparse: fix regression in ADIF src caps setting
Mark Nauwelaerts [Wed, 17 Nov 2010 14:24:37 +0000 (15:24 +0100)]
aacparse: fix regression in ADIF src caps setting

14 years agoflacparse: parse seektable
Mark Nauwelaerts [Tue, 16 Nov 2010 11:11:53 +0000 (12:11 +0100)]
flacparse: parse seektable

Fixes #631389 (partially).

14 years agoflacparse: minor refactor and enable default baseparse segment clipping
Mark Nauwelaerts [Tue, 16 Nov 2010 11:08:54 +0000 (12:08 +0100)]
flacparse: minor refactor and enable default baseparse segment clipping

14 years agocelvideosrc: fix nasty deadlock
Ole André Vadla Ravnås [Thu, 11 Nov 2010 23:40:33 +0000 (00:40 +0100)]
celvideosrc: fix nasty deadlock

We cannot call any CMBufferQueue functions while holding the lock that
our callback also depends on. So now we make use of CMBufferQueue's
trigger API in order to get notified when the queue has data.

14 years agocmapi: cover CMBufferQueue's trigger API
Ole André Vadla Ravnås [Thu, 11 Nov 2010 22:41:44 +0000 (23:41 +0100)]
cmapi: cover CMBufferQueue's trigger API

14 years agocelvideosrc: unlock should also notify
Ole André Vadla Ravnås [Thu, 11 Nov 2010 20:42:03 +0000 (21:42 +0100)]
celvideosrc: unlock should also notify

Otherwise we depend on being woken up by the CoreMedia queue getting
its next buffer.

14 years agoapplemedia: don't push synchronously from callback
Ole André Vadla Ravnås [Wed, 10 Nov 2010 22:16:51 +0000 (23:16 +0100)]
applemedia: don't push synchronously from callback

The codec that called us might be holding locks to shared resources, so
we should never push downstream from within its buffer callback.

Note that a GstBufferList is not used here because we need to preserve
the buffer metadata held by our GstBuffer subclasses.

14 years agovtenc: bump H.264 level from 1.3 to 3.0
Ole André Vadla Ravnås [Wed, 10 Nov 2010 19:52:47 +0000 (20:52 +0100)]
vtenc: bump H.264 level from 1.3 to 3.0

This should be turned into a property.

14 years agocelvideosrc: add basic device selection support
Ole André Vadla Ravnås [Wed, 10 Nov 2010 19:44:15 +0000 (20:44 +0100)]
celvideosrc: add basic device selection support

14 years agocvapi: add wrapper for IO surface access
Ole André Vadla Ravnås [Wed, 10 Nov 2010 19:51:27 +0000 (20:51 +0100)]
cvapi: add wrapper for IO surface access

To be used in a future video sink for zero-copy rendering.

14 years agocelapi: add capture port type constants
Ole André Vadla Ravnås [Wed, 10 Nov 2010 19:25:28 +0000 (20:25 +0100)]
celapi: add capture port type constants

14 years agoassrender: Remove unused src_stride variable from blit functions
Mart Raudsepp [Tue, 9 Nov 2010 20:43:14 +0000 (22:43 +0200)]
assrender: Remove unused src_stride variable from blit functions

14 years agowin32: Adding photography interface .def file
Thiago Santos [Tue, 9 Nov 2010 21:10:43 +0000 (18:10 -0300)]
win32: Adding photography interface .def file

Adds check-exports to -bad to have photography interface
.def file created

Fixes #578629

14 years agompegaudioparse: fix silly leak in _reset
Mark Nauwelaerts [Tue, 9 Nov 2010 18:38:25 +0000 (19:38 +0100)]
mpegaudioparse: fix silly leak in _reset

14 years agoapplemedia: biplanar is actually NV12, not I420
Ole André Vadla Ravnås [Mon, 8 Nov 2010 22:54:31 +0000 (23:54 +0100)]
applemedia: biplanar is actually NV12, not I420

D'oh!

14 years agovtenc: remove keyframe enforcement workaround
Ole André Vadla Ravnås [Mon, 8 Nov 2010 20:22:13 +0000 (21:22 +0100)]
vtenc: remove keyframe enforcement workaround

Was only needed for old iOS where the H.264 encoder didn't support
kVTEncodeFrameOptionKey_ForceKeyFrame.

14 years agocvapi: add a few extra bits of wrapping
Ole André Vadla Ravnås [Mon, 8 Nov 2010 17:56:52 +0000 (18:56 +0100)]
cvapi: add a few extra bits of wrapping

14 years agoapplemedia: lock CVPixelBuffer read-only
Ole André Vadla Ravnås [Mon, 8 Nov 2010 14:08:19 +0000 (15:08 +0100)]
applemedia: lock CVPixelBuffer read-only

As per Apple's docs, this may improve performance by avoiding redundant
invalidations of existing caches of the buffer contents.

14 years agoexamples: camerabin: Remove gstring leak
Lasse Laukkanen [Mon, 8 Nov 2010 13:33:58 +0000 (10:33 -0300)]
examples: camerabin: Remove gstring leak

Simplify gst-camerabin-test by removing GString and replacing
with gchar for the filename handling. Also removes a leak of
the GString data.

14 years agorsvgdec: avoid reffing the element in chain
Stefan Kost [Mon, 8 Nov 2010 14:00:21 +0000 (16:00 +0200)]
rsvgdec: avoid reffing the element in chain

14 years agorsvgdec: add some minimal logging to track what it is doing
Stefan Kost [Mon, 8 Nov 2010 13:45:48 +0000 (15:45 +0200)]
rsvgdec: add some minimal logging to track what it is doing

14 years agocelvideosrc: put planar first in template caps
Ole André Vadla Ravnås [Mon, 8 Nov 2010 12:52:49 +0000 (13:52 +0100)]
celvideosrc: put planar first in template caps

14 years agoapplemedia: improve vtenc/vtdec performance
Ole André Vadla Ravnås [Mon, 8 Nov 2010 12:49:04 +0000 (13:49 +0100)]
applemedia: improve vtenc/vtdec performance

Profiling of H.264 encode and decode revealed that conversions
between packed and planar were happening behind the scenes.

Hence we now choose I420 instead of YUY2.

14 years agoexamples: add async bus handler to gst-camerabin-test
Lasse Laukkanen [Fri, 22 Oct 2010 15:07:00 +0000 (18:07 +0300)]
examples: add async bus handler to gst-camerabin-test

Splits the bus handler into sync and async, keeping the
prepare-xwindow handling at the sync for faster handling and
moving the others to the async handler

14 years agoconfigure: we still require Gtk+ >= 2.14.0 when compiling against 2.0
Tim-Philipp Müller [Sat, 6 Nov 2010 12:27:32 +0000 (12:27 +0000)]
configure: we still require Gtk+ >= 2.14.0 when compiling against 2.0

The check for the minor version was dropped in one of the previous
commits.

14 years agocelvideosrc: measure fps when statistics is enabled
Ole André Vadla Ravnås [Fri, 5 Nov 2010 15:51:57 +0000 (16:51 +0100)]
celvideosrc: measure fps when statistics is enabled

Also refactor timestamping slightly.

14 years agocelvideosrc: update to new Celestial and MediaToolbox APIs
Ole André Vadla Ravnås [Fri, 5 Nov 2010 14:14:08 +0000 (15:14 +0100)]
celvideosrc: update to new Celestial and MediaToolbox APIs

This means celvideosrc is no longer compatible with iOS 3.x.

14 years agocelvideosrc: fix debug category description
Ole André Vadla Ravnås [Fri, 5 Nov 2010 14:08:56 +0000 (15:08 +0100)]
celvideosrc: fix debug category description

14 years agocelapi: update to reflect new API on iOS 4.x
Ole André Vadla Ravnås [Fri, 5 Nov 2010 14:08:02 +0000 (15:08 +0100)]
celapi: update to reflect new API on iOS 4.x

Also add remaining property constants for device and stream.

14 years agomtapi: update to reflect new API on iOS 4.x
Ole André Vadla Ravnås [Fri, 5 Nov 2010 14:07:38 +0000 (15:07 +0100)]
mtapi: update to reflect new API on iOS 4.x

Also add remaining property constants for device and stream.

14 years agocolorspace: Update generated ORC sources
Sebastian Dröge [Fri, 5 Nov 2010 09:56:51 +0000 (10:56 +0100)]
colorspace: Update generated ORC sources

14 years agocamerabin: Adds 'idle' property
Thiago Santos [Thu, 26 Aug 2010 20:08:19 +0000 (17:08 -0300)]
camerabin: Adds 'idle' property

Adds 'idle', a read-only boolean property that tells applications
if there is any capturing/saving/encoding going on in camerabin. If
not, it is safe to set it to NULL and release resources without
losing data.

14 years agocamerabin: Add "ready-for-capture" property
Lasse Laukkanen [Wed, 5 May 2010 10:58:07 +0000 (13:58 +0300)]
camerabin: Add "ready-for-capture" property

Add "ready-for-capture" property to indicate if preparing a new
capture is possible.

"ready-for-capture" changes before the 'image-done' signal, so
the application can be notified that it can do a new capture
even before the previous one has finished encoding/saving.

14 years agoconfigure: don't even check for Gtk+ if --disable-examples is specified
Tim-Philipp Müller [Fri, 5 Nov 2010 00:32:35 +0000 (00:32 +0000)]
configure: don't even check for Gtk+ if --disable-examples is specified

There are Gtk+-based examples in plugin dirs and tests/icles/ too, and
we want to disable those as well then.

14 years agoconfigure: add --with-gtk option and default to Gtk+ 2.0 while the 3.0 API is still...
Tim-Philipp Müller [Fri, 5 Nov 2010 00:24:31 +0000 (00:24 +0000)]
configure: add --with-gtk option and default to Gtk+ 2.0 while the 3.0 API is still in flux

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

14 years agotests: add very simple zbar unit test
Tim-Philipp Müller [Wed, 3 Nov 2010 00:04:27 +0000 (00:04 +0000)]
tests: add very simple zbar unit test

Not valgrind clean yet (could be zbar's fault though).

14 years agoapplemedia: make video source element details consistent
Ole André Vadla Ravnås [Thu, 4 Nov 2010 18:25:24 +0000 (19:25 +0100)]
applemedia: make video source element details consistent

Inspired by the v4l2src element details.

14 years agoapplemedia: consistently use gst_element_class_set_details_simple
Ole André Vadla Ravnås [Thu, 4 Nov 2010 18:11:04 +0000 (19:11 +0100)]
applemedia: consistently use gst_element_class_set_details_simple

14 years agocelvideosrc: update e-mail address
Ole André Vadla Ravnås [Thu, 4 Nov 2010 18:02:50 +0000 (19:02 +0100)]
celvideosrc: update e-mail address

14 years agoapplemedia: rename iphonecamerasrc to celvideosrc
Ole André Vadla Ravnås [Thu, 4 Nov 2010 17:59:44 +0000 (18:59 +0100)]
applemedia: rename iphonecamerasrc to celvideosrc

This is in order to improve consistency with the other three sources.

14 years agoavfvideosrc: don't explicitly empty the buffer queue
Ole André Vadla Ravnås [Thu, 4 Nov 2010 16:58:36 +0000 (17:58 +0100)]
avfvideosrc: don't explicitly empty the buffer queue

We're holding the only reference to it so there's no need to explicitly
empty it right before letting go of our reference.

14 years agoavfvideosrc: make buffer offset start from zero
Ole André Vadla Ravnås [Thu, 4 Nov 2010 16:50:33 +0000 (17:50 +0100)]
avfvideosrc: make buffer offset start from zero

14 years agoqtkitvideosrc: implement zero-copy by using buffer-factory
Ole André Vadla Ravnås [Thu, 4 Nov 2010 16:47:25 +0000 (17:47 +0100)]
qtkitvideosrc: implement zero-copy by using buffer-factory

This means we'll wrap each CoreVideo buffer inside a GstBuffer instead of
making a copy.

14 years agobufferfactory: add support for wrapping CVBuffer
Ole André Vadla Ravnås [Thu, 4 Nov 2010 16:44:12 +0000 (17:44 +0100)]
bufferfactory: add support for wrapping CVBuffer

14 years agoqtkitvideosrc: fix up refcounting
Ole André Vadla Ravnås [Thu, 4 Nov 2010 16:24:03 +0000 (17:24 +0100)]
qtkitvideosrc: fix up refcounting

Should keep a strong reference to the device, but we don't need to manage
the reference count of elements of an NSMutableArray as it takes care of
that for us.

14 years agoqtkitvideosrc: simplify timestamping algorithm
Ole André Vadla Ravnås [Thu, 4 Nov 2010 16:16:05 +0000 (17:16 +0100)]
qtkitvideosrc: simplify timestamping algorithm

Aligning timestamps on duration boundaries, skipping frames and so forth
are clearly things that fall outside the scope of a video source.