Anton Belka [Mon, 25 Mar 2013 10:41:13 +0000 (13:41 +0300)]
riff: add "note" tag
Add GST_RIFF_TAG_note for wavparse.
https://bugzilla.gnome.org/show_bug.cgi?id=696549
https://bugzilla.gnome.org/show_bug.cgi?id=696550
Paul HENRYS [Fri, 22 Mar 2013 12:41:17 +0000 (13:41 +0100)]
audiobasesrc: Fix ringbuffer handling when settings caps
ringbuffer was released after setting values to its spec field
in gst_audio_base_src_setcaps(). This led to failure in case
gst_audio_base_src_setcaps() is called more than one time.
https://bugzilla.gnome.org/show_bug.cgi?id=696540
Wim Taymans [Mon, 25 Mar 2013 08:59:45 +0000 (09:59 +0100)]
video: set interlaced flag correctly in frame
We only look at the interlaced buffer flag in mixed mode, in other modes we
always need to set the interlaced flag.
Simon Berg [Sun, 24 Mar 2013 20:44:58 +0000 (20:44 +0000)]
audiotestsrc: fix rounding errors that might cause segments to be one sample too short
https://bugzilla.gnome.org/show_bug.cgi?id=676884
Simon Berg [Sun, 24 Mar 2013 20:41:44 +0000 (20:41 +0000)]
audiotestsrc: fix buffer size of last buffer
The last buffer before EOS may be smaller than the maximum
size. The current code doesn't adjust for this, it only sets
the duration and offsets.
https://bugzilla.gnome.org/show_bug.cgi?id=696411
Wim Taymans [Sat, 23 Mar 2013 23:39:01 +0000 (00:39 +0100)]
video-format: add small comment
Wim Taymans [Sat, 23 Mar 2013 23:38:22 +0000 (00:38 +0100)]
videoconvert: avoid double free
Set variable to NULL after free so that we don't free twice.
Wim Taymans [Sat, 23 Mar 2013 23:21:36 +0000 (00:21 +0100)]
Revert "videoconvert: prevent bad interlaced conversions"
This reverts commit
adc9694ed70870549fc8f4a6257f3b132ea31733.
No need to restrict the conversion, we can handle interlace correctly. We
basically unpack each field, then convert each field to the target colorspace
and pack and interleave each field to the target format. We also disable any
fast path that can't deal with interlaced formats.
David Schleef [Fri, 8 Mar 2013 22:49:31 +0000 (14:49 -0800)]
videoconvert: prevent bad interlaced conversions
Don't allow conversion that changes vertical subsampling if video
is interlaced.
Arnaud Vrac [Thu, 14 Feb 2013 00:35:45 +0000 (01:35 +0100)]
subparse: fix off by one offset calculation
Do not use the buffer start offset when it is invalid, otherwise a
discontinuity is detected on the next buffer, and the subtitle parser
reset and some subtitle lines are not shown.
Also remove unused next_offset field.
https://bugzilla.gnome.org/show_bug.cgi?id=693981
Tim-Philipp Müller [Fri, 22 Mar 2013 10:47:47 +0000 (10:47 +0000)]
Require Orc >= 0.4.17
Orc 0.4.17 fixes a bunch crashes on i386 and RPi when orc
functions can't be compiled and the fallback function is
supposed to be used. Also fixes some issues on PowerPC.
https://bugzilla.gnome.org/show_bug.cgi?id=684399
https://bugzilla.gnome.org/show_bug.cgi?id=693862
Tim-Philipp Müller [Fri, 22 Mar 2013 09:35:21 +0000 (09:35 +0000)]
typefinding: fix y4m caps
We need to specify the y4mversion field now.
https://bugzilla.gnome.org/show_bug.cgi?id=696282
Sebastian Dröge [Thu, 21 Mar 2013 14:37:31 +0000 (15:37 +0100)]
subtitleoverlay: Return ANY caps for the GET_CAPS query
subtitleoverlay handles any caps, not just the ones
for which a subtitle parser/renderer exist. It will
just ignore any unsupported streams instead of causing
an error.
https://bugzilla.gnome.org/show_bug.cgi?id=688476
Sebastian Dröge [Thu, 21 Mar 2013 12:33:44 +0000 (13:33 +0100)]
playsinkconvertbin: Make sure to return all allowed caps in the GET_CAPS query
Add all the caps that we can convert to to the filter caps,
otherwise downstream might just return EMPTY caps because
it doesn't handle the filter caps but we could still convert
to these caps, causing us to return EMPTY caps although
conversion would be possible.
https://bugzilla.gnome.org/show_bug.cgi?id=688803
Sebastian Dröge [Thu, 21 Mar 2013 12:29:06 +0000 (13:29 +0100)]
ximagesink: Don't access structures of EMPTY caps
If the intersection between our caps and the filter caps is
empty, just immediately return EMPTY caps instead of trying
to access the (non-existant) structures.
Sebastian Dröge [Thu, 21 Mar 2013 10:42:43 +0000 (11:42 +0100)]
playsinkconvertbin: Use gst_caps_is_subset() for handling the ACCEPT_CAPS query
Sebastian Dröge [Thu, 21 Mar 2013 10:14:27 +0000 (11:14 +0100)]
videoscale: Let the add-borders property default to TRUE
It's undesirable most of the time that the display aspect ratio
is changed.
Jan Schole [Wed, 20 Mar 2013 18:34:06 +0000 (19:34 +0100)]
videoscale: Correct DAR and border calculations
changed: gst_video_scale_set_info in gst/videoscale/gstvideoscale.c
DAR on sink side now calculated with PAR on sink side
ratio of output width/height now calculated with inverse PAR
additional condition that borders are 0:0 for passthrough mode
https://bugzilla.gnome.org/show_bug.cgi?id=696019
Wim Taymans [Fri, 15 Mar 2013 09:07:55 +0000 (10:07 +0100)]
playback-test: wait for buffering after seek
Wait for buffering to finish before setting the element to the playing state
after a seek.
Marc Leeman [Thu, 14 Mar 2013 09:58:11 +0000 (10:58 +0100)]
audioringbuffer: avoid division by 0 when outputting debug info
https://bugzilla.gnome.org/show_bug.cgi?id=695832
Wim Taymans [Thu, 14 Mar 2013 14:46:59 +0000 (15:46 +0100)]
xvimagesink: configure colorimetry
Use the XV_ITURBT_709 attribute to configure the 601 or 709 matrix
depending on the color matrix of the input video frame.
Wim Taymans [Thu, 14 Mar 2013 14:44:53 +0000 (15:44 +0100)]
xvcontext: protect X call with lock
Wim Taymans [Wed, 13 Mar 2013 10:13:58 +0000 (11:13 +0100)]
xvimagesink: use xvcontext for allocation
Make a new refcounted xvcontext object that handles the X connection.
Use the xvcontext to allocate images and windows. Move some code
around so that all X calls are made from the xvcontext object.
Make a GstXvImageAllocator object that allocates images from the xvcontext. We
can implement a copy function now for these memory objects now.
Make the bufferpool use the xvimageallocator object for its images.
Tim-Philipp Müller [Wed, 13 Mar 2013 01:00:45 +0000 (01:00 +0000)]
tests: fix appsrc unit test spam
spam 1 spam 2 spam 3 spam 4 spam 5
Greg Rutz [Tue, 12 Mar 2013 03:55:28 +0000 (21:55 -0600)]
libvisual: fix improper video frame clear operation
The current code is memsetting the GstVideoFrame.data address to 0s (which
causes a segfault). This member is actually an array of data buffers (one for
each plane). This fix iterates over each data plane to clear them all.
https://bugzilla.gnome.org/show_bug.cgi?id=695655
Nicola Murino [Tue, 12 Mar 2013 09:32:44 +0000 (10:32 +0100)]
appsrc: fix deadlock setting pipeline in NULL state with block=true
Emanuele Aina [Mon, 11 Mar 2013 21:33:04 +0000 (22:33 +0100)]
build: Link libgstrtsp-1.0.so to libm for pow()
https://bugzilla.gnome.org/show_bug.cgi?id=695658
Víctor Manuel Jáquez Leal [Mon, 11 Mar 2013 22:46:19 +0000 (23:46 +0100)]
appsink: update the emit-signal description
Update the emit-signal description according to its current signals.
https://bugzilla.gnome.org/show_bug.cgi?id=695660
Stefan Sauer [Mon, 11 Mar 2013 21:46:45 +0000 (22:46 +0100)]
adder: add a missing break
Dirk Van Haerenborgh [Sun, 10 Mar 2013 08:07:17 +0000 (09:07 +0100)]
riff: never create caps with negative height
https://bugzilla.gnome.org/show_bug.cgi?id=695540
Wim Taymans [Mon, 11 Mar 2013 09:49:58 +0000 (10:49 +0100)]
defs: add new methods
Olivier Crête [Fri, 22 Feb 2013 18:32:21 +0000 (13:32 -0500)]
rtsprange: Add function to convert a range between formats
Also add unit tests.
Olivier Crête [Fri, 22 Feb 2013 18:26:03 +0000 (13:26 -0500)]
rtsprange: Make _to_string() be more in line with RFC 2326
Fix various nits to make it more in line with the RFC, also add unit tests.
Olivier Crête [Fri, 22 Feb 2013 18:20:21 +0000 (13:20 -0500)]
rtsprange: Avoid going through fractions for large numbers
If the number of seconds exceeds 2^31, then it will be truncated if the
conversion is done using fractions, so multiply it directly.
Olivier Crête [Fri, 22 Feb 2013 18:18:10 +0000 (13:18 -0500)]
rtsprange: Fix conversion from UTC to GstClockTime
Do the difference in the right direction.
Olivier Crête [Tue, 19 Feb 2013 00:49:07 +0000 (19:49 -0500)]
rtspconnection: Add API to disable session ID caching in the connection
This is necessary to allow having more than one session in the same connection.
API: gst_rtsp_connection_set_remember_session_id()
API: gst_rtsp_connection_get_remember_session_id()
Josep Torra [Sun, 10 Mar 2013 17:05:28 +0000 (18:05 +0100)]
dmabuf: Use correct print format specifier to fix a compiler warning
Tim-Philipp Müller [Thu, 7 Mar 2013 10:49:30 +0000 (10:49 +0000)]
tests: update libs ABI check GstRTSPTimeRange structure size on i386
https://bugzilla.gnome.org/show_bug.cgi?id=695276
Stefan Sauer [Thu, 7 Mar 2013 08:27:45 +0000 (09:27 +0100)]
videotestsrc: make colors controlable
Also trim since markers.
Tim-Philipp Müller [Thu, 7 Mar 2013 00:00:14 +0000 (00:00 +0000)]
Automatic update of common submodule
From 2de221c to 04c7a1e
Stefan Sauer [Tue, 5 Mar 2013 21:29:24 +0000 (22:29 +0100)]
oggmux: don't keep a static string beyond the ref of the owning object
Also move down the ref for the caps a bit, so tha we don't leak it in the branch that calls continue.
Wim Taymans [Tue, 5 Mar 2013 15:41:52 +0000 (16:41 +0100)]
ximagesink: don't share memory
Wim Taymans [Tue, 5 Mar 2013 15:34:35 +0000 (16:34 +0100)]
xvimagesink: mark as NO_SHARE
We don't want to share the memory between buffers because that could
cause the memory of the bufferpool buffers to be copied and replaced
with other memory.
This is a hopefully a temporary fix until we can figure out how to share
properly.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=695203
Stefan Sauer [Fri, 1 Mar 2013 18:14:18 +0000 (19:14 +0100)]
oggmux: don't crash on caps being NULL
Also avoid unused variables if debugging is disabled.
Tim-Philipp Müller [Sun, 3 Mar 2013 17:44:11 +0000 (17:44 +0000)]
uridecodebin: minor GValue handling optimisation
Tim-Philipp Müller [Sun, 3 Mar 2013 17:43:47 +0000 (17:43 +0000)]
video: navigation: minor GValue optimisation
Tim-Philipp Müller [Sun, 3 Mar 2013 17:42:50 +0000 (17:42 +0000)]
vorbis: small GValue optimisation
No need to copy buffers we put into the streamheader any more
now that we don't put caps on buffers any more, so there's no
danger of a refcount cycle.
Tim-Philipp Müller [Sun, 3 Mar 2013 17:41:34 +0000 (17:41 +0000)]
theora: small GValue optimisations
No need to copy buffers we put into the streamheader any more
now that we don't put caps on buffers any more, so there's no
danger of a refcount cycle.
Tim-Philipp Müller [Sun, 3 Mar 2013 17:39:13 +0000 (17:39 +0000)]
ogg: small GValue optimisation
No need to copy buffers we put into the streamheader any more
now that we don't put caps on buffers any more, so there's no
danger of a refcount cycle.
Tim-Philipp Müller [Sun, 3 Mar 2013 17:26:03 +0000 (17:26 +0000)]
tests: fix leaks in adder unit test
Tim-Philipp Müller [Sun, 3 Mar 2013 17:11:25 +0000 (17:11 +0000)]
tests: fix leaks in videorate unit test
Tim-Philipp Müller [Sun, 3 Mar 2013 17:06:38 +0000 (17:06 +0000)]
tests: fix leak in audioresample unit test
Tim-Philipp Müller [Sun, 3 Mar 2013 16:51:10 +0000 (16:51 +0000)]
tests: fix leak in vorbisdec unit test
Sebastian Dröge [Sun, 3 Mar 2013 10:19:42 +0000 (11:19 +0100)]
riff: Use correct print format specifiers to fix compiler warnings
Sebastian Dröge [Sat, 2 Mar 2013 18:29:40 +0000 (19:29 +0100)]
videoscale: Fix compiler errors caused by not including config.h
_stdint.h requires config.h to be included to properly
use the correct code to get uint8_t and friends.
Sebastian Dröge [Sat, 2 Mar 2013 18:13:39 +0000 (19:13 +0100)]
fft: Fix compiler errors caused by not including config.h
_stdint.h requires config.h to be included to properly
use the correct code to get uint8_t and friends.
Christian Fredrik Kalager Schaller [Fri, 1 Mar 2013 09:04:53 +0000 (10:04 +0100)]
Update spec file for latest changes
Tim-Philipp Müller [Mon, 11 Apr 2011 14:10:01 +0000 (15:10 +0100)]
oggdemux: add audio-codec and video-codec tags for streams in more cases
Stefan Sauer [Wed, 27 Feb 2013 21:05:36 +0000 (22:05 +0100)]
adder: don't discard the flush-start events
This reverts one more part of
a86ca535c88a604daa431b0bc1cf4cd8fbb2d100 and
hopefully fixes #694553 for good.
Stefan Sauer [Wed, 27 Feb 2013 20:57:15 +0000 (21:57 +0100)]
tests: add a loop test for adder
Stefan Sauer [Wed, 27 Feb 2013 20:38:27 +0000 (21:38 +0100)]
adder: fix looping
Use gst_segment_do_seek() and clip position before updating the segment.
Stefan Sauer [Wed, 27 Feb 2013 20:36:26 +0000 (21:36 +0100)]
adder: remove defines we don#t use anymore
Akihiro Tsukada [Fri, 22 Feb 2013 12:02:19 +0000 (21:02 +0900)]
audio: add support for AAC pass-through
https://bugzilla.gnome.org/show_bug.cgi?id=694443
Wim Taymans [Tue, 26 Feb 2013 15:02:41 +0000 (16:02 +0100)]
ximagesink: use memory to store XImage info
Store the extra XImage information in the GstMemory instead of metadata.
Stefan Sauer [Mon, 25 Feb 2013 17:50:33 +0000 (18:50 +0100)]
adder: mark pending flush-stop on segment event
Also add more debug logging. Fixes #694553.
Stefan Sauer [Mon, 25 Feb 2013 17:49:56 +0000 (18:49 +0100)]
audioringbuffer: log a few more details (e.g. obj-name)
Sebastian Dröge [Sun, 24 Feb 2013 08:45:19 +0000 (09:45 +0100)]
xvimagepool: gst_memory_init() does not take ownership of the allocator
Sebastian Dröge [Sat, 23 Feb 2013 08:52:57 +0000 (09:52 +0100)]
xvimagesink: Implement XvImage memory as a GstMemory, not as a GstMeta
Sebastian Dröge [Fri, 22 Feb 2013 08:07:06 +0000 (09:07 +0100)]
dmabuf: The dmabuf allocator has a custom alloc function, mark it as such
Sreerenj Balachandran [Wed, 20 Feb 2013 16:36:20 +0000 (18:36 +0200)]
pbutils: recognise more H.264 profiles/levels
Add profile/level extraction for Multiview High profile
and Stereo High profile.
https://bugzilla.gnome.org/show_bug.cgi?id=694346
Sreerenj Balachandran [Thu, 21 Feb 2013 09:38:45 +0000 (11:38 +0200)]
typefindfunctions: recognize SVC and MVC nal units in h264 streams
Ensure the detection of svc and mvc as a part of h264 stream.
Once the typefinder detect a subset_sequence_parameter_set(ssps),
then each nal unit with type 14 or 20 should be detected as a
part of h264 stream thereafter.
https://bugzilla.gnome.org/show_bug.cgi?id=694346
Stefan Sauer [Thu, 21 Feb 2013 07:15:45 +0000 (08:15 +0100)]
adder: ensure sending a flush-stop after flush-start
Previously adder was only sending the flush-stop, when it saw the flushing seek.
If one sends a flushing see direcly to an element upstream of adder, it would
fail to unflush the downstream pads.
Arnaud Vrac [Tue, 19 Feb 2013 16:49:08 +0000 (17:49 +0100)]
video-overlay-composition: fix ayuv/argb conversion
Helps when using dvbsuboverlay in connection with vaapisink
or some other video sink that wants ARGB pixels (dvbsuboverlay
attaches pixels in AYUV format, and we then convert as needed).
Alignment should not be a problem here.
Tim-Philipp Müller [Tue, 19 Feb 2013 12:53:47 +0000 (12:53 +0000)]
pango: use new GST_VIDEO_OVERLAY_COMPOSITION_BLEND_FORMATS define
https://bugzilla.gnome.org/show_bug.cgi?id=665751
Tim-Philipp Müller [Tue, 19 Feb 2013 12:46:14 +0000 (12:46 +0000)]
video: add define for video formats supported by the overlay blending code
For use in template caps by overlay elements that use
video_overlay_composition_blend().
API: GST_VIDEO_OVERLAY_COMPOSITION_BLEND_FORMATS
https://bugzilla.gnome.org/show_bug.cgi?id=665751
Sebastian Dröge [Tue, 19 Feb 2013 11:55:34 +0000 (12:55 +0100)]
pkg-config: Fix gstreamer-plugins-base pkg-config files to include all libraries
Benjamin Gaignard [Tue, 19 Feb 2013 10:52:22 +0000 (11:52 +0100)]
dmabuf: Include config.h
Tim-Philipp Müller [Tue, 19 Feb 2013 10:21:40 +0000 (10:21 +0000)]
allocators: add guard and minor clean-ups
Tim-Philipp Müller [Tue, 19 Feb 2013 09:40:31 +0000 (09:40 +0000)]
allocators: add some since markers and misc other doc clean-ups
Tim-Philipp Müller [Tue, 19 Feb 2013 09:35:10 +0000 (09:35 +0000)]
allocators: header clean-up
Tim-Philipp Müller [Tue, 19 Feb 2013 09:32:08 +0000 (09:32 +0000)]
configure: use AC_CHECK_FUNC to check for mmap
Sebastian Dröge [Tue, 19 Feb 2013 09:05:17 +0000 (10:05 +0100)]
allocators: Integrate into the documentation
Sebastian Dröge [Tue, 19 Feb 2013 08:40:42 +0000 (09:40 +0100)]
allocators: Add .def file with all exports
Sebastian Dröge [Tue, 19 Feb 2013 08:39:24 +0000 (09:39 +0100)]
allocators: Add single-include header
Sebastian Dröge [Tue, 19 Feb 2013 08:35:51 +0000 (09:35 +0100)]
dmabuf: Improve documentation and annotations a bit
Benjamin Gaignard [Mon, 18 Feb 2013 14:18:38 +0000 (15:18 +0100)]
allocators: Add dmabuf-based GstMemory and GstAllocator
Create new GstMemory and GstAllocator base on dmabuf.
Memory is not allocated/freed by userland but mapped/unmmaped
from a dmabuf file descriptor when requested.
This allocator is included in a new lib called libgstallocators
https://bugzilla.gnome.org/show_bug.cgi?id=693826
Tim-Philipp Müller [Sat, 16 Feb 2013 23:55:57 +0000 (23:55 +0000)]
tests: fix encodebin unit test on 32-bit systems
Fixes critical warning on x86:
g_object_set_valist: object class `GstOggMux' has no property named `testingoggmux'
Tim-Philipp Müller [Sat, 16 Feb 2013 12:09:53 +0000 (12:09 +0000)]
audio: fix GST_AUDIO_INFO_ENDIANNESS macro
Vincent Penquerc'h [Thu, 14 Feb 2013 15:59:51 +0000 (15:59 +0000)]
encodebin: activate ghost pad after creating it
This ensures the ghost pad will not stay in flushing mode
when it receives a flush stop event, and generally behave
badly.
This fixes at least one case of a dynamic decodebin2 + encodebin
pipeline finding a source that has not prerolled when it should
have been (due to the ghostpad staying in flushing mode).
Matej Knopp [Wed, 13 Feb 2013 23:54:34 +0000 (00:54 +0100)]
decodebin: don't block on caps
Sebastian Dröge [Thu, 14 Feb 2013 10:25:37 +0000 (11:25 +0100)]
decodebin: Remove left-over line from last commit
Matej Knopp [Thu, 14 Feb 2013 10:17:31 +0000 (11:17 +0100)]
decodebin: Check if value is set before unsetting it
https://bugzilla.gnome.org/show_bug.cgi?id=693401
Matej Knopp [Wed, 13 Feb 2013 22:28:01 +0000 (23:28 +0100)]
riffmedia: add systemstream to all mpeg video caps
Tim-Philipp Müller [Thu, 14 Feb 2013 00:29:01 +0000 (00:29 +0000)]
vorbistag: add mapping for TOTALTRACKS and TOTALDISCS tags
Found TOTALTRACKS in a FLAC file instead of TRACKTOTAL,
we should at least read this if present.
http://www.hydrogenaudio.org/forums/index.php?showtopic=91496&st=0&p=773857&#entry773857
Tim-Philipp Müller [Wed, 13 Feb 2013 21:00:28 +0000 (21:00 +0000)]
typefinding: add parsed=true to mp3 and mpeg2 video ES caps
Because we can, and that's also what we do for other formats.
Stefan Sauer [Wed, 13 Feb 2013 20:08:48 +0000 (21:08 +0100)]
adder: use the collect_pads_query func
We were setting the query-func on the sink-pad, which got overwritten when
adding the new pad to collect pads. Instead register our query-func with the
collect pads object. This fixes filter caps. Add a test for it.
Stefan Sauer [Wed, 13 Feb 2013 20:07:55 +0000 (21:07 +0100)]
mediatype-audio: write out 24 in 32bit formats
Sebastian Dröge [Wed, 13 Feb 2013 10:25:02 +0000 (11:25 +0100)]
decodebin: Fix MP3 parser unit test
The MP3 parser required fields on its caps that it
didn't need and never got from (e.g.) typefind.
Vincent Penquerc'h [Tue, 12 Feb 2013 17:22:23 +0000 (17:22 +0000)]
encodebin: sync muxer state with parent bin
Other elements were synced, but not the muxer.
Thijs Vermeir [Wed, 2 Jan 2013 11:15:25 +0000 (12:15 +0100)]
videodecoder: allow parse function to not use all data on adapter