platform/upstream/gstreamer.git
12 years agovideoencoder: Hold the stream lock when reconfiguring the element
Sebastian Dröge [Mon, 23 Jul 2012 10:06:16 +0000 (12:06 +0200)]
videoencoder: Hold the stream lock when reconfiguring the element

12 years agoaudio: Renegotiate if necessary
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.

12 years agovideo: 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

12 years agoaudiodecoder: Handle allocation query
Sebastian Dröge [Mon, 23 Jul 2012 09:42:22 +0000 (11:42 +0200)]
audiodecoder: Handle allocation query

12 years agovorbis: Update for audio base classes API changes
Sebastian Dröge [Mon, 23 Jul 2012 08:30:40 +0000 (10:30 +0200)]
vorbis: Update for audio base classes API changes

12 years agodocs: Add new audio base classes API
Sebastian Dröge [Mon, 23 Jul 2012 08:28:47 +0000 (10:28 +0200)]
docs: Add new audio base classes API

12 years agoaudiodecoder: Add propose_allocation, decide_allocation vfuncs and functions to alloc...
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

12 years agoaudioencoder: Add propose_allocation, decide_allocation vfuncs and functions to alloc...
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

12 years agodocs: Update video base classes docs
Sebastian Dröge [Mon, 23 Jul 2012 08:19:49 +0000 (10:19 +0200)]
docs: Update video base classes docs

12 years agotheora: Update for video base classes API changes
Sebastian Dröge [Mon, 23 Jul 2012 08:19:16 +0000 (10:19 +0200)]
theora: Update for video base classes API changes

12 years agovideo: Rename alloc_output_buffer() to allocate_output_buffer()
Sebastian Dröge [Mon, 23 Jul 2012 08:18:41 +0000 (10:18 +0200)]
video: Rename alloc_output_buffer() to allocate_output_buffer()

12 years agovideoencoder: Minor cleanup
Sebastian Dröge [Mon, 23 Jul 2012 08:04:48 +0000 (10:04 +0200)]
videoencoder: Minor cleanup

12 years agovideoencoder: Fix parameters names in header
Sebastian Dröge [Mon, 23 Jul 2012 07:54:50 +0000 (09:54 +0200)]
videoencoder: Fix parameters names in header

12 years agotheoraenc: Use base class functions to allocate output buffers
Sebastian Dröge [Mon, 23 Jul 2012 07:45:11 +0000 (09:45 +0200)]
theoraenc: Use base class functions to allocate output buffers

12 years agodocs: Add new videodecoder/encoder API
Sebastian Dröge [Mon, 23 Jul 2012 07:42:23 +0000 (09:42 +0200)]
docs: Add new videodecoder/encoder API

12 years agowin32: Update exported symbols list
Sebastian Dröge [Mon, 23 Jul 2012 07:41:49 +0000 (09:41 +0200)]
win32: Update exported symbols list

12 years agovideoencoder: Add decide_allocation vfunc and functions to allocate buffers with...
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

12 years agoAutomatic update of common submodule
Sebastian Dröge [Mon, 23 Jul 2012 06:45:13 +0000 (08:45 +0200)]
Automatic update of common submodule

From 98e386f to 94ccf4c

12 years agodocs: Update interlaced video docs
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.

12 years agotests: use multifdsink for streamheader test
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.

12 years agovideo-frame: add interlace flag
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.

12 years agoriff: add "labl" tag
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

12 years agostreamsynchronizer: Re-enable stream update
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

12 years agovideo-overlay-composition: fix GSlice alloc/free size mismatch
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

12 years agoplayback-test: fix buffering query
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.

12 years agoaudiodecoder: Don't assert on pad caps not being set
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

12 years agotheoradec: Call video_decoder_negotiate() once configured
Edward Hervey [Wed, 18 Jul 2012 13:35:05 +0000 (15:35 +0200)]
theoradec: Call video_decoder_negotiate() once configured

12 years agovideodecoder: Expose _negotiate function
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

12 years agooggdemux: Don't push stream-start in two different locations
Edward Hervey [Wed, 18 Jul 2012 13:26:40 +0000 (15:26 +0200)]
oggdemux: Don't push stream-start in two different locations

12 years agodecodebin: Block on caps event
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.

12 years agoplayback: update for ghostpad changes
Wim Taymans [Wed, 18 Jul 2012 15:47:47 +0000 (17:47 +0200)]
playback: update for ghostpad changes

12 years agotests: update for step event changes
Wim Taymans [Wed, 18 Jul 2012 15:47:27 +0000 (17:47 +0200)]
tests: update for step event changes

12 years agopango: adjust to modified video overlay composition API
Mark Nauwelaerts [Tue, 17 Jul 2012 11:47:02 +0000 (13:47 +0200)]
pango: adjust to modified video overlay composition API

12 years agovideooverlaycomposition: replace API parameters with required video meta on pixel...
Mark Nauwelaerts [Tue, 17 Jul 2012 11:46:43 +0000 (13:46 +0200)]
videooverlaycomposition: replace API parameters with required video meta on pixel data

12 years agovideooverlaycomposition: use GstVideoInfo internally and streamline stride handling
Mark Nauwelaerts [Mon, 16 Jul 2012 14:25:15 +0000 (16:25 +0200)]
videooverlaycomposition: use GstVideoInfo internally and streamline stride handling

12 years agovideoblend: use correct stride when scaling
Mark Nauwelaerts [Mon, 16 Jul 2012 14:25:42 +0000 (16:25 +0200)]
videoblend: use correct stride when scaling

12 years agortp: Add support for multiple memory blocks in RTP
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.

12 years agowin32: update
Wim Taymans [Tue, 17 Jul 2012 13:05:31 +0000 (15:05 +0200)]
win32: update

12 years agoplaybin: use avdeinterlace for deinterlacing until deinterlace is ported
Tim-Philipp Müller [Tue, 17 Jul 2012 12:45:13 +0000 (13:45 +0100)]
playbin: use avdeinterlace for deinterlacing until deinterlace is ported

12 years agosdpmessage: add some missing introspection annotations
Evan Nemerson [Tue, 10 Jul 2012 19:12:02 +0000 (12:12 -0700)]
sdpmessage: add some missing introspection annotations

12 years agortp: add many missing annotations on RTP/RTCP buffer functions
Evan Nemerson [Sat, 7 Jul 2012 06:42:13 +0000 (23:42 -0700)]
rtp: add many missing annotations on RTP/RTCP buffer functions

12 years agortpbaseaudiopayload: add transfer annotation to get_adapter return
Evan Nemerson [Fri, 6 Jul 2012 08:09:06 +0000 (01:09 -0700)]
rtpbaseaudiopayload: add transfer annotation to get_adapter return

12 years agodiscoverer: minor GTK-Doc fixes
Evan Nemerson [Wed, 4 Jul 2012 22:38:38 +0000 (15:38 -0700)]
discoverer: minor GTK-Doc fixes

12 years agoaudiometa: add missing array array annotations
Evan Nemerson [Wed, 4 Jul 2012 21:04:45 +0000 (14:04 -0700)]
audiometa: add missing array array annotations

12 years agoaudio: add missing array and element-type annotations for binary data
Evan Nemerson [Wed, 4 Jul 2012 21:00:14 +0000 (14:00 -0700)]
audio: add missing array and element-type annotations for binary data

12 years agoaudio-channels: add missing array-related annotations
Evan Nemerson [Wed, 4 Jul 2012 20:41:45 +0000 (13:41 -0700)]
audio-channels: add missing array-related annotations

12 years agoaudioencoder: add missing element-type to set_headers method
Evan Nemerson [Wed, 4 Jul 2012 09:25:11 +0000 (02:25 -0700)]
audioencoder: add missing element-type to set_headers method

12 years agoappsrc, appsink: fix documentation syntax and mismatched arguments
Evan Nemerson [Fri, 29 Jun 2012 22:52:23 +0000 (15:52 -0700)]
appsrc, appsink: fix documentation syntax and mismatched arguments

12 years agotests: add videoconvert test that checks formats in template caps
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

12 years agotests: no need to blacklist 64-bit formats in videoscale test any longer
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.

12 years agotests: add videoscale test to check pad template formats
Tim-Philipp Müller [Mon, 16 Jul 2012 23:31:14 +0000 (00:31 +0100)]
tests: add videoscale test to check pad template formats

12 years agovideoscale: remove formats Y800 and Y16 which no longer exist from template caps
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.

12 years agoaudiovisualizer: shorten base class name
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.

12 years agoadder: add a tests for the aggregation of durations
Stefan Sauer [Mon, 16 Jul 2012 07:27:58 +0000 (09:27 +0200)]
adder: add a tests for the aggregation of durations

12 years agoadder: cleanup test
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.

12 years agooggmux: only drop flushing seeks after we started to mux
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.

12 years agovideoconvert: use video helper function
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.

12 years agovideotestsrc: fix 10 bits formats
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.

12 years agoriff: use GST_TAG_DATE_TIME instead of GST_TAG_DATE here as well
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

12 years agotag: use GST_TAG_DATE_TIME for storing dates instead of GST_TAG_DATE
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.

12 years agotag: extract dates from ID3v2 tags into GstDateTime instead of GDate
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.

12 years agotag: extract year from ID3v1 tag as GstDateTime instead of GDate
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.

12 years agovideo: add method to get offset and scale for a format
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.

12 years agovideo: add option to unpack and truncate the range
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.

12 years agovideo: fix endianness of the pack formats
Wim Taymans [Fri, 13 Jul 2012 13:35:27 +0000 (15:35 +0200)]
video: fix endianness of the pack formats

12 years agovideo: fix r210 format
Wim Taymans [Fri, 13 Jul 2012 13:22:57 +0000 (15:22 +0200)]
video: fix r210 format

It is an RGB format.

12 years agoplaysink: remove old marshal remains
Wim Taymans [Fri, 13 Jul 2012 10:34:42 +0000 (12:34 +0200)]
playsink: remove old marshal remains

12 years agovideo-blend: Fix argument signedness
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

12 years agolibs: Remove "Since" markers and minor doc fixups
Edward Hervey [Fri, 13 Jul 2012 10:11:06 +0000 (12:11 +0200)]
libs: Remove "Since" markers and minor doc fixups

12 years agotagdemux: Push a STREAM_START on new caps
Edward Hervey [Fri, 13 Jul 2012 10:10:01 +0000 (12:10 +0200)]
tagdemux: Push a STREAM_START on new caps

12 years agodecodebin2: Demote WARNING to DEBUG
Edward Hervey [Wed, 11 Jul 2012 08:31:09 +0000 (10:31 +0200)]
decodebin2: Demote WARNING to DEBUG

Delaying auto-plugging is quite common

12 years agooggdemux: Push out STREAM_START events when needed
Edward Hervey [Tue, 10 Jul 2012 16:37:49 +0000 (18:37 +0200)]
oggdemux: Push out STREAM_START events when needed

12 years agoplayback: Remove custom stream-change event
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

12 years agobaseaudiosink: Resync when ringbuffer resets
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.

12 years agodecodebin2: improve debug
Wim Taymans [Wed, 11 Jul 2012 13:39:24 +0000 (15:39 +0200)]
decodebin2: improve debug

12 years agovideoconvert: Fix compiler warnings
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

12 years agowin32: Update .def files for new API
Edward Hervey [Tue, 10 Jul 2012 10:37:14 +0000 (12:37 +0200)]
win32: Update .def files for new API

12 years agortsp: Update the initial_buffer when merging RTSP Connections
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

12 years agovideoconvert: fix offset and scale for GRAY
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

12 years agovisual: use right base class name
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.

12 years agotests: use more expressive check assertion macros
Stefan Sauer [Mon, 9 Jul 2012 17:57:50 +0000 (19:57 +0200)]
tests: use more expressive check assertion macros

12 years agovisual: port to baseaudiovisualizer
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.

12 years agovisual: split the plugin wrapper and the actual element
Stefan Sauer [Mon, 25 Jun 2012 20:42:44 +0000 (22:42 +0200)]
visual: split the plugin wrapper and the actual element

12 years agofix for allocator API changes
Wim Taymans [Mon, 9 Jul 2012 14:26:17 +0000 (16:26 +0200)]
fix for allocator API changes

12 years agotests: update GstVideoFilter structure size for ABI check on x86
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

12 years agoriff: rename field in gst_riff_strf_auds
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).

12 years agodecodebin: make GValueArray arguments in autoplug-* signals static scope to avoid...
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

12 years agogst-discoverer: clean up some code duplication
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

12 years agoriff: fixup 0.11 port mishap in reading extra data length field
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.

12 years agomultifdsink: remove deprecated and unused "mode" property
Tim-Philipp Müller [Fri, 6 Jul 2012 11:43:26 +0000 (12:43 +0100)]
multifdsink: remove deprecated and unused "mode" property

12 years agoplaybin: don't use deprecated textoverlay properties
Tim-Philipp Müller [Fri, 6 Jul 2012 11:37:56 +0000 (12:37 +0100)]
playbin: don't use deprecated textoverlay properties

12 years agopango: remove deprecated valign and halign 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).

12 years agoupdate for query api changes
Wim Taymans [Fri, 6 Jul 2012 09:50:44 +0000 (11:50 +0200)]
update for query api changes

12 years agoupdate for query api changes
Wim Taymans [Fri, 6 Jul 2012 09:23:48 +0000 (11:23 +0200)]
update for query api changes

12 years agoupdate for allocation query changes
Wim Taymans [Fri, 6 Jul 2012 09:01:56 +0000 (11:01 +0200)]
update for allocation query changes

12 years agoRevert "videooverlaycomposition: ensure proper buffer copy"
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.

12 years agouridecodebin: Fix double-unref when iterating over element pads
Sebastian Dröge [Thu, 5 Jul 2012 13:34:44 +0000 (15:34 +0200)]
uridecodebin: Fix double-unref when iterating over element pads

12 years agovideo: Document buffer ownership of the GstVideoCodecFrame more explicit
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.

12 years agovideodecoder: Make sure the buffer is writable before changing fields in finish_frame...
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.

12 years agovideodecoder: Create a complete subbuffer before pushing
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.