Edward Hervey [Thu, 25 Nov 2010 17:29:22 +0000 (18:29 +0100)]
celtenc: Remove dead assignment
Edward Hervey [Thu, 25 Nov 2010 17:26:21 +0000 (18:26 +0100)]
assrender: Remove dead assignments
Andoni Morales Alastruey [Thu, 25 Nov 2010 16:14:23 +0000 (17:14 +0100)]
audioparse: fix possible division-by-zero
https://bugzilla.gnome.org/show_bug.cgi?id=635786
Olivier Crête [Fri, 22 Oct 2010 23:56:04 +0000 (01:56 +0200)]
shm: Don't pass the ShmPipe to the function closing the shm area
Olivier Crête [Fri, 22 Oct 2010 23:22:43 +0000 (01:22 +0200)]
shm: Use the right counter when freeing buffers
Olivier Crête [Fri, 22 Oct 2010 23:12:49 +0000 (01:12 +0200)]
shmalloc: Manually decide to use GLib or not in the shmalloc
So make it easier for embedders to use it with or without Glib
Olivier Crête [Wed, 20 Oct 2010 20:49:59 +0000 (22:49 +0200)]
shm: Remove duplicated arguement
Olivier Crête [Wed, 20 Oct 2010 20:39:21 +0000 (22:39 +0200)]
shm: Fix socket leak on connect() error
Olivier Crête [Wed, 20 Oct 2010 20:28:13 +0000 (22:28 +0200)]
shm: sp_client_recv returns negative on error, so make the retval signed
Olivier Crête [Wed, 20 Oct 2010 20:17:30 +0000 (22:17 +0200)]
shm: Rename confusingly named variable
Olivier Crête [Wed, 20 Oct 2010 20:14:09 +0000 (22:14 +0200)]
shm: Change permissions on old shm areas too
Change the permissions on old shm areas
Olivier Crête [Wed, 20 Oct 2010 20:01:36 +0000 (22:01 +0200)]
shm: Use the macro for the last error too
Olivier Crête [Wed, 20 Oct 2010 19:52:31 +0000 (21:52 +0200)]
shm: Use "ablock" for all ShmAllocBlock variables
Use the ablock variable name for ShmAllocBlocks and block for
ShmBlock
Olivier Crête [Wed, 20 Oct 2010 19:52:24 +0000 (21:52 +0200)]
shm: Add more comments
Youness Alaoui [Wed, 20 Oct 2010 19:41:15 +0000 (21:41 +0200)]
shm: stylist improvements
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
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).
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.
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.
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.
Andoni Morales Alastruey [Mon, 22 Nov 2010 11:23:30 +0000 (12:23 +0100)]
mpegtsparse: Create a sub-buffer with the section length
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
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.
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
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
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.
Stefan Kost [Mon, 22 Nov 2010 15:06:05 +0000 (17:06 +0200)]
make: remove traces or moved/removed plugins
Stefan Kost [Mon, 22 Nov 2010 15:05:23 +0000 (17:05 +0200)]
make: add missinf trailing \ to fix the build
David Schleef [Mon, 22 Nov 2010 07:11:19 +0000 (23:11 -0800)]
colorspace: remove incorrect check
Mark Nauwelaerts [Fri, 19 Nov 2010 16:55:36 +0000 (17:55 +0100)]
qtmux: remove remnant of obsolete property
Mark Nauwelaerts [Fri, 19 Nov 2010 14:18:58 +0000 (15:18 +0100)]
tests: qtmux: also unit test fragmented file cases
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.
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>
Mark Nauwelaerts [Fri, 19 Nov 2010 18:17:45 +0000 (19:17 +0100)]
qtmux: enable default fragmented file for ismlmux
Marc-André Lureau [Thu, 2 Sep 2010 11:58:05 +0000 (13:58 +0200)]
qtmux: add ismlmux, for fragmented isml major brand
Mark Nauwelaerts [Fri, 19 Nov 2010 13:44:45 +0000 (14:44 +0100)]
qtmux: finalize sinkpads list
Marc-André Lureau [Thu, 22 Jul 2010 17:40:07 +0000 (19:40 +0200)]
qtmux: add moov in streamheader
Marc-André Lureau [Fri, 6 Aug 2010 11:26:27 +0000 (13:26 +0200)]
qtmux: add streamable property to avoid building fragmented mfra index
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>
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.
Mark Nauwelaerts [Mon, 15 Nov 2010 14:12:45 +0000 (15:12 +0100)]
qtmux: use helper to set atom flags from given uint
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>
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.
Mark Nauwelaerts [Tue, 9 Nov 2010 14:01:15 +0000 (15:01 +0100)]
qtmux: refactor slightly using buffer helper
Mark Nauwelaerts [Fri, 5 Nov 2010 12:48:57 +0000 (13:48 +0100)]
qtmux: fix misinforming comment
Mark Nauwelaerts [Fri, 5 Nov 2010 11:08:15 +0000 (12:08 +0100)]
qtmux: delegate mvex handling to atoms
... which keeps qtmux simpler.
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.
Marc-André Lureau [Mon, 28 Sep 2009 11:01:30 +0000 (13:01 +0200)]
qtmux: add a couple of fourcc for fragmented mp4
Mark Nauwelaerts [Fri, 5 Nov 2010 10:08:01 +0000 (11:08 +0100)]
qtmux: avoid removing temp file when error occurred
Marc-André Lureau [Wed, 30 Sep 2009 15:16:30 +0000 (17:16 +0200)]
qtmux: truncate buffer file after each send
Marc-André Lureau [Mon, 28 Sep 2009 14:53:51 +0000 (16:53 +0200)]
qtmux: remove temp file when reset/finalize
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
Alessandro Decina [Fri, 19 Nov 2010 17:51:32 +0000 (18:51 +0100)]
mpegtsparse: fix compiler warning
Andoni Morales Alastruey [Fri, 19 Nov 2010 17:26:59 +0000 (18:26 +0100)]
mpegtsparse: fix thinko
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.
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
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.
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
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
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
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
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
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.
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.
Mark Nauwelaerts [Tue, 16 Nov 2010 16:06:14 +0000 (17:06 +0100)]
baseparse: refactor frame scanning peformed by _loop
Mark Nauwelaerts [Tue, 16 Nov 2010 17:04:00 +0000 (18:04 +0100)]
baseparse: slightly optimize sending of pending newsegment events
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.
Mark Nauwelaerts [Wed, 17 Nov 2010 14:33:36 +0000 (15:33 +0100)]
aacparse: minor cleanups
Mark Nauwelaerts [Wed, 17 Nov 2010 14:24:37 +0000 (15:24 +0100)]
aacparse: fix regression in ADIF src caps setting
Mark Nauwelaerts [Tue, 16 Nov 2010 11:11:53 +0000 (12:11 +0100)]
flacparse: parse seektable
Fixes #631389 (partially).
Mark Nauwelaerts [Tue, 16 Nov 2010 11:08:54 +0000 (12:08 +0100)]
flacparse: minor refactor and enable default baseparse segment clipping
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.
Ole André Vadla Ravnås [Thu, 11 Nov 2010 22:41:44 +0000 (23:41 +0100)]
cmapi: cover CMBufferQueue's trigger API
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.
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.
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.
Ole André Vadla Ravnås [Wed, 10 Nov 2010 19:44:15 +0000 (20:44 +0100)]
celvideosrc: add basic device selection support
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.
Ole André Vadla Ravnås [Wed, 10 Nov 2010 19:25:28 +0000 (20:25 +0100)]
celapi: add capture port type constants
Mart Raudsepp [Tue, 9 Nov 2010 20:43:14 +0000 (22:43 +0200)]
assrender: Remove unused src_stride variable from blit functions
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
Mark Nauwelaerts [Tue, 9 Nov 2010 18:38:25 +0000 (19:38 +0100)]
mpegaudioparse: fix silly leak in _reset
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!
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.
Ole André Vadla Ravnås [Mon, 8 Nov 2010 17:56:52 +0000 (18:56 +0100)]
cvapi: add a few extra bits of wrapping
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.
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.
Stefan Kost [Mon, 8 Nov 2010 14:00:21 +0000 (16:00 +0200)]
rsvgdec: avoid reffing the element in chain
Stefan Kost [Mon, 8 Nov 2010 13:45:48 +0000 (15:45 +0200)]
rsvgdec: add some minimal logging to track what it is doing
Ole André Vadla Ravnås [Mon, 8 Nov 2010 12:52:49 +0000 (13:52 +0100)]
celvideosrc: put planar first in template caps
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.
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
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.
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.
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.
Ole André Vadla Ravnås [Fri, 5 Nov 2010 14:08:56 +0000 (15:08 +0100)]
celvideosrc: fix debug category description
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.
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.
Sebastian Dröge [Fri, 5 Nov 2010 09:56:51 +0000 (10:56 +0100)]
colorspace: Update generated ORC sources
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.