Stefan Kost [Thu, 8 Oct 2009 14:49:39 +0000 (17:49 +0300)]
ffmpegcolorspace: add perf-log-category and log suboptimal operation
Log if we use an intermediate colorspace for conversion.
Jan Schmidt [Thu, 8 Oct 2009 09:59:36 +0000 (10:59 +0100)]
Automatic update of common submodule
From 19fa4f3 to a3e3ce4
Jan Schmidt [Wed, 7 Oct 2009 23:17:21 +0000 (00:17 +0100)]
decodebin2: Fix type-punning warning
Sebastian Dröge [Sat, 26 Sep 2009 10:56:36 +0000 (12:56 +0200)]
decodebin2: Chains with an exposed endpad are complete too
This allows partial group changes, i.e. demuxer2 in the example below
goes EOS but has a next group and audio2 stays the same.
/-- >demuxer2---->video
demuxer--- \--->audio1
\--->audio2
Sebastian Dröge [Sat, 26 Sep 2009 10:47:53 +0000 (12:47 +0200)]
decodebin2: Use the iterate internal links function instead of string magic to get multiqueue srcpads
Sebastian Dröge [Thu, 24 Sep 2009 12:56:48 +0000 (14:56 +0200)]
uridecodebin: Don't post missing plugin messages twice
decodebin2 already posts them after emitting the unknown-type signal,
there's no need to post another one.
Sebastian Dröge [Sat, 26 Sep 2009 10:17:49 +0000 (12:17 +0200)]
decodebin2: Rewrite autoplugging and how groups of pads are exposed
This now keeps track of everything that is going on, creates
a tree of chains and groups to allow "demuxer after demuxer" scenarios
and allows chained Oggs with multiple streams (needs oggdemux or playbin2 fixes).
Also document everything in detail and give a general overview of what
decodebin2 is doing at the top of the sources.
Fixes bug #596183, #563828 and #591677.
Stefan Kost [Wed, 7 Oct 2009 14:45:33 +0000 (17:45 +0300)]
ximagesink: only start event thread if needed
The event thread is doing 20 wakeups per second to poll the events. If one
runs ximagesink with handle-events=false and handle-expose=false then we can
avoid the extra thread.
Edward Hervey [Wed, 7 Oct 2009 14:56:28 +0000 (16:56 +0200)]
theoraenc: Make the default quality property 48.
This guarantees that people who use theoraenc without modifying any
properties will end up with a reasonably good quality output.
48 is also the default of the encoder_example application shipped with
libtheora.
Benjamin Otte [Wed, 7 Oct 2009 09:48:37 +0000 (11:48 +0200)]
tests/check/libs/video.c: Update strides for Y41B
Tim-Philipp Müller [Wed, 7 Oct 2009 09:32:17 +0000 (10:32 +0100)]
rtspconnection: we can use GLib 2.18 API unconditionally now
Tim-Philipp Müller [Wed, 7 Oct 2009 09:13:59 +0000 (10:13 +0100)]
configure: bump GLib requirement to 2.18
Bump required GLib version as per the release planning docs.
Tim-Philipp Müller [Sun, 4 Oct 2009 23:33:32 +0000 (00:33 +0100)]
docs: clarify GstTuner docs in two places
Tim-Philipp Müller [Fri, 25 Sep 2009 14:32:18 +0000 (15:32 +0100)]
v4l: fix compiler warning
Fix 'variable may be used uninitialized' compiler warning (which is
true in theory, but can't actually ever happen, since we always
call the function with check=FALSE).
Fixes #596313.
Stefan Kost [Wed, 7 Oct 2009 08:56:35 +0000 (11:56 +0300)]
build: sprintf, sscanf need stdio.h
Stefan Kost [Tue, 15 Sep 2009 12:26:06 +0000 (15:26 +0300)]
xvimagesink: only start event thread if needed
The event thread is doing 20 wakeups per second to poll the events. If one runs
xvimagesink with handle-events=false and handle-expose=false then we can avoid
the extra thread.
Benjamin Otte [Wed, 7 Oct 2009 07:58:27 +0000 (09:58 +0200)]
Update Since tags for NV12/NV21
They are added in 0.10.26 now, not 0.10.25
Benjamin Otte [Wed, 23 Sep 2009 13:31:50 +0000 (15:31 +0200)]
[videotestsrc] Make checkers-8 pattern create 8x8 instead of 16x16 tiles
Benjamin Otte [Wed, 23 Sep 2009 09:03:57 +0000 (11:03 +0200)]
[ffmpegcolorspace] Fix NV12 and NV21 with odd width and height
Benjamin Otte [Wed, 23 Sep 2009 08:25:02 +0000 (10:25 +0200)]
Add NV12 and NV21 formats
Benjamin Otte [Mon, 21 Sep 2009 16:49:42 +0000 (18:49 +0200)]
[video] Fix Y41B
Chroma components should be aligned on 4byte boundaries.
https://bugzilla.gnome.org/show_bug.cgi?id=595849
Benjamin Otte [Mon, 21 Sep 2009 16:49:06 +0000 (18:49 +0200)]
[videotestsrc] Fix Y41B
Chroma components should be aligned on 4byte boundaries.
https://bugzilla.gnome.org/show_bug.cgi?id=595849
Sebastian Dröge [Wed, 7 Oct 2009 05:28:15 +0000 (07:28 +0200)]
streamvolume: Define cbrt() if it's not available
Fixes build on Win32, bug #597537.
Sebastian Dröge [Thu, 24 Sep 2009 14:05:58 +0000 (16:05 +0200)]
factorylist: Use gst_caps_can_intersect() instead of _intersect()
This is faster and results in less allocations.
Sebastian Dröge [Sat, 26 Sep 2009 10:10:21 +0000 (12:10 +0200)]
decodebin2: Don't set the external ghostpads blocked but only their targets
Pad blocks should never be done on external pads as outside elements
might want to use their own pad blocks on them and this will lead to
conflicts and deadlocks.
Sebastian Dröge [Sat, 26 Sep 2009 10:04:55 +0000 (12:04 +0200)]
decodebin2: Only use the object lock for protecting the subtitle elements
Using the decodebin lock will result in deadlocks if the subtitle encoding
is accessed from a pad-added handler.
Sebastian Dröge [Sat, 26 Sep 2009 16:11:32 +0000 (18:11 +0200)]
playbin2: Improve debugging of pad blocks
Sebastian Dröge [Wed, 23 Sep 2009 14:07:36 +0000 (16:07 +0200)]
playbin2/playsink: Use gst_object_ref_sink() instead of calling both separately
David Schleef [Wed, 7 Oct 2009 02:59:11 +0000 (19:59 -0700)]
configure: Add an 'else' to pangocairo check
Otherwise it exits if it fails.
David Schleef [Wed, 7 Oct 2009 02:35:50 +0000 (19:35 -0700)]
videotestsrc: add pattern with out-of-gamut colors
Adds a pattern with out-of-gamut colors in a checkerboard
pattern with in-gamut neighbors. Useful for checking YCbCr->RGB
color matrixing. Correct matrixing and clamping will cause the
checkerboard pattern to be invisible.
Wim Taymans [Tue, 6 Oct 2009 17:17:49 +0000 (19:17 +0200)]
rtsp: use CLOSE_SOCKET() instead of close()
Use CLOSE_SOCKET instead of directly calling close() because it does the right
thing for windows.
Fixes #597539
Robert Swain [Thu, 1 Oct 2009 12:19:41 +0000 (14:19 +0200)]
audioresample: fix printf variable type
Change printf variable type from %lu to %" G_GUINT64_FORMAT " as it
should be for guint64.
Fixes #596981
Jan Schmidt [Wed, 30 Sep 2009 22:22:35 +0000 (23:22 +0100)]
ffmpegcolorspace: Use the ffmpegcolorspace debug category
Move gstffmpegcodecmap debug to the ffmpegcolorspace category
Jan Schmidt [Tue, 22 Sep 2009 10:58:26 +0000 (11:58 +0100)]
gdppay: Don't repeat tags buffers for every new segment
Only send a tag buffer when one is received, not after every new segment
event/update.
David Schleef [Tue, 29 Sep 2009 03:25:35 +0000 (20:25 -0700)]
typefind: detect 'ftypqt ' as video/quicktime
Jan Schmidt [Tue, 6 Oct 2009 18:47:00 +0000 (19:47 +0100)]
back to development -> 0.10.25.1
Jan Schmidt [Mon, 5 Oct 2009 12:56:15 +0000 (13:56 +0100)]
Release 0.10.25
Jan Schmidt [Mon, 5 Oct 2009 12:49:10 +0000 (13:49 +0100)]
Update .po files
Jan Schmidt [Thu, 1 Oct 2009 16:17:55 +0000 (17:17 +0100)]
0.10.24.4 pre-release
Sebastian Dröge [Thu, 1 Oct 2009 08:37:38 +0000 (10:37 +0200)]
pango: Unpremultiply Cairo's ARGB to match GStreamers ARGB
Wim Taymans [Mon, 28 Sep 2009 20:06:11 +0000 (22:06 +0200)]
playsink: make the lock recursive for now
Fixes #583255
Wim Taymans [Mon, 28 Sep 2009 19:54:03 +0000 (21:54 +0200)]
playsink: fix the vis property getter
Christian F.K. Schaller [Wed, 30 Sep 2009 17:06:56 +0000 (18:06 +0100)]
Add missing file to spec file
Sebastian Dröge [Thu, 17 Sep 2009 14:57:48 +0000 (16:57 +0200)]
cddabasesrc: Fix string leaks in the unit test and a leak in cddabasesrc
Jonathan Matthew [Thu, 17 Sep 2009 13:42:52 +0000 (23:42 +1000)]
cddabasesrc: ignore URI fragments that look like device paths
Rhythmbox uses cdda:// URIs of the form cdda://track#device, which
worked before the fix for bug #321532.
Also adds a check for negative track numbers and some unit tests for URI
parsing.
Fixes bug #595454.
Jan Schmidt [Thu, 17 Sep 2009 00:20:45 +0000 (01:20 +0100)]
0.10.24.3 pre-release
Michael Smith [Tue, 15 Sep 2009 22:23:49 +0000 (15:23 -0700)]
vorbistag: don't ever return NULL in list of strings.
Edward Hervey [Mon, 14 Sep 2009 10:18:33 +0000 (12:18 +0200)]
playsink: Expose mute,volume,vis-plugin and font-desc properties
https://bugzilla.gnome.org/show_bug.cgi?id=594623
Edward Hervey [Wed, 9 Sep 2009 10:42:04 +0000 (12:42 +0200)]
GstPlaySink: Expose 'reconfigure' as an action signal.
Edward Hervey [Wed, 9 Sep 2009 09:17:28 +0000 (11:17 +0200)]
GstPlaySink: Expose flags as a gobject property.
Edward Hervey [Tue, 8 Sep 2009 09:35:20 +0000 (11:35 +0200)]
playback: Register playsink as an element.
This allows using playsink from outside the playback plugin.
Add code to be able to request the sink pads using standard GStreamer API.
TODO : expose GObject properties/signals.
Stefan Kost [Sat, 12 Sep 2009 11:55:06 +0000 (14:55 +0300)]
docs: add new gst_stream_volume_get_type to types file
This is needs to get Gobject features to show up in the docs.
David Schleef [Sat, 12 Sep 2009 22:48:11 +0000 (15:48 -0700)]
oggdemux: Fix duration calculation for truncated files
If the last page of a stream has a granulepos of -1, that is,
it doesn't complete a packet, we need to continue to search
for the last granulepos.
Sebastian Dröge [Sat, 12 Sep 2009 12:01:20 +0000 (14:01 +0200)]
introspection: Build pkgconfig before all libraries and set PKG_CONFIG_PATH
This way g-ir-scanner can find the gstreamer-*-0.10 pkg-config files.
Jan Schmidt [Sat, 12 Sep 2009 01:23:07 +0000 (02:23 +0100)]
theoraenc: Fix a string leak in _getcaps()
Jan Schmidt [Fri, 11 Sep 2009 22:49:11 +0000 (23:49 +0100)]
0.10.24.2 pre-release
Jan Schmidt [Fri, 11 Sep 2009 20:44:18 +0000 (21:44 +0100)]
check: Improve audioresample test
Make the audioresample test work with CK_FORK=no, and
turn a g_print into a GST_INFO.
Benjamin Otte [Fri, 11 Sep 2009 20:09:06 +0000 (22:09 +0200)]
videotestsrc: Fix crashes with even widths
The fix for green lines introduced by commit
35fdfcc6258c66ba462a4330a35deffb0f2b501d caused invalid memory accesses
for even widths. This patch fixes it.
Sebastian Dröge [Fri, 11 Sep 2009 13:11:41 +0000 (15:11 +0200)]
playbin2: Implement GstStreamVolume interface
Sebastian Dröge [Fri, 11 Sep 2009 13:04:42 +0000 (15:04 +0200)]
volume: Implement GstStreamVolume interface
Sebastian Dröge [Fri, 11 Sep 2009 12:54:17 +0000 (14:54 +0200)]
interfaces: API: Add GstStreamVolume interface
Fixes bug #567660.
Wim Taymans [Fri, 11 Sep 2009 10:20:10 +0000 (12:20 +0200)]
rtsp: properly fix the HTTP manual mode
When we're not parsing HTTP, return EPARSE when we get an HTTP
message.
Tim-Philipp Müller [Fri, 11 Sep 2009 09:16:15 +0000 (10:16 +0100)]
mixertrack: add READONLY and WRITEONLY flags
Should really have been READABLE and WRITABLE, but those are hard to
add whilst maintaining backwards compatibility. See #343615.
API: GST_MIXER_TRACK_READONLY
API: GST_MIXER_TRACK_WRITEONLY
Tim-Philipp Müller [Fri, 11 Sep 2009 09:02:54 +0000 (10:02 +0100)]
ringbuffer: fix build against core that has debugging disabled
The macro is called GST_DISABLE_GST_DEBUG, not GST_DISABLE_DEBUG.
Sebastian Dröge [Fri, 11 Sep 2009 05:38:28 +0000 (07:38 +0200)]
videorate: Add Since marker for the new skip-to-first property
Olivier Crête [Fri, 11 Sep 2009 05:36:10 +0000 (07:36 +0200)]
videorate: Make videorate work with a live source
Add a property that makes videorate skip to the first buffer it
receives instead of padding the stream from segment start to the
first real buffer.
Fixes bug #567928.
Sebastian Dröge [Fri, 11 Sep 2009 05:20:49 +0000 (07:20 +0200)]
fft: Mark one function as const and add notes that the structs should be private in 0.11
Stefan Kost [Thu, 10 Sep 2009 19:28:19 +0000 (22:28 +0300)]
ringbuffer: add human readable format names when logging
Add string array with human readable names for format and type to be used in log
statements.
Wim Taymans [Thu, 10 Sep 2009 16:19:36 +0000 (18:19 +0200)]
basertppay: don't print RTP timestamps as clocktime
Don't try to print the RTP timestamp as a GstClockTime, it's just a guint32.
Fixes #594757
Sebastian Dröge [Thu, 10 Sep 2009 14:55:31 +0000 (16:55 +0200)]
playbin(2): Document that the volume property uses a linear scale
Fixes bug #571610.
Wim Taymans [Thu, 10 Sep 2009 12:04:53 +0000 (14:04 +0200)]
rtsp: don't return EPARSE
Don't blindly return EPARSE when http mode is disabled.
Restore old http mode after temporarily setting it to TRUE.
Wim Taymans [Thu, 10 Sep 2009 10:38:16 +0000 (12:38 +0200)]
baseaudiosink: add ugly backward compat hack
Check for pulsesink < 0.10.17 because it includes code that is now included in
baseaudiosink. Disable that code in baseaudiosink to be compatible with the
older version.
Benjamin Otte [Thu, 10 Sep 2009 08:56:29 +0000 (10:56 +0200)]
ffmpegcolorspace: Handle YVU9/YUV9 conversion with odd widths
A green border could be visible when converting to Y444 or RGB, because
the last chroma samples weren't copied correctly
Benjamin Otte [Thu, 10 Sep 2009 08:43:37 +0000 (10:43 +0200)]
videotestsrc: Fix YVU9 and YUV9
- Buffer sizes were computed different from ffmpegcolorspace
- Green bar on right size for widths not divisable by 4
Benjamin Otte [Thu, 10 Sep 2009 08:08:28 +0000 (10:08 +0200)]
videotestsrc: Fix image for odd widths in some formats
videotestsrc rounds chroma down. This causes it to omit the last chroma
value completely for odd widths when the chroma is downsampled.
This patch special cases the last pixel to not be rounded down.
Sebastian Dröge [Thu, 10 Sep 2009 08:02:58 +0000 (10:02 +0200)]
oggdemux: Handle kate and cmml as sparse streams too
Tim-Philipp Müller [Thu, 10 Sep 2009 08:00:16 +0000 (10:00 +0200)]
oggdemux: Better handling of sparse streams by sending segment updates
Fixes bug #397419.
Stefan Kost [Thu, 10 Sep 2009 06:43:28 +0000 (09:43 +0300)]
docs: tell a biit more about uri-decodebin and buffering
Wim Taymans [Wed, 9 Sep 2009 16:24:44 +0000 (18:24 +0200)]
baseaudiosink: take clock time in setcaps
Take the time of the clock so that the last_time field is set. This is important
for sinks that restart their internal ringbuffer after a caps change and need to
know the last know position.
Wim Taymans [Wed, 9 Sep 2009 16:24:15 +0000 (18:24 +0200)]
audioclock: add some more debug
Sebastian Dröge [Wed, 9 Sep 2009 14:44:24 +0000 (16:44 +0200)]
theoraenc: Print a debug message with supported formats
Benjamin Otte [Mon, 7 Sep 2009 15:29:38 +0000 (17:29 +0200)]
theora: Check supported input formats in getcaps function
We want to fail early when an older libtheora release is used that does
not support Y444 or Y42B formats, so use a getcaps function that does
this.
Benjamin Otte [Fri, 4 Sep 2009 19:37:04 +0000 (21:37 +0200)]
theora: Implement support in theoraenc for Y444 and Y42B
Fixes bug #594165.
Benjamin Otte [Fri, 4 Sep 2009 18:23:52 +0000 (20:23 +0200)]
theora: Refactor the buffer copy code
Benjamin Otte [Fri, 4 Sep 2009 14:59:49 +0000 (16:59 +0200)]
theora: Split yuv_buffer creation into its own function
Benjamin Otte [Fri, 4 Sep 2009 14:49:08 +0000 (16:49 +0200)]
theora: Split out buffer resize in its own function
Benjamin Otte [Fri, 4 Sep 2009 12:06:09 +0000 (14:06 +0200)]
theora: Add assertions that functions don't fail
Some functions in libtheora can return an error, but that error cannot
ever happen inside theoraenc. In those cases assert that it doesn't.
Wim Taymans [Wed, 9 Sep 2009 14:21:57 +0000 (16:21 +0200)]
seek: make stop state configurable
Make it easy to experiment with different stop states (NULL and READY)
Wim Taymans [Wed, 9 Sep 2009 14:19:32 +0000 (16:19 +0200)]
baseaudiosink: correct for clock reset
When going to NULL, we reset the ringbuffer so that it starts beck from 0. We
also make sure that the clock is updated with the elapsed time so that it
alsways increments even when the ringbuffer goes back to 0. When this happened
we need to adjust the sample position for the reset ringbuffer.
Fixes #594136
Wim Taymans [Wed, 9 Sep 2009 14:17:02 +0000 (16:17 +0200)]
baseaudiosink: whitespace fixes
Wim Taymans [Wed, 9 Sep 2009 14:16:40 +0000 (16:16 +0200)]
ringbuffer: add more debug
Wim Taymans [Wed, 9 Sep 2009 08:25:33 +0000 (10:25 +0200)]
whitespace fixes
Tim-Philipp Müller [Tue, 8 Sep 2009 16:59:30 +0000 (17:59 +0100)]
videosink: add "show-preroll-frame" property
Add a property to disable rendering of video frames during preroll. This
will only work for videosinks that use the new ::show_frame() vfunc instead
of overriding basesink's preroll and render vfuncs directly.
API: GstVideoSink:show-preroll-frame
Tim-Philipp Müller [Tue, 8 Sep 2009 16:43:26 +0000 (17:43 +0100)]
ximagesink, xvimagesink: use new GstVideoSink::show_frame() vfunc
Tim-Philipp Müller [Tue, 8 Sep 2009 17:19:19 +0000 (18:19 +0100)]
video: add GstVideoSinkClass::show_frame()
Add ::show_frame() vfunc which maps to basesink's ::preroll and ::render
vfuncs and add some gtk-doc chunks.
API: GstVideoSinkClass::show_frame()
Tim-Philipp Müller [Tue, 8 Sep 2009 15:00:47 +0000 (16:00 +0100)]
navigation: don't do stuff inside g_return_val_if_fail() statements
Or it will all fall apart if someone compiles with -DG_DISABLE_ASSERT.
Havard Graff [Mon, 31 Aug 2009 18:24:22 +0000 (20:24 +0200)]
navigation: Fix compiler warning with MSVC
Fixes bug #594275.
Havard Graff [Mon, 31 Aug 2009 18:31:56 +0000 (20:31 +0200)]
basertpdepayload: fix event forwarding
Havard Graff [Mon, 31 Aug 2009 18:36:37 +0000 (20:36 +0200)]
rtcpbuffer: add missing break in handling of GST_RTCP_TYPE_PSFB
Fixes #594258
Wim Taymans [Tue, 8 Sep 2009 11:02:46 +0000 (13:02 +0200)]
fix whitespace