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.
Sebastian Dröge [Fri, 23 Aug 2013 17:10:48 +0000 (19:10 +0200)]
audiodecoder: Fix last commit and simplify code a lot
Sebastian Dröge [Fri, 23 Aug 2013 16:51:59 +0000 (18:51 +0200)]
audioconvert: If we have to lose precision, try to lose as less precision as possible
https://bugzilla.gnome.org/show_bug.cgi?id=706624
Edward Hervey [Fri, 23 Aug 2013 14:59:30 +0000 (16:59 +0200)]
audiodecoder: Fix previous commit
(sorry)
Edward Hervey [Fri, 23 Aug 2013 13:22:43 +0000 (15:22 +0200)]
videocoder: Don't push out identical caps
This avoids triggering plenty of extra code/methods/overhead downstream when
we can just quickly check whenever we want to set caps whether they are
identical or not
https://bugzilla.gnome.org/show_bug.cgi?id=706600
Edward Hervey [Fri, 23 Aug 2013 13:22:05 +0000 (15:22 +0200)]
audiodecoder: Don't push out identical caps
This avoids triggering plenty of extra code/methods/overhead downstream when
we can just quickly check whenever we want to set caps whether they are
identical or not
https://bugzilla.gnome.org/show_bug.cgi?id=706600
Sebastian Dröge [Thu, 22 Aug 2013 15:33:45 +0000 (17:33 +0200)]
oggdemux: Update segment.base with the chain's start time too
Fixes playback of chained ogg files.
https://bugzilla.gnome.org/show_bug.cgi?id=706569
Sebastian Dröge [Thu, 22 Aug 2013 12:18:29 +0000 (14:18 +0200)]
typefind: Add typefinder for video/x-pva
https://bugzilla.gnome.org/show_bug.cgi?id=158719
Tim-Philipp Müller [Wed, 21 Aug 2013 15:02:00 +0000 (16:02 +0100)]
gst-play: move current playlist index along in about-to-finish
Tim-Philipp Müller [Wed, 21 Aug 2013 14:39:30 +0000 (15:39 +0100)]
gst-play: add --gapless mode
so we can test about-to-finish.
Wim Taymans [Wed, 21 Aug 2013 10:34:24 +0000 (12:34 +0200)]
rtpbasedepayload: mark DISCONT on buffer in all cases
Always mark discont on the input buffer when we detect a seqnum
discont and not only when we previously marked ourselves DISCONT.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=706422
Rico Tzschichholz [Wed, 21 Aug 2013 10:20:28 +0000 (11:20 +0100)]
videometa: fix syntax error
Matthieu Bouron [Wed, 14 Aug 2013 15:20:45 +0000 (16:20 +0100)]
tag: id3: handle publisher, interpreted-by and musical-key tags
https://bugzilla.gnome.org/show_bug.cgi?id=705999
Matthieu Bouron [Thu, 15 Aug 2013 10:03:47 +0000 (11:03 +0100)]
tag: add musical-key tag
https://bugzilla.gnome.org/show_bug.cgi?id=705999
Sebastian Dröge [Mon, 19 Aug 2013 08:39:19 +0000 (10:39 +0200)]
Revert "pbutils: allow describing unfixed caps if they share the same media type"
This reverts commit
065f1603b0f1d2adc8477bf1f3ebe2b154885d89.
This is not considered the correct solution, see:
https://bugzilla.gnome.org/show_bug.cgi?id=703378
Carlos Rafael Giani [Fri, 16 Aug 2013 11:22:33 +0000 (13:22 +0200)]
typefind: improved and extended typefinder for module music formats
introduced new caps: audio/x-mod, modtype : { xm, okt, mod, ptm, ... }
https://bugzilla.gnome.org/show_bug.cgi?id=706061
Olivier Crête [Mon, 15 Jul 2013 20:13:11 +0000 (16:13 -0400)]
rtpbaseaudiopayload: Avoid copying the data
Tim-Philipp Müller [Sat, 17 Aug 2013 15:58:06 +0000 (16:58 +0100)]
tests: fix uridecodebin signal used in playback test6
"new-decoded-pad" no longer exists.
Tim-Philipp Müller [Sat, 17 Aug 2013 15:53:30 +0000 (16:53 +0100)]
tools: add man page for new gst-play-1.0 utility
https://bugzilla.gnome.org/show_bug.cgi?id=553520
Tim-Philipp Müller [Wed, 14 Aug 2013 16:04:19 +0000 (17:04 +0100)]
tools: add simple command-line gst-play utility for testing purposes
Differs from a plain gst-launch-1.0 playbin uri=... pipeline in that
it can take multiple arguments and as such allows testing of things
like gapless playback, switching between different formats and the
like. Very minimal at this point, we'll probably want to add
interactive controls and more options at some point.
https://bugzilla.gnome.org/show_bug.cgi?id=553520
Tim-Philipp Müller [Fri, 16 Aug 2013 12:59:35 +0000 (13:59 +0100)]
rtsp: fix direct includes
https://bugzilla.gnome.org/show_bug.cgi?id=695889
Tim-Philipp Müller [Fri, 16 Aug 2013 12:55:33 +0000 (13:55 +0100)]
pbutils: fix direct includes
https://bugzilla.gnome.org/show_bug.cgi?id=695889
Tim-Philipp Müller [Fri, 16 Aug 2013 12:47:31 +0000 (13:47 +0100)]
video: make direct includes work again
Not nice to break people's code if we can avoid it. Could
add a warning in the next cycle, and then require single
includes in the cycle after.
https://bugzilla.gnome.org/show_bug.cgi?id=695889
Tim-Philipp Müller [Fri, 16 Aug 2013 12:06:58 +0000 (13:06 +0100)]
audio: make direct includes work again
Not nice to break people's code if we can avoid it. Could
add a warning in the next cycle, and then require single
includes in the cycle after.
https://bugzilla.gnome.org/show_bug.cgi?id=695889
Tim-Philipp Müller [Fri, 16 Aug 2013 13:12:32 +0000 (14:12 +0100)]
tests: add test-header-compile script
https://bugzilla.gnome.org/show_bug.cgi?id=695889
Sebastian Dröge [Fri, 16 Aug 2013 10:12:05 +0000 (12:12 +0200)]
Revert "typefind: improved and extended typefinder for module music formats"
This reverts commit
4c79f35c7abc78bf4d325a8cd2059e8832ea0b34.
It causes some MP4 files to be detected as mod files.
Carlos Rafael Giani [Tue, 13 Aug 2013 21:18:34 +0000 (23:18 +0200)]
typefind: improved and extended typefinder for module music formats
introduced new caps: audio/x-mod, modtype : { xm, okt, mod, ptm, ... }
https://bugzilla.gnome.org/show_bug.cgi?id=706061
Sebastian Dröge [Thu, 15 Aug 2013 12:15:05 +0000 (14:15 +0200)]
videodecoder: Don't reset too much if we're resetting because of a soft-flush
Fixes reverse playback with Ogg/Theora.