Sebastian Dröge [Mon, 23 Jul 2012 10:06:16 +0000 (12:06 +0200)]
videoencoder: Hold the stream lock when reconfiguring the element
Sebastian Dröge [Mon, 23 Jul 2012 10:01:12 +0000 (12:01 +0200)]
audio: Renegotiate if necessary
And also correct usage of the base class stream lock.
Sebastian Dröge [Mon, 23 Jul 2012 09:50:11 +0000 (11:50 +0200)]
video: Correct usage of the base class stream lock
And also renegotiate if the srcpad requires reconfiguration
Sebastian Dröge [Mon, 23 Jul 2012 09:42:22 +0000 (11:42 +0200)]
audiodecoder: Handle allocation query
Sebastian Dröge [Mon, 23 Jul 2012 08:30:40 +0000 (10:30 +0200)]
vorbis: Update for audio base classes API changes
Sebastian Dröge [Mon, 23 Jul 2012 08:28:47 +0000 (10:28 +0200)]
docs: Add new audio base classes API
Sebastian Dröge [Mon, 23 Jul 2012 08:28:05 +0000 (10:28 +0200)]
audiodecoder: Add propose_allocation, decide_allocation vfuncs and functions to allocate buffers with information from the allocation query results
Sebastian Dröge [Mon, 23 Jul 2012 08:20:05 +0000 (10:20 +0200)]
audioencoder: Add propose_allocation, decide_allocation vfuncs and functions to allocate buffers with information from the allocation query results
Sebastian Dröge [Mon, 23 Jul 2012 08:19:49 +0000 (10:19 +0200)]
docs: Update video base classes docs
Sebastian Dröge [Mon, 23 Jul 2012 08:19:16 +0000 (10:19 +0200)]
theora: Update for video base classes API changes
Sebastian Dröge [Mon, 23 Jul 2012 08:18:41 +0000 (10:18 +0200)]
video: Rename alloc_output_buffer() to allocate_output_buffer()
Sebastian Dröge [Mon, 23 Jul 2012 08:04:48 +0000 (10:04 +0200)]
videoencoder: Minor cleanup
Sebastian Dröge [Mon, 23 Jul 2012 07:54:50 +0000 (09:54 +0200)]
videoencoder: Fix parameters names in header
Sebastian Dröge [Mon, 23 Jul 2012 07:45:11 +0000 (09:45 +0200)]
theoraenc: Use base class functions to allocate output buffers
Sebastian Dröge [Mon, 23 Jul 2012 07:42:23 +0000 (09:42 +0200)]
docs: Add new videodecoder/encoder API
Sebastian Dröge [Mon, 23 Jul 2012 07:41:49 +0000 (09:41 +0200)]
win32: Update exported symbols list
Sebastian Dröge [Mon, 23 Jul 2012 07:07:02 +0000 (09:07 +0200)]
videoencoder: Add decide_allocation vfunc and functions to allocate buffers with the information from the allocation query
Sebastian Dröge [Mon, 23 Jul 2012 06:45:13 +0000 (08:45 +0200)]
Automatic update of common submodule
From 98e386f to 94ccf4c
Robert Swain [Sun, 15 Jul 2012 21:35:07 +0000 (23:35 +0200)]
docs: Update interlaced video docs
An interlaced buffer flag has been added and some other changes in
operation needed addressing since the last update to the document.
Tim-Philipp Müller [Mon, 2 Jul 2012 11:52:17 +0000 (12:52 +0100)]
tests: use multifdsink for streamheader test
Use multifdsink for pipes instead of multisocketsink,
to avoid "creating GSocket from fd 9: Socket operation
on non-socket "criticals from Gio. Test still fails,
but it fails in a different way now.
Wim Taymans [Fri, 20 Jul 2012 08:18:43 +0000 (10:18 +0200)]
video-frame: add interlace flag
Add an interlace flag so that we can see if a frame is interlaced or progressive
in the mixed interlace-mode.
Anton Belka [Thu, 19 Jul 2012 16:06:40 +0000 (19:06 +0300)]
riff: add "labl" tag
Add GST_RIFF_TAG_labl which is needed for wavparse:
https://bugzilla.gnome.org/show_bug.cgi?id=677306
Edward Hervey [Thu, 19 Jul 2012 14:12:22 +0000 (16:12 +0200)]
streamsynchronizer: Re-enable stream update
Not 100% perfect yet, but allows people to test
Tim-Philipp Müller [Thu, 19 Jul 2012 12:33:22 +0000 (13:33 +0100)]
video-overlay-composition: fix GSlice alloc/free size mismatch
Fix copy'n'paste bug which made us allocate a slice of the
size of a rectangle for the overlay composition, but then
free it passing the size of an overlay composition, which
is not something GSlice takes to kindly, resulting in scary
aborts like:
***MEMORY-ERROR***: GSlice: assertion failed: sinfo->n_allocated > 0
Also, g_slice_new already includes a cast, so remove our
own casts, without which the compiler would probably have
told us about this ages ago.
https://bugzilla.gnome.org/show_bug.cgi?id=680091
Wim Taymans [Thu, 19 Jul 2012 10:45:17 +0000 (12:45 +0200)]
playback-test: fix buffering query
It was using the wrong values from the buffering query.
Edward Hervey [Thu, 19 Jul 2012 08:54:07 +0000 (10:54 +0200)]
audiodecoder: Don't assert on pad caps not being set
The decoder might have been de-activated in the meantime (resulting
in NULL pad caps).
If the decoder really isn't configured, then it will error out further
down when checking whether the GST_AUDIO_INFO_IS_VALID()
https://bugzilla.gnome.org/show_bug.cgi?id=667562
Edward Hervey [Wed, 18 Jul 2012 13:35:05 +0000 (15:35 +0200)]
theoradec: Call video_decoder_negotiate() once configured
Edward Hervey [Wed, 18 Jul 2012 13:34:06 +0000 (15:34 +0200)]
videodecoder: Expose _negotiate function
This is to be called by decoders once they have set the output format
in order for (re)negotiation to be triggered as early as possible.
https://bugzilla.gnome.org/show_bug.cgi?id=679878
Edward Hervey [Wed, 18 Jul 2012 13:26:40 +0000 (15:26 +0200)]
oggdemux: Don't push stream-start in two different locations
Edward Hervey [Wed, 18 Jul 2012 13:24:00 +0000 (15:24 +0200)]
decodebin: Block on caps event
A caps event is also used to establish that a stream has prerolled.
Without this, we end up allowing negotiation queries to fail, ending
in decoders (and other elements) to not be configured right from the
start with the most optimal settings.
Wim Taymans [Wed, 18 Jul 2012 15:47:47 +0000 (17:47 +0200)]
playback: update for ghostpad changes
Wim Taymans [Wed, 18 Jul 2012 15:47:27 +0000 (17:47 +0200)]
tests: update for step event changes
Mark Nauwelaerts [Tue, 17 Jul 2012 11:47:02 +0000 (13:47 +0200)]
pango: adjust to modified video overlay composition API
Mark Nauwelaerts [Tue, 17 Jul 2012 11:46:43 +0000 (13:46 +0200)]
videooverlaycomposition: replace API parameters with required video meta on pixel data
Mark Nauwelaerts [Mon, 16 Jul 2012 14:25:15 +0000 (16:25 +0200)]
videooverlaycomposition: use GstVideoInfo internally and streamline stride handling
Mark Nauwelaerts [Mon, 16 Jul 2012 14:25:42 +0000 (16:25 +0200)]
videoblend: use correct stride when scaling
Wim Taymans [Tue, 17 Jul 2012 14:35:06 +0000 (16:35 +0200)]
rtp: Add support for multiple memory blocks in RTP
Add support RTP buffers with multiple memory blocks. We allow one block for the
header, one for the extension data, N for data and one memory block for the
padding.
Remove the validate function, we validate now when we map because we need to
parse things in order to map multiple memory blocks.
Wim Taymans [Tue, 17 Jul 2012 13:05:31 +0000 (15:05 +0200)]
win32: update
Tim-Philipp Müller [Tue, 17 Jul 2012 12:45:13 +0000 (13:45 +0100)]
playbin: use avdeinterlace for deinterlacing until deinterlace is ported
Evan Nemerson [Tue, 10 Jul 2012 19:12:02 +0000 (12:12 -0700)]
sdpmessage: add some missing introspection annotations
Evan Nemerson [Sat, 7 Jul 2012 06:42:13 +0000 (23:42 -0700)]
rtp: add many missing annotations on RTP/RTCP buffer functions
Evan Nemerson [Fri, 6 Jul 2012 08:09:06 +0000 (01:09 -0700)]
rtpbaseaudiopayload: add transfer annotation to get_adapter return
Evan Nemerson [Wed, 4 Jul 2012 22:38:38 +0000 (15:38 -0700)]
discoverer: minor GTK-Doc fixes
Evan Nemerson [Wed, 4 Jul 2012 21:04:45 +0000 (14:04 -0700)]
audiometa: add missing array array annotations
Evan Nemerson [Wed, 4 Jul 2012 21:00:14 +0000 (14:00 -0700)]
audio: add missing array and element-type annotations for binary data
Evan Nemerson [Wed, 4 Jul 2012 20:41:45 +0000 (13:41 -0700)]
audio-channels: add missing array-related annotations
Evan Nemerson [Wed, 4 Jul 2012 09:25:11 +0000 (02:25 -0700)]
audioencoder: add missing element-type to set_headers method
Evan Nemerson [Fri, 29 Jun 2012 22:52:23 +0000 (15:52 -0700)]
appsrc, appsink: fix documentation syntax and mismatched arguments
Tim-Philipp Müller [Mon, 16 Jul 2012 23:35:28 +0000 (00:35 +0100)]
tests: add videoconvert test that checks formats in template caps
Tim-Philipp Müller [Mon, 16 Jul 2012 23:31:57 +0000 (00:31 +0100)]
tests: no need to blacklist 64-bit formats in videoscale test any longer
Since we now use videoconvert, which supports these.
Unfortunately videoscale still crashes with 64-bit formats
right now because of a too small temp buffer, but I'm sure
someone is going to fix this real soon now, just like the
other unit tests.
Tim-Philipp Müller [Mon, 16 Jul 2012 23:31:14 +0000 (00:31 +0100)]
tests: add videoscale test to check pad template formats
Tim-Philipp Müller [Mon, 16 Jul 2012 22:56:56 +0000 (23:56 +0100)]
videoscale: remove formats Y800 and Y16 which no longer exist from template caps
Should help with the unit test, which has been failing.
Stefan Sauer [Mon, 16 Jul 2012 19:58:23 +0000 (21:58 +0200)]
audiovisualizer: shorten base class name
As suggested on IRC rename to AudioVisualizer. We use custom suffix on the type
to avoid clashing with other copies for the time being.
Stefan Sauer [Mon, 16 Jul 2012 07:27:58 +0000 (09:27 +0200)]
adder: add a tests for the aggregation of durations
Stefan Sauer [Mon, 16 Jul 2012 06:37:33 +0000 (08:37 +0200)]
adder: cleanup test
Use right type for StateChangeReturn and avoid needless G_OBJECT casts.
Stefan Sauer [Tue, 10 Jul 2012 06:13:02 +0000 (08:13 +0200)]
oggmux: only drop flushing seeks after we started to mux
Don't drop all seek events. It is okay to seek before we send the headers. Non
flushing seeks are okay at any time later as well.
Wim Taymans [Mon, 16 Jul 2012 09:18:54 +0000 (11:18 +0200)]
videoconvert: use video helper function
Use the video helper function to get the offset and scale of a format.
Wim Taymans [Mon, 16 Jul 2012 09:16:20 +0000 (11:16 +0200)]
videotestsrc: fix 10 bits formats
We need to check the number of bits of the unpack format when we prepare the
pixels for the pack function.
Tim-Philipp Müller [Sat, 14 Jul 2012 23:22:38 +0000 (00:22 +0100)]
riff: use GST_TAG_DATE_TIME instead of GST_TAG_DATE here as well
Tim-Philipp Müller [Sat, 14 Jul 2012 23:14:36 +0000 (00:14 +0100)]
tag: use GST_TAG_DATE_TIME for storing dates instead of GST_TAG_DATE
So we can express partial dates.
Tim-Philipp Müller [Sat, 14 Jul 2012 14:37:46 +0000 (15:37 +0100)]
tag: extract dates from ID3v2 tags into GstDateTime instead of GDate
We may only have a year, or year and month+day, or (in future)
both date and time.
Tim-Philipp Müller [Sat, 14 Jul 2012 13:33:34 +0000 (14:33 +0100)]
tag: extract year from ID3v1 tag as GstDateTime instead of GDate
So we can signal properly that only the year is valid.
Wim Taymans [Fri, 13 Jul 2012 15:13:10 +0000 (17:13 +0200)]
video: add method to get offset and scale for a format
Add a method to get the offset and scale values to transform the color values of
a format to their normalized [0.0 .. 1.0] range. This is usually required as
the first step of a colorspace conversion.
Wim Taymans [Fri, 13 Jul 2012 13:42:26 +0000 (15:42 +0200)]
video: add option to unpack and truncate the range
Add an unpack option to specify what to do with the least significant bits of
the destination when the source format has less bits than the destination. By
default we will now copy the most significant bits of the source into the least
significant bits of the destination so that the full color range is represented.
Add an option to leave the extra destination bits 0, which may be faster and
could be compensated for in the element algorithm.
Wim Taymans [Fri, 13 Jul 2012 13:35:27 +0000 (15:35 +0200)]
video: fix endianness of the pack formats
Wim Taymans [Fri, 13 Jul 2012 13:22:57 +0000 (15:22 +0200)]
video: fix r210 format
It is an RGB format.
Wim Taymans [Fri, 13 Jul 2012 10:34:42 +0000 (12:34 +0200)]
playsink: remove old marshal remains
Edward Hervey [Wed, 20 Jun 2012 08:35:04 +0000 (10:35 +0200)]
video-blend: Fix argument signedness
The x/y values are meant to be signed.
This bug was introduced by
76c0881549e73efb4995ac8b38d596d51d1cc0fe
Conflicts:
gst-libs/gst/video/video-blend.c
gst-libs/gst/video/video-blend.h
Edward Hervey [Fri, 13 Jul 2012 10:11:06 +0000 (12:11 +0200)]
libs: Remove "Since" markers and minor doc fixups
Edward Hervey [Fri, 13 Jul 2012 10:10:01 +0000 (12:10 +0200)]
tagdemux: Push a STREAM_START on new caps
Edward Hervey [Wed, 11 Jul 2012 08:31:09 +0000 (10:31 +0200)]
decodebin2: Demote WARNING to DEBUG
Delaying auto-plugging is quite common
Edward Hervey [Tue, 10 Jul 2012 16:37:49 +0000 (18:37 +0200)]
oggdemux: Push out STREAM_START events when needed
Edward Hervey [Tue, 10 Jul 2012 16:34:41 +0000 (18:34 +0200)]
playback: Remove custom stream-change event
Applications can now use the STREAM_START message to know if a new
stream has started
Edward Hervey [Tue, 10 Jul 2012 16:32:13 +0000 (18:32 +0200)]
baseaudiosink: Resync when ringbuffer resets
When the ringbuffer gets restarted (like in setcaps), we *will* have
to resync against the new values.
Without this we end up blindly assuming the new samples align to the
old ones.
Wim Taymans [Wed, 11 Jul 2012 13:39:24 +0000 (15:39 +0200)]
decodebin2: improve debug
Sebastian Dröge [Wed, 11 Jul 2012 10:57:28 +0000 (12:57 +0200)]
videoconvert: Fix compiler warnings
videoconvert.c: In function 'videoconvert_convert_new':
videoconvert.c:287:11: error: 'Kr' may be used uninitialized in this function
videoconvert.c:287:15: error: 'Kb' may be used uninitialized in this function
Edward Hervey [Tue, 10 Jul 2012 10:37:14 +0000 (12:37 +0200)]
win32: Update .def files for new API
Ognyan Tonchev [Tue, 10 Jul 2012 09:34:47 +0000 (11:34 +0200)]
rtsp: Update the initial_buffer when merging RTSP Connections
See https://bugzilla.gnome.org/show_bug.cgi?id=679337
Wim Taymans [Tue, 10 Jul 2012 09:06:02 +0000 (11:06 +0200)]
videoconvert: fix offset and scale for GRAY
Fix the calculation of the offset and scale values for GRAY formats. We also
need to set the offset and base of the chroma values to match what the unpack
function creates.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=679612
Wim Taymans [Tue, 10 Jul 2012 08:07:08 +0000 (10:07 +0200)]
visual: use right base class name
Rename to GstAudioBaseVisualizer. Also avoids conflict with a base class with
the same name in -bad.
Stefan Sauer [Mon, 9 Jul 2012 17:57:50 +0000 (19:57 +0200)]
tests: use more expressive check assertion macros
Stefan Sauer [Sun, 8 Jul 2012 17:19:38 +0000 (19:19 +0200)]
visual: port to baseaudiovisualizer
Add a copy of the base class until it is stable. Right now the extra effects of
the baseclass are not supported as the sublass overwrites the buffer instead of
blending.
Stefan Sauer [Mon, 25 Jun 2012 20:42:44 +0000 (22:42 +0200)]
visual: split the plugin wrapper and the actual element
Wim Taymans [Mon, 9 Jul 2012 14:26:17 +0000 (16:26 +0200)]
fix for allocator API changes
Tim-Philipp Müller [Mon, 9 Jul 2012 13:37:11 +0000 (14:37 +0100)]
tests: update GstVideoFilter structure size for ABI check on x86
Mark Nauwelaerts [Mon, 9 Jul 2012 10:27:22 +0000 (12:27 +0200)]
riff: rename field in gst_riff_strf_auds
... which is supposed to align with WAVEFORMATEX, but has confusing
names compared to the last 2 fields in the latter (and still
misses 1 field compared to the latter).
Tim-Philipp Müller [Mon, 9 Jul 2012 07:35:22 +0000 (08:35 +0100)]
decodebin: make GValueArray arguments in autoplug-* signals static scope to avoid copies
Anton Belka [Sat, 7 Jul 2012 11:10:45 +0000 (14:10 +0300)]
gst-discoverer: clean up some code duplication
Use print_tag_foreach() instead of print_tag().
https://bugzilla.gnome.org/show_bug.cgi?id=679550
Mark Nauwelaerts [Fri, 6 Jul 2012 12:57:51 +0000 (14:57 +0200)]
riff: fixup 0.11 port mishap in reading extra data length field
Fixes #679437.
Tim-Philipp Müller [Fri, 6 Jul 2012 11:43:26 +0000 (12:43 +0100)]
multifdsink: remove deprecated and unused "mode" property
Tim-Philipp Müller [Fri, 6 Jul 2012 11:37:56 +0000 (12:37 +0100)]
playbin: don't use deprecated textoverlay properties
Tim-Philipp Müller [Fri, 6 Jul 2012 11:34:46 +0000 (12:34 +0100)]
pango: remove deprecated valign and halign properties
Replaced by valignment and halignment (enum-based now rather than strings).
Wim Taymans [Fri, 6 Jul 2012 09:50:44 +0000 (11:50 +0200)]
update for query api changes
Wim Taymans [Fri, 6 Jul 2012 09:23:48 +0000 (11:23 +0200)]
update for query api changes
Wim Taymans [Fri, 6 Jul 2012 09:01:56 +0000 (11:01 +0200)]
update for allocation query changes
Mark Nauwelaerts [Thu, 5 Jul 2012 14:29:42 +0000 (16:29 +0200)]
Revert "videooverlaycomposition: ensure proper buffer copy"
This reverts commit
1d413ace640c679ba7fbecec07f2bea3d98360b2.
Plain gst_buffer_copy() is now doing the expected ...
See https://bugzilla.gnome.org/show_bug.cgi?id=678384.
Sebastian Dröge [Thu, 5 Jul 2012 13:34:44 +0000 (15:34 +0200)]
uridecodebin: Fix double-unref when iterating over element pads
Sebastian Dröge [Thu, 5 Jul 2012 12:29:42 +0000 (14:29 +0200)]
video: Document buffer ownership of the GstVideoCodecFrame more explicit
And also the implications of calling the finish() functions.
Sebastian Dröge [Thu, 5 Jul 2012 11:38:48 +0000 (13:38 +0200)]
videodecoder: Make sure the buffer is writable before changing fields in finish_frame() too
We can't be sure that we have the one and only reference here either.
Sebastian Dröge [Thu, 5 Jul 2012 11:37:37 +0000 (13:37 +0200)]
videodecoder: Create a complete subbuffer before pushing
Otherwise we can't be sure that we are allowed to change the
buffer fields later for clipping.