Thiago Santos [Tue, 24 Sep 2013 23:47:52 +0000 (16:47 -0700)]
playbin: make sure elements are in null before disposing
If a pipeline fails to preroll, it might happen that the sinks are
put into READY state from playbin's sink activation, but they are never
set to playsink, so they aren't being managed by a GstBin and will keep
their READY state until they are unreffed, leading to a warning.
Prevent this by always forcing them to NULL when deactivating a group
https://bugzilla.gnome.org/show_bug.cgi?id=708789
Johannes Dewender [Sat, 28 Sep 2013 11:19:02 +0000 (13:19 +0200)]
audiocdsrc: Don't consider trailing data tracks for MusicBrainz disc id calculation
MusicBrainz removes trailing data tracks from releases on the server
and also for the calculation of the MusicBrainz Disc ID.
https://bugzilla.gnome.org/show_bug.cgi?id=708991
David Svensson Fors [Mon, 23 Sep 2013 09:35:43 +0000 (11:35 +0200)]
audioringbuffer: check if acquired in set_timestamp
Also use GST_OBJECT_LOCK when accessing object data in set_timestamp.
https://bugzilla.gnome.org/show_bug.cgi?id=702230
MathieuDuponchelle [Sun, 15 Sep 2013 19:48:43 +0000 (21:48 +0200)]
adder: Don't take channel mask in consideration in mono or stereo
This could cause negotiation to fail.
https://bugzilla.gnome.org/show_bug.cgi?id=708633
Matej Knopp [Fri, 27 Sep 2013 20:41:28 +0000 (22:41 +0200)]
audiorate: clip buffer before pushing it
https://bugzilla.gnome.org/show_bug.cgi?id=708953
Matej Knopp [Fri, 27 Sep 2013 20:40:28 +0000 (22:40 +0200)]
audio: change buffer timestamp when clipping even if data hasn't been trimmed
https://bugzilla.gnome.org/show_bug.cgi?id=708952
Matej Knopp [Fri, 27 Sep 2013 20:53:43 +0000 (22:53 +0200)]
pbutils: Add entry for text/x-raw
https://bugzilla.gnome.org/show_bug.cgi?id=708954
Matej Knopp [Wed, 25 Sep 2013 17:29:24 +0000 (19:29 +0200)]
pbutils: add MPEG 2 AAC description
https://bugzilla.gnome.org/show_bug.cgi?id=708773
Wim Taymans [Wed, 25 Sep 2013 13:17:32 +0000 (15:17 +0200)]
audiobasesink: do big correction for large drift
If we are using skew slaving and we drift more than twice the allowed amount, do
a big correction to get back on track more quickly.
Tim-Philipp Müller [Tue, 24 Sep 2013 17:28:57 +0000 (18:28 +0100)]
Automatic update of common submodule
From 6b03ba7 to 865aa20
Ognyan Tonchev [Tue, 24 Sep 2013 14:26:37 +0000 (16:26 +0200)]
rtspconnection: Unset input/output_stream after freeing the GIOStream
watch->input_stream and watch->output_stream are owned by the GIOStream
and should be unset after freeing the stream.
https://bugzilla.gnome.org/show_bug.cgi?id=708689
Sebastian Dröge [Tue, 24 Sep 2013 13:05:21 +0000 (15:05 +0200)]
configure: Actually use 1.3.0.1 as version to make configure happy
Sebastian Dröge [Tue, 24 Sep 2013 13:00:20 +0000 (15:00 +0200)]
Back to development
Sebastian Dröge [Tue, 24 Sep 2013 12:16:22 +0000 (14:16 +0200)]
Release 1.2.0
Sebastian Dröge [Tue, 24 Sep 2013 12:14:18 +0000 (14:14 +0200)]
Update .po files
Sebastian Dröge [Tue, 24 Sep 2013 10:47:26 +0000 (12:47 +0200)]
playbin: Make sure to cache context types we did not store yet
https://bugzilla.gnome.org/show_bug.cgi?id=708668
Ognyan Tonchev [Tue, 24 Sep 2013 10:10:00 +0000 (12:10 +0200)]
rtspconnection: Only create writesrc when it is actually needed
Creating a GSource and not attaching it to a context will cause
a leak of it's child sources. That is why we create writesrc right
before attaching it to a context.
https://bugzilla.gnome.org/show_bug.cgi?id=708667
Mathieu Duponchelle [Sun, 22 Sep 2013 20:55:33 +0000 (22:55 +0200)]
adder: send pending segment out before checking for EOS
Otherwise there would be cases where it would not send its segment
out when the first collected after getting it would already yield EOS.
https://bugzilla.gnome.org/show_bug.cgi?id=708590
Wim Taymans [Thu, 19 Sep 2013 15:25:05 +0000 (17:25 +0200)]
video-frame: copy offsets from metadata
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=708606
Wim Taymans [Sat, 21 Sep 2013 13:17:54 +0000 (15:17 +0200)]
sdp: fix docs
Edward Hervey [Fri, 20 Sep 2013 14:16:42 +0000 (16:16 +0200)]
Automatic update of common submodule
From b613661 to 6b03ba7
Tim-Philipp Müller [Thu, 19 Sep 2013 17:42:49 +0000 (18:42 +0100)]
Automatic update of common submodule
From 74a6857 to b613661
Tim-Philipp Müller [Thu, 19 Sep 2013 16:34:46 +0000 (17:34 +0100)]
Automatic update of common submodule
From 098c0d7 to 74a6857
Sebastian Dröge [Thu, 19 Sep 2013 14:33:29 +0000 (16:33 +0200)]
dmabuf: Fix compilation if no mmap is available
Also #ifdef some more code paths that don't make sense without mmap.
https://bugzilla.gnome.org/show_bug.cgi?id=708372
Edward Hervey [Thu, 19 Sep 2013 10:58:53 +0000 (12:58 +0200)]
discoverer: Switch to playing to handle live URI
Fixes discovery on dvb://
Sebastian Dröge [Thu, 19 Sep 2013 09:34:54 +0000 (11:34 +0200)]
Back to development
Sebastian Dröge [Thu, 19 Sep 2013 08:49:58 +0000 (10:49 +0200)]
Release 1.1.90
Sebastian Dröge [Thu, 19 Sep 2013 08:13:32 +0000 (10:13 +0200)]
Update .po files
Olivier Crête [Thu, 19 Sep 2013 00:42:55 +0000 (20:42 -0400)]
videodecoder: If there is no PTS at all, assume it starts from the segment start
This is to make the multifilesrc ! pngdec case work
https://bugzilla.gnome.org/show_bug.cgi?id=688043
Sebastian Dröge [Thu, 19 Sep 2013 07:44:47 +0000 (09:44 +0200)]
po: Update translations
Sebastian Dröge [Wed, 18 Sep 2013 20:05:36 +0000 (22:05 +0200)]
playbin: Implement context caching for sinks that are not in playsink yet
Sebastian Dröge [Wed, 18 Sep 2013 16:21:54 +0000 (18:21 +0200)]
playbin: No need to set the GstContext on the sink before activating it
This is all handled by the GstBin code now.
Olivier Crête [Thu, 5 Sep 2013 00:21:54 +0000 (20:21 -0400)]
dmabuf: Make it not a singleton
Makes it easier to track how many users there are
Also make it possible to create a dmabuf struct on systems without mmap,
it just won't be possible to map it.
https://bugzilla.gnome.org/show_bug.cgi?id=707793
Wim Taymans [Fri, 13 Sep 2013 14:01:42 +0000 (16:01 +0200)]
rtpbuffer: check for valid payload type
The payload type can't be between 72 and 76 because with the marker bit set,
this could be mistaken for an RTCP packet then. We do a relaxed check and
only refuse 72-76 when the marker bit is set. The effect is that when
we try to map an RTCP packet as an RTP packet, we will certainly fail.
Tim-Philipp Müller [Fri, 13 Sep 2013 08:17:38 +0000 (09:17 +0100)]
configure: rely solely on pkg-config to find libogg and libvorbis
And get rid of AS_SCRUB_INCLUDES
https://bugzilla.gnome.org/show_bug.cgi?id=707658
Wim Taymans [Thu, 12 Sep 2013 10:23:35 +0000 (12:23 +0200)]
videoscale: fix 4tap for RGB15 and RGB16
Fix component ordering, it's wrong in both the scanline and merge
function so it cancels eachother out and isn't really a except for
loss of precision of the green component.
Fix calculation of the filter weight
Wim Taymans [Tue, 10 Sep 2013 15:02:44 +0000 (17:02 +0200)]
videoscale: optimize merge for RGB15 and RGB16
Wim Taymans [Tue, 10 Sep 2013 14:55:25 +0000 (16:55 +0200)]
videoscale: remove redundant MAX
The checks above make it inpossible for the value to be smaller than
what we check against with the MAX call.
Sebastian Dröge [Thu, 12 Sep 2013 07:42:36 +0000 (09:42 +0200)]
audioencoder/decoder: Mark pads as requiring reconfiguration again if negotiation fails
Otherwise we might end up in non-optimal configuration, especially
when a flush happened during reconfiguration.
Sebastian Dröge [Thu, 12 Sep 2013 07:35:00 +0000 (09:35 +0200)]
videodecoder/videoencoder: Mark pads as requiring reconfiguration again if negotiation fails
Otherwise we might end up in non-optimal configuration, especially
when a flush happened during reconfiguration.
Matej Knopp [Tue, 10 Sep 2013 19:44:33 +0000 (21:44 +0200)]
pbutils: Add description for TechSmith Screen Capture 2
https://bugzilla.gnome.org/show_bug.cgi?id=707878
Matej Knopp [Tue, 10 Sep 2013 19:44:21 +0000 (21:44 +0200)]
riff: Add support for TechSmith Screen Capture 2
https://bugzilla.gnome.org/show_bug.cgi?id=707878
Thiago Santos [Fri, 6 Sep 2013 18:36:12 +0000 (15:36 -0300)]
oggdemux: check for full eos after a pad goes eos in push mode
After a pad is on EOS, verify if all pads are EOS and return
upstream, avoiding keeping the buffer flow without having more
data to push
Thiago Santos [Fri, 6 Sep 2013 18:56:39 +0000 (15:56 -0300)]
oggdemux: properly handle stop position at seeks in push mode
Store the seek stop and seqnum and properly restore them when
receiving the corresponding Segment from upstream. Also fixes
seqnum for converted seek events.
Wim Taymans [Tue, 10 Sep 2013 14:16:51 +0000 (16:16 +0200)]
videoscale: fix RGB15 masks
Wim Taymans [Tue, 10 Sep 2013 14:06:54 +0000 (16:06 +0200)]
videoscale: simplify YUYV and UYVY linear scaling
Simplify the code and make it handle odd width
Wim Taymans [Tue, 10 Sep 2013 14:05:14 +0000 (16:05 +0200)]
videoscale: small cleanups
Use BLEND macro
Fix NV12 corner case
Wim Taymans [Tue, 10 Sep 2013 14:03:08 +0000 (16:03 +0200)]
videoscale: fix RGB15 masks
Wim Taymans [Tue, 10 Sep 2013 10:18:16 +0000 (12:18 +0200)]
videoscale: simplify nearest scaling
Round the accumulator to avoid later checks
Remove some bound checks that would never trigger
Fix odd width scaling
Wim Taymans [Tue, 10 Sep 2013 09:31:57 +0000 (11:31 +0200)]
videoscale: pick nearest line in scaling
Use rounding to pick the nearest line instead of rounding down.
Matthieu Bouron [Tue, 3 Sep 2013 16:27:37 +0000 (17:27 +0100)]
tag: id3: encapsulate ID3V2 blob frames in GstSample
id3mux and id3v2mux expect GST_TAG_ID3V2_FRAME type to be stored in a
GstSample and not a buffer, which is also needed because we can't
attach extradata/caps to buffers any more. These are private tags
no one should be poking at, and also the extra info is missing.
https://bugzilla.gnome.org/show_bug.cgi?id=707765
Tim-Philipp Müller [Mon, 9 Sep 2013 18:26:34 +0000 (19:26 +0100)]
pbutils: fix and improve raw video format description strings
Mark terms such as "planar", "packed", and "palettized" as
translatable, and re-arrange strings a bit to make them
better suited for translation.
Also fix bug in yuv descriptions, one plane is packed, more
is planar (or semi-planar).
https://bugzilla.gnome.org/show_bug.cgi?id=707789
Wim Taymans [Mon, 9 Sep 2013 13:52:05 +0000 (15:52 +0200)]
docs: fix some doc blocks
Mathieu Duponchelle [Wed, 21 Aug 2013 21:54:49 +0000 (23:54 +0200)]
videofilter: implement transform_meta virtual method.
If tags of the meta only contain "video", let it be copied.
Mathieu Duponchelle [Wed, 21 Aug 2013 21:56:15 +0000 (23:56 +0200)]
video/audio: #define metadata strings.
For instance "orientation" becomes GST_VIDEO_ORIENTATION_METADATA.
Tim-Philipp Müller [Sat, 7 Sep 2013 18:14:50 +0000 (19:14 +0100)]
tools: play: set playbin to NULL state on error to flush messages
Just flushing the bus doesn't work here for some reason, so set
playbin to NULL state, which seems to clear all error state and
makes sure we do play the next playable song and don't pick up
'ghost' error messages from previous files on the bus.
Loïc Minier [Fri, 6 Sep 2013 21:17:44 +0000 (23:17 +0200)]
playback: fix docs of convert-sample action signal
convert-sample returns a GstSample, not a GstBuffer.
https://bugzilla.gnome.org/show_bug.cgi?id=707660
Tim-Philipp Müller [Fri, 6 Sep 2013 12:28:00 +0000 (13:28 +0100)]
video: fix build without orc or older or versions
./.libs/libgstvideo-1.0.so: undefined reference to `video_orc_unpack_NV24'
./.libs/libgstvideo-1.0.so: undefined reference to `video_orc_pack_NV24'
Wim Taymans [Fri, 6 Sep 2013 10:44:10 +0000 (12:44 +0200)]
videoconvert: disable fastpath for odd width on some formats
Wim Taymans [Fri, 6 Sep 2013 10:43:27 +0000 (12:43 +0200)]
video-format: fix NV24 pack/unpack function
We can't reuse the NV12 functions, we need to make new ones.
Wim Taymans [Fri, 6 Sep 2013 10:42:47 +0000 (12:42 +0200)]
video-format: handle odd width in more pack/unpack functions
Tim-Philipp Müller [Thu, 5 Sep 2013 17:33:28 +0000 (18:33 +0100)]
video-format: minor pack_YVYU optimisation
Re-use already calculated line offset.
Wim Taymans [Thu, 5 Sep 2013 15:46:03 +0000 (17:46 +0200)]
videotestsrc: flush pending lines on odd height
Wim Taymans [Thu, 5 Sep 2013 15:22:50 +0000 (17:22 +0200)]
videoconvert: add additional width/height constraints
Some of the fastpath function can only work with aligned widht/height
so make sure we check this as well when choosing a fastpath.
Add fastpath for I420/YV12 -> BGRx
Wim Taymans [Thu, 5 Sep 2013 15:06:05 +0000 (17:06 +0200)]
video-format: fix chroma offsets
Wim Taymans [Thu, 5 Sep 2013 14:25:36 +0000 (16:25 +0200)]
videoconvert: don't convert too much with odd width
Wim Taymans [Thu, 5 Sep 2013 14:15:41 +0000 (16:15 +0200)]
video-format: fix unpack functions for odd formats
Wim Taymans [Thu, 5 Sep 2013 13:02:17 +0000 (15:02 +0200)]
video-format: clean up pack/unpack functions
Wim Taymans [Thu, 5 Sep 2013 12:12:53 +0000 (14:12 +0200)]
video-format: handle odd width in various pack functions
Wim Taymans [Thu, 5 Sep 2013 10:44:05 +0000 (12:44 +0200)]
video-format: don't overrun the arrays on UYVP
Wim Taymans [Thu, 5 Sep 2013 09:05:36 +0000 (11:05 +0200)]
videoconvert: handle lines in one go
Handle odd heights in 1 go when no vertical subsampling is used.
Wim Taymans [Thu, 5 Sep 2013 09:04:03 +0000 (11:04 +0200)]
videoconvert: fix height round down
Wim Taymans [Wed, 4 Sep 2013 15:34:20 +0000 (17:34 +0200)]
videoconvert: also allocate temp lines in fastpath
Some of the fastpath functions need tmplines, so make sure we allocate some in
the fastpath too.
This avoids SEGFAULTs with odd heights.
See https://bugzilla.gnome.org/show_bug.cgi?id=663248
Christian Fredrik Kalager Schaller [Wed, 4 Sep 2013 15:21:23 +0000 (17:21 +0200)]
Update specfile with latest changes
Wim Taymans [Wed, 4 Sep 2013 13:07:56 +0000 (15:07 +0200)]
videoconvert: add more fastpaths
Also reuse the I420 code for YV12 because it can handle the swapped UV fields
just fine.
Alex Ashley [Mon, 10 Jun 2013 15:06:21 +0000 (16:06 +0100)]
typefind: Added "dash" and "avc3" fourCC codes to qt_type_find.
This commit adds detection of the "dash" and "avc3" compatible brands
in qt_type_find.
Amendment 2 of ISO/IEC 14496-15 (AVC file format) is defining a new
structure for fragmented MP4 called "avc3". The principal difference
between AVC1 and AVC3 is the location of the codec initialisation
data (e.g. SPS, PPS). In AVC1 this data is placed in the initial MOOV
box (moov.trak.mdia.minf.stbl.stsd.avc1) but in AVC3 this data goes in
the first sample of every fragment (i.e. the first sample in each mdat
box). The principal reason for avc3 is to make it easier for client
implementations, because it removes the requirement to insert the
SPS+PPS in to the decoder pipeline every time there is a representation
change.
https://bugzilla.gnome.org/show_bug.cgi?id=702004
Piotr Drąg [Fri, 30 Aug 2013 23:05:40 +0000 (01:05 +0200)]
po: update POTFILES.in
https://bugzilla.gnome.org/show_bug.cgi?id=707158
Wim Taymans [Tue, 3 Sep 2013 15:37:14 +0000 (17:37 +0200)]
videoconvert: only chroma subsample when needed
Wim Taymans [Tue, 3 Sep 2013 13:42:44 +0000 (15:42 +0200)]
videoconvert: fix handling of chroma resample
Increase the number of temporary lines that we need, it is possible that the
up and downsampling offsets are out of phase and that we need to keep some
extra lines around. Also copy the unhandled output lines for the next round
instead of overwriting them.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=706823
Wim Taymans [Tue, 3 Sep 2013 13:41:56 +0000 (15:41 +0200)]
videoconvert: improve debug
Matej Knopp [Mon, 2 Sep 2013 22:47:18 +0000 (00:47 +0200)]
videoencoder: Check for invalid stop position before calculating a duration from it
https://bugzilla.gnome.org/show_bug.cgi?id=707332
Tim-Philipp Müller [Thu, 29 Aug 2013 10:17:15 +0000 (11:17 +0100)]
Require orc >= 0.4.18
Which contains important bug-fixes.
https://bugzilla.gnome.org/show_bug.cgi?id=698520
Josep Torra [Fri, 30 Aug 2013 13:19:32 +0000 (15:19 +0200)]
pbutils: add description for MSS1 and MSS2 windows media formats
Josep Torra [Fri, 30 Aug 2013 11:51:47 +0000 (13:51 +0200)]
riff: Provide correct media type for MSS1 and MSS2
Windows Media Video Screen (WMV Screen) are video formats that
specilise in screencast content. This provides a correct media type
for them instead of just video/x-asf-unknown.
Sebastian Dröge [Wed, 28 Aug 2013 11:26:38 +0000 (13:26 +0200)]
Back to development
Sebastian Dröge [Wed, 28 Aug 2013 10:41:42 +0000 (12:41 +0200)]
Release 1.1.4
Sebastian Dröge [Wed, 28 Aug 2013 10:31:23 +0000 (12:31 +0200)]
po: update translations
Andoni Morales Alastruey [Tue, 27 Aug 2013 13:03:54 +0000 (15:03 +0200)]
videoencoder: fix forwarding of GstForceKeyUnit events
Use the frame id to match the output forced keyframe with
the event that forced it.
https://bugzilla.gnome.org/show_bug.cgi?id=706885
Tim-Philipp Müller [Mon, 26 Aug 2013 10:44:06 +0000 (11:44 +0100)]
vorbisenc: remove unused variables
Wim Taymans [Mon, 26 Aug 2013 09:47:40 +0000 (11:47 +0200)]
rtcpbuffer: do additional packet checks
Check the packet size and avoid crashing on malformed packets.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=655727
Wim Taymans [Mon, 26 Aug 2013 09:46:11 +0000 (11:46 +0200)]
rtcpbuffer: improve bye parsing
It is an error to ask for a non-existing BYE SSRC, the caller should
check the SSRC count first.
Michael Olbrich [Fri, 23 Aug 2013 16:06:36 +0000 (18:06 +0200)]
dmabuf: fix mmap counting
A successful gst_dmabuf_mem_map must always increment the mmap count.
Otherwise the first gst_dmabuf_mem_unmap will unmap the memory and all
other user will access unmapped memory.
https://bugzilla.gnome.org/show_bug.cgi?id=706680
Alessandro Decina [Mon, 26 Aug 2013 06:08:32 +0000 (08:08 +0200)]
vorbisenc: implement flushing
Sebastian Dröge [Sun, 25 Aug 2013 08:25:43 +0000 (10:25 +0200)]
videoencoder: Make sure to return TRUE if the same caps are set again
Tim-Philipp Müller [Fri, 23 Aug 2013 18:47:57 +0000 (19:47 +0100)]
audioconvert: improve fixate_format function readability even more
Do the flags comparisons only once and re-use the result.
Tim-Philipp Müller [Fri, 23 Aug 2013 18:41:32 +0000 (19:41 +0100)]
audioconvert: simplify fixate_format function some more
If we have no output format yet, any format will do. The
!out_info condition existed in every path, so just split
it our for clarity. KISS.
Tim-Philipp Müller [Fri, 23 Aug 2013 18:05:41 +0000 (19:05 +0100)]
audioconvert: make fixate function more readable
Use some variables to replace accessor macros to make code
a little bit mor readable.
Tim-Philipp Müller [Fri, 23 Aug 2013 17:52:44 +0000 (18:52 +0100)]
audioconvert: remove unnecessary deep nesting in fixate function
Makes it easier to read and removes two levels of indentation.
Sebastian Dröge [Fri, 23 Aug 2013 17:20:03 +0000 (19:20 +0200)]
videoencoder: Only set the caps when they actually changed
Sebastian Dröge [Fri, 23 Aug 2013 17:17:16 +0000 (19:17 +0200)]
audioencoder: Simplify pushing of pending events during negotiation
And also don't send the same caps twice.