Stefan Kost [Wed, 9 Jun 2010 13:59:10 +0000 (16:59 +0300)]
volume: make the orc codes available for testing.
Add a USE_ORC define for now and switch 'this' to 'self'. Having orc enabled
passes the test suite and various manual gst-launch pipelines.
Tim-Philipp Müller [Tue, 8 Jun 2010 12:34:46 +0000 (13:34 +0100)]
.gitignore: add orc-related temp files
Tim-Philipp Müller [Tue, 8 Jun 2010 12:26:53 +0000 (13:26 +0100)]
Fix build if orc is not installed
Orc is not a hard requirement. Things should still compile and
work without orc, but slow fallback code may be used in this
case. Fix up configure to not error out if orc is not installed
and wrap use of orc profiling in audioresample in #ifdefs.
Fixes #620136 some more.
Sebastian Dröge [Tue, 8 Jun 2010 11:11:05 +0000 (13:11 +0200)]
oggdemux: Implement correct parsing of Skeleton 4.0 index packets
Sebastian Dröge [Tue, 8 Jun 2010 10:01:15 +0000 (12:01 +0200)]
oggdemux: Add parsing of Skeleton 4.0 indexes
Sebastian Dröge [Tue, 8 Jun 2010 09:40:32 +0000 (11:40 +0200)]
oggdemux: Parse segment length and content offset from fishead
And print them for debugging purposes. Not sure if we can do anything useful
with this information.
Sebastian Dröge [Tue, 8 Jun 2010 09:31:35 +0000 (11:31 +0200)]
oggdemux: Parse Skeleton stream major/minor version
Sebastian Dröge [Tue, 8 Jun 2010 09:26:26 +0000 (11:26 +0200)]
oggdemux: Use binary search for searching in the index
Sebastian Dröge [Tue, 8 Jun 2010 09:02:08 +0000 (11:02 +0200)]
video: Fix unit test, the Y800 checks were not used before and were not working
Sebastian Dröge [Tue, 8 Jun 2010 09:01:44 +0000 (11:01 +0200)]
video: Return TRUE in gst_video_format_is_gray() for Y800 and Y16
David Schleef [Tue, 8 Jun 2010 07:33:31 +0000 (00:33 -0700)]
audioconvert, videotestsrc: Update generated Orc code
Fixes compile errors with initialization of unions.
David Schleef [Tue, 8 Jun 2010 07:32:36 +0000 (00:32 -0700)]
requirements: change liboil to Orc
David Schleef [Mon, 7 Jun 2010 06:50:05 +0000 (23:50 -0700)]
audioresample: convert from liboil to orc
David Schleef [Mon, 7 Jun 2010 06:48:35 +0000 (23:48 -0700)]
tests: Add orc tests
David Schleef [Mon, 7 Jun 2010 06:48:15 +0000 (23:48 -0700)]
volume: convert from liboil to orc
David Schleef [Mon, 7 Jun 2010 06:47:53 +0000 (23:47 -0700)]
videotestsrc: convert from liboil to orc
David Schleef [Mon, 7 Jun 2010 06:47:16 +0000 (23:47 -0700)]
videoscale: convert from liboil to orc
David Schleef [Mon, 7 Jun 2010 06:46:41 +0000 (23:46 -0700)]
audioconvert: convert from liboil to orc
David Schleef [Mon, 7 Jun 2010 06:45:58 +0000 (23:45 -0700)]
adder: convert from liboil to orc
David Schleef [Mon, 7 Jun 2010 06:45:10 +0000 (23:45 -0700)]
docs: Add notes about Orc integration
David Schleef [Mon, 7 Jun 2010 06:34:39 +0000 (23:34 -0700)]
configure: convert liboil check to orc
Sebastian Dröge [Tue, 8 Jun 2010 05:34:08 +0000 (07:34 +0200)]
oggmux: Start a new page for every CMML buffer
Wim Taymans [Mon, 7 Jun 2010 12:38:42 +0000 (14:38 +0200)]
playbin2: add av-offset property
Add av-offset property to control the audio and video sync offset. This can be
used to to manually correct badly synced streams.
See #620529
Sebastian Dröge [Mon, 7 Jun 2010 06:31:25 +0000 (08:31 +0200)]
ffmpegcolorspace: Map "Y8 " and "GREY" to "Y800" and add it to the template caps
Martin Bisson [Mon, 7 Jun 2010 06:17:13 +0000 (08:17 +0200)]
ffmpegcolorspace: Add support for Y800 and Y16
Fixes bug #620441.
Martin Bisson [Mon, 7 Jun 2010 06:16:01 +0000 (08:16 +0200)]
video: Add support for Y800 and Y16
Fixes bug #620441.
Tim-Philipp Müller [Sun, 6 Jun 2010 15:46:55 +0000 (16:46 +0100)]
typefinding: fix log function printf format issue
Tim-Philipp Müller [Sat, 5 Jun 2010 17:14:38 +0000 (18:14 +0100)]
typefinding: stop jpeg typefinding once we found a SOF marker
Tim-Philipp Müller [Sat, 5 Jun 2010 17:05:40 +0000 (18:05 +0100)]
tests: fix memory leak in unit test
Tim-Philipp Müller [Wed, 19 May 2010 14:40:30 +0000 (15:40 +0100)]
typefinding: improve jpeg typefinder
Make jpeg typefinder check more than just the first two bytes
plus Exif or JFIF marker. This allows us to report MAXIMUM
probability in cases where there's no Exif or JFIF marker,
making typefinding stop early. Also extract width and height,
because we can.
Tim-Philipp Müller [Sat, 5 Jun 2010 16:22:17 +0000 (17:22 +0100)]
tests: add small unit test for AC3 vs. JPEG typefinding issue
Tim-Philipp Müller [Sat, 5 Jun 2010 15:58:50 +0000 (16:58 +0100)]
typefinding: fix AC-3 typefinding so that it actually checks for a second frame
Fix typo that made the AC-3 typefinder not actually check for a
second frame, but rather compare the sync point found to itself,
which resulted in the AC-3 typefinder reporting an overly optimistic
MAXIMUM or VERY_LIKELY probability when it found a possible frame
sync.
Wim Taymans [Sat, 5 Jun 2010 10:27:12 +0000 (12:27 +0200)]
playbin2: improve screenshot code
Use appsrc and appsink in the screenshot code to make things nicer.
Wim Taymans [Sat, 5 Jun 2010 09:28:17 +0000 (11:28 +0200)]
appsrc: fix documentation string
Wim Taymans [Sat, 5 Jun 2010 09:05:22 +0000 (11:05 +0200)]
playsink: add convert-frame action signal
Add a convert-frame action signal.
Fixes #620279
Wim Taymans [Sat, 5 Jun 2010 09:02:24 +0000 (11:02 +0200)]
playbin2: move marshaller to screenshot
Move the marshaller for the convert_frame signal to the screenshot file in
preparation for moving it to playsink.
See #620279
Wim Taymans [Sat, 5 Jun 2010 08:42:56 +0000 (10:42 +0200)]
playbin2: move convert_frame to playsink
Move the convert_frame function to playsink and make it part of the API. This is
in preparation to add the convert_frame signal to playsink.
See #620279
Wim Taymans [Sat, 5 Jun 2010 08:31:03 +0000 (10:31 +0200)]
playsink: add property to get the last frame
Add a property to get the last video frame.
See #620279
Edward Hervey [Fri, 4 Jun 2010 17:30:14 +0000 (19:30 +0200)]
decodebin2: Handle raw streams we don't want.
If a file contains raw streams (not requiring a decoder) that we do
not want (expose-all-streams == FALSE), we would previously consider
those of unknown-type (missing a decoder) ... whereas in fact it was just
because they don't need decoders.
This only applies if expose-all-streams is FALSE.
Sebastian Dröge [Thu, 3 Jun 2010 11:44:40 +0000 (13:44 +0200)]
Revert "baseaudiosink: Allocate and free the clock in NULL->READY and reverse"
This reverts commit
cea2644ed86097aadedc9e8731e78a22ffc6246b.
Many audio sink assume that they can create a clock in
the instance init function and it will be there forever
and not be cleared by the state change functions.
Sebastian Dröge [Wed, 2 Jun 2010 10:19:00 +0000 (12:19 +0200)]
baseaudiosink: Allocate and free the clock in NULL->READY and reverse
David Schleef [Wed, 2 Jun 2010 06:49:07 +0000 (23:49 -0700)]
Automatic update of common submodule
From 17f89e5 to 47683c1
David Schleef [Wed, 2 Jun 2010 05:54:33 +0000 (22:54 -0700)]
Automatic update of common submodule
From fd7ca04 to 17f89e5
Tim-Philipp Müller [Tue, 1 Jun 2010 12:00:22 +0000 (13:00 +0100)]
examples: get the right Qt moc binary to use via pkg-config
Should make us do the right thing in cases where both Qt3 and Qt4
are installed.
Fixes #620211.
Jonathan Matthew [Mon, 31 May 2010 09:28:45 +0000 (19:28 +1000)]
gio: map GIO NO_SPACE error to NO_SPACE_LEFT
Fixes bug #620140.
Sebastian Dröge [Fri, 28 May 2010 06:27:29 +0000 (08:27 +0200)]
configure: Remove (now) useless check for cbrt
David Schleef [Thu, 3 Dec 2009 06:16:22 +0000 (22:16 -0800)]
interfaces: Use pow() instead of cbrt() for MSVC
Tim-Philipp Müller [Wed, 26 May 2010 10:54:51 +0000 (11:54 +0100)]
Automatic update of common submodule
From 357b0db to fd7ca04
Edward Hervey [Wed, 26 May 2010 06:51:09 +0000 (08:51 +0200)]
audiorate: Fix buffer offset_end when within tolerance.
This fixes issues if we then have downstream elements that operate
on offset/offset_end.
And add the expected timestamp in the debug logs
Sebastian Dröge [Mon, 24 May 2010 09:27:36 +0000 (11:27 +0200)]
fft: Merge kissfft 1.2.8
This reduces memory footprint for the FFT and adds
OpenMP support (but we don't use it).
Sebastian Dröge [Sat, 22 May 2010 08:05:40 +0000 (10:05 +0200)]
videotestsrc: Fixate interlaced, chroma-site and color-matrix fields if necessary
Sebastian Dröge [Sat, 22 May 2010 08:02:46 +0000 (10:02 +0200)]
videorate: Use new string fixation function from core
Sebastian Dröge [Sat, 22 May 2010 07:48:01 +0000 (09:48 +0200)]
videorate: Fixate color-matrix and chroma-site fields if necessary
Sebastian Dröge [Sat, 22 May 2010 07:39:30 +0000 (09:39 +0200)]
videorate: Fixate the interlaced field if necessary
Fixes bug #619310.
Sebastian Dröge [Sat, 22 May 2010 06:55:21 +0000 (08:55 +0200)]
typefindfunctions: Add IVF typefinder
Tim-Philipp Müller [Fri, 21 May 2010 17:16:07 +0000 (18:16 +0100)]
videorate: pass object to logging functions, use GST_DEBUG_FUNCPTR
Tim-Philipp Müller [Thu, 20 May 2010 14:14:30 +0000 (15:14 +0100)]
pbutils: add basic descriptions for new WebM and VP8 types
Sebastian Dröge [Thu, 20 May 2010 12:21:19 +0000 (14:21 +0200)]
oggdemux: Fix sizes again, this time for real
Sebastian Dröge [Thu, 20 May 2010 11:58:14 +0000 (13:58 +0200)]
oggdemux: Fix size checks
Sebastian Dröge [Thu, 20 May 2010 08:19:29 +0000 (10:19 +0200)]
oggdemux: Drop all other Ogg VP8 header packets and make VP8 mapping check a bit more strict
Sebastian Dröge [Thu, 20 May 2010 06:52:49 +0000 (08:52 +0200)]
ogg: Some more minor adjustments for the VP8 Ogg mapping
Sebastian Dröge [Wed, 19 May 2010 19:35:19 +0000 (21:35 +0200)]
ogg: Update to the latest VP8 mapping
Philip Jägenstedt [Mon, 10 May 2010 03:53:22 +0000 (05:53 +0200)]
typefind: Detect WebM as video/webm
Refactor matroska_type_find into ebml_check_header and a new
matroska_type_find and webm_type_find.
Sebastian Dröge [Fri, 14 May 2010 11:31:42 +0000 (13:31 +0200)]
oggdemux: Fix granulepos->key granule calculation for Dirac
Sebastian Dröge [Fri, 14 May 2010 09:02:38 +0000 (11:02 +0200)]
oggdemux: Add support for mapping specific granulepos to key granule mapping
Sebastian Dröge [Wed, 5 May 2010 11:59:57 +0000 (13:59 +0200)]
ogg: Implement Ogg VP8 mapping
Sebastian Dröge [Tue, 27 Apr 2010 13:24:54 +0000 (15:24 +0200)]
riff: Add support for On2 VP8
Alessandro Decina [Wed, 19 May 2010 14:17:19 +0000 (16:17 +0200)]
playbin2: fix a typo introduced by
9d753824.
video/x-raw-float => audio/x-raw-float. Fixes #619090.
Sebastian Dröge [Tue, 18 May 2010 06:45:52 +0000 (08:45 +0200)]
playbin2: Don't put "raw" subtitle types in the raw caps for decodebin2
We handle them from the autoplug-continue signal, where the caps supported
by the subtitle sink or overlay are known already.
Sebastian Dröge [Sat, 15 May 2010 19:15:02 +0000 (21:15 +0200)]
configure: Use = instead of == in shell scripts for equality checks
Tim-Philipp Müller [Fri, 14 May 2010 17:23:11 +0000 (18:23 +0100)]
Automatic update of common submodule
From 4d67bd6 to 357b0db
Sebastian Dröge [Fri, 14 May 2010 15:24:14 +0000 (17:24 +0200)]
appsrc: Always take the object lock when accessing the caps
Fixes bug #618625.
Sebastian Dröge [Fri, 14 May 2010 15:17:33 +0000 (17:17 +0200)]
playsink: Don't fail if subtitles are used but only audio is available and no visualizations
Instead simply disable displaying of the subtitles for now, as was
intended by that part of code...
Fixes bug #610866.
Sebastian Dröge [Fri, 14 May 2010 15:13:17 +0000 (17:13 +0200)]
playsink: Fix deadlock caused from an additional lock instead of unlock
Also improve debug output for the playsink lock.
Sebastian Dröge [Thu, 13 May 2010 10:16:38 +0000 (12:16 +0200)]
videoscale: Use passthrough mode if width and height are not changed
It doesn't matter if the PAR changes or not, processing of every pixel
is only necessary when the width or height changes.
Wim Taymans [Thu, 13 May 2010 10:03:07 +0000 (12:03 +0200)]
riff: relax width and height constraints
Increase the acceptable video sizes from [16,4096] to [1, MAX].
See #618392
Sebastian Dröge [Thu, 13 May 2010 06:05:09 +0000 (08:05 +0200)]
video: Use simple fraction multiplication functions instead of going through GValues
Sebastian Dröge [Mon, 10 May 2010 15:09:28 +0000 (17:09 +0200)]
videoscale: Add a unit test for checking if the negotiation works as expected
Sebastian Dröge [Mon, 10 May 2010 15:09:28 +0000 (17:09 +0200)]
videoscale: Try harder to keep the DAR if possible
Fixes bug #371108.
Sebastian Dröge [Mon, 10 May 2010 13:13:20 +0000 (15:13 +0200)]
videoscale: Log PAR and DAR of input and output caps when setting caps
Sebastian Dröge [Mon, 10 May 2010 12:52:15 +0000 (14:52 +0200)]
videoscale: Set input width/height if the output caps don't have any width or height
Andoni Morales [Mon, 10 May 2010 11:01:44 +0000 (13:01 +0200)]
videoscale: Try to keep DAR when scaling
Fixes bug #371108.
Olivier Crête [Mon, 10 May 2010 23:09:28 +0000 (19:09 -0400)]
basertpaudiopayload: Add extra frame for non-complete frame lengths
Some payloaders like rtpg729pay can add a shorter frame at the end of a
RTP packet. We need to count it like a full frame for timestamps.
https://bugzilla.gnome.org/show_bug.cgi?id=618324
Olivier Crête [Mon, 10 May 2010 22:53:29 +0000 (18:53 -0400)]
basertpaudiopayload: Set duration on buffers
Set the duration of the buffers from their size
Sebastian Dröge [Tue, 11 May 2010 14:12:49 +0000 (16:12 +0200)]
videotestsrc: Fixate PAR to 1/1 if possible
Sebastian Dröge [Tue, 11 May 2010 08:07:01 +0000 (10:07 +0200)]
configure: Check for GTK+ 3.0 and if it's not available for GTK+ 2.0
Sebastian Dröge [Mon, 10 May 2010 10:44:41 +0000 (12:44 +0200)]
ximagesink: Check if the X context is allocated before using it
It should be allocated at these places already or the state changes
would have failed... but better add an additional check here.
Sebastian Dröge [Mon, 10 May 2010 10:28:29 +0000 (12:28 +0200)]
ximagesink: Post an error message on the bus if no supported pixmap formats can be found
Might fix bug #615851.
Edward Hervey [Fri, 7 May 2010 17:49:57 +0000 (19:49 +0200)]
ffmpegcolorspace : whooops
Edward Hervey [Fri, 7 May 2010 17:21:13 +0000 (19:21 +0200)]
ffmpegcolorspace: more minor cleanups
Edward Hervey [Fri, 7 May 2010 15:16:28 +0000 (17:16 +0200)]
ffmpegcolorspace: speedup caps transformation
* don't re-create our possible caps every single time, just use the
template caps.
* don't intersect the caps against the template, basetransform has already
done that for us.
62% speedup of _transform_caps() (instruction calls, measured with callgrind)
Edward Hervey [Fri, 7 May 2010 10:19:25 +0000 (12:19 +0200)]
uridecodebin: add the 'expose-all-streams' property from decodebin2
API: expose-all-streams
https://bugzilla.gnome.org/show_bug.cgi?id=617868
Edward Hervey [Thu, 6 May 2010 16:50:51 +0000 (18:50 +0200)]
decodebin2: Add a property to not expose/decode all streams
API : expose-all-streams
If disabled:
* only the streams that CAN be decoded and match the final caps will have a
decoder plugged in and be exposed.
* the streams that COULD HAVE BEEN decoded but do not match the finals caps
will not have a decoder plugged in and will not be exposed.
If no decoder is available to decode a certain stream, then the missing element
message will still be emitted regardless of the value of the property.
https://bugzilla.gnome.org/show_bug.cgi?id=617868
Edward Hervey [Thu, 6 May 2010 15:47:12 +0000 (17:47 +0200)]
decodebin2: rename are_raw_caps to are_final_caps, correct comment
https://bugzilla.gnome.org/show_bug.cgi?id=617868
Wim Taymans [Fri, 7 May 2010 15:16:37 +0000 (17:16 +0200)]
sdpmessage: add new TIAS bandwidth modifier
Add TIAS modifier as specified in RFC 3890.
Do some whitespace fixes.
Stefan Kost [Thu, 6 May 2010 21:10:22 +0000 (00:10 +0300)]
audioconvert: disambigue comment due to popular demand
Write "target depth" instead of "our depth" or previous ambigous "out depth".
Mark Nauwelaerts [Thu, 6 May 2010 13:40:34 +0000 (15:40 +0200)]
playsink: disconnect signals in some more cleanup cases
Wim Taymans [Thu, 6 May 2010 11:10:54 +0000 (13:10 +0200)]
oggdemux: don't seek when no current chain
Avoid a crash when we try to seek when there is no current chain.
Wim Taymans [Thu, 6 May 2010 10:21:38 +0000 (12:21 +0200)]
oggdemux: ignore the skeleton start time
Ignore the skeleton start time as it is usually wrong for live streams
and we have the needed logic to calculate it anyway.
Wim Taymans [Thu, 6 May 2010 10:06:09 +0000 (12:06 +0200)]
oggdemux: wait for headers before exposing chains
Wait until we have all the stream headers before we start exposing the streams
of a chain.