Mark Nauwelaerts
bcc5a89a98
videooverlaycomposition: make API meta oriented
...
... and as such more consistent with other buffer meta components.
2012-07-03 14:27:35 +02:00
Mark Nauwelaerts
fa72c94a53
videooverlaycomposition: remove some post-port obsolete parts
2012-07-03 14:27:34 +02:00
Tim-Philipp Müller
1396f804be
pango: only map video buffer memory if actually needed
...
No need to map the video buffer if we're just going to attach
the meta; but if we map, we should do so in READWRITE mode.
2012-07-02 19:23:47 +01:00
Tim-Philipp Müller
52056653be
pango: pass pre-multiplied alpha to overlay composition directly
...
We now support pre-multiplied alpha in the overlay composition API,
and can avoid multiple conversions if the the overlay also supports
pre-multiplied alpha. We should probably also have mapped the
buffer as READWRITE when unpremultiplying.
2012-07-02 19:23:04 +01:00
Mark Nauwelaerts
1d413ace64
videooverlaycomposition: ensure proper buffer copy
...
This is only temporary and could and should be modified to use
regular buffer copy once https://bugzilla.gnome.org/show_bug.cgi?id=679145
is resolved.
2012-07-02 14:34:14 +02:00
Mark Nauwelaerts
d37422da2b
tests: video: port video overlay composition test to 0.11
2012-07-02 14:34:14 +02:00
Mark Nauwelaerts
563d3dd0f6
tests: video: ensure initialization and plug sample leak
2012-07-02 14:34:14 +02:00
Mark Nauwelaerts
c849c9c66b
tests: video: tweak RGB caps test
2012-07-02 14:34:14 +02:00
Tim-Philipp Müller
1046936be5
tests: add test for switching video effects at run time
...
Bases on test app in bug #614296 . Doesn't work reliably yet,
leads to not-negotiated errors sooner or later, even when
it's the same element being re-plugged.
2012-06-30 18:40:20 +01:00
Mark Nauwelaerts
0fba95a7b1
videooverlaycomposition: fix some refcounting and avoid possible NULL use
2012-06-29 18:56:09 +02:00
Tim-Philipp Müller
01270a447e
examples: update for new force-aspect-ratio default
2012-06-29 11:46:23 +01:00
Tim-Philipp Müller
cc8b526c00
ximagesink, xvimagesink: default to force-aspect-ratio=true
2012-06-29 11:43:46 +01:00
Tim-Philipp Müller
df70b2d2ce
audiocdsrc: send TOC event downstream if we're in continuous mode
...
If we're in continuous mode where we'll play the entire CD from
start to finish, send a TOC event downstream so any downstream
muxers can write a TOC to indicate where the various tracks
start and end.
2012-06-28 23:41:16 +01:00
Tim-Philipp Müller
c09512ee99
pango: remove support for video/x-surface again which is 0.10 stuff
...
This needs to be done and can be done differently/properly in 0.11.
2012-06-28 23:15:34 +01:00
Tim-Philipp Müller
b381af7d2d
theoraenc: clean up some property descriptions
...
We now require a sufficiently-recent libtheora.
2012-06-28 23:07:16 +01:00
Mark Nauwelaerts
0325a3bdae
pango: use ported GstVideoOverlayComposition functionality
...
Based on commits by Thibault Saunier <thibault.saunier@collabora.co.uk>
2012-06-28 18:16:25 +02:00
Mark Nauwelaerts
e94022806f
videooverlaycomposition: port to 0.11
...
... which also entails porting video-blend
Fixes #678384 .
2012-06-28 18:16:20 +02:00
Tim-Philipp Müller
3a1b53c117
tests: update unit test for vorbistag change to GST_TAG_DATE_TIME
...
https://bugzilla.gnome.org/show_bug.cgi?id=677712
2012-06-27 23:50:07 +01:00
Oleksij Rempel
bc94374a8f
vorbistag: store DATE tag in GST_TAG_DATE_TIME instead of GST_TAG_DATE
...
The DATE field may contain dates, partial dates, or dates with
time. Store the result in GST_TAG_DATE_TIME, so we can express
properly which fields are present or not, and can store the
time if there is one, and can serialise and deserialise the
tag without loss of information and without making up
information that's not there.
Instead of using short YYYY-MM-DD form we will store
long YYYY-MM-DDTHH:MM:SS+TS date and time.
According to this documentation we can do it:
http://wiki.xiph.org/VorbisComment#Date_and_time
This datetime format is needed by apps where more information
is needed. For example voice, meeting recording, etc.
https://bugzilla.gnome.org/show_bug.cgi?id=677712
2012-06-27 23:49:02 +01:00
Wim Taymans
044afd72eb
videotestsrc: set DTS and PTS, sync on DTS
2012-06-27 17:18:35 +02:00
Wim Taymans
136a3fd37f
videoencoder: make PTS and DTS handling more explicit
2012-06-27 16:56:22 +02:00
Wim Taymans
c68683c15f
videodecoder: avoid crash when getting duration
...
Check that we have a valid output_state before attempting to use it to calculate
the duration of a buffer. It is possible that we don't have a state yet, for
example when we are dropping the first buffers.
2012-06-27 16:56:22 +02:00
Sebastian Dröge
43e94eea98
videodecoder: Use GSlice to allocate the timestamp tracking structures
2012-06-27 16:42:10 +02:00
Wim Taymans
3327d13f1b
videodecoder: small cleanups
2012-06-27 14:13:02 +02:00
Wim Taymans
9f591a0bd1
videodecoder: improve PTS and DTS handling
...
Also keep track of the DTS and use it to set PTS on keyframes.
Set DTS on outgoing buffers.
2012-06-27 13:48:58 +02:00
Tim-Philipp Müller
b27c649a48
audiocdsrc: post TOC message on the bus on start-up
...
First attempt at implement the various GstToc API
bits in GstAudioCdSrc.
https://bugzilla.gnome.org/show_bug.cgi?id=668996
2012-06-26 19:53:35 +01:00
Wim Taymans
f28e2e7bea
fix interlace-mode
2012-06-26 17:15:49 +02:00
Jan Schmidt
1718697ae2
videodecoder: Don't leak a ref to frames in reverse playback
2012-06-26 22:26:57 +10:00
Wim Taymans
1ed29bdb90
video-frame: handle map errors
...
Error out when something failed
2012-06-26 11:12:00 +02:00
Wim Taymans
59e99e827e
videometa: improve debug error reporting
2012-06-26 11:12:00 +02:00
Sebastian Dröge
6e4d7e466d
playsink: The default signal handler should be the one that triggers pad blocks and reconfiguration
...
Conflicts:
gst/playback/gstplaysink.c
2012-06-26 11:05:42 +02:00
Sebastian Dröge
78b2fc762b
playsink: Make sure to always block all pads before reconfiguring the pipeline
...
Fixes bug #678762 .
Conflicts:
gst/playback/gstplaysink.c
2012-06-26 10:59:59 +02:00
Sebastian Dröge
7ab77c6b32
playsink: Prevent NULL pointer dereference in last change
2012-06-25 16:08:47 +02:00
Sebastian Dröge
a038e5e583
playsink: Unlink pads when switching between enabling/disabling the deinterlace chain
...
See bug #678762 .
2012-06-25 16:02:23 +02:00
Sebastian Dröge
67bbfdde4e
playsink: Connect to the value-changed signal of the child colorbalance element and proxy it
2012-06-25 15:23:19 +02:00
Sebastian Dröge
c290fabf36
playsink: Only remove the xoverlay/colorbalance elements when necessary
...
They are not added again by every code path, e.g. when switching
only the deinterlace flag and are missing then.
Fixes bug #678763 .
Conflicts:
gst/playback/gstplaysink.c
2012-06-25 15:22:55 +02:00
Sreerenj Balachandran
a44058c12e
videoutils: Use g_list_free_full instead of g_list_foreach and g_list_free
2012-06-25 11:39:08 +02:00
Tim-Philipp Müller
a9d12f7bae
pbutils: update discoverer for GstToc API changes
2012-06-24 22:47:05 +01:00
Tim-Philipp Müller
a821d428bb
audio: make sure g-i doesn't parse orc-generated gstaudiopack.h file
2012-06-24 00:28:40 +01:00
Tim-Philipp Müller
100fe89aa2
tags: use gst_tag_register_static()
2012-06-23 15:44:16 +01:00
Tim-Philipp Müller
95442368bd
smartencoder: use gst_quark_from_static_string()
2012-06-23 14:55:51 +01:00
Tim-Philipp Müller
43e4b44bb1
uridecodebin, tests: update for gst_element_make_from_uri() changes
2012-06-23 14:55:31 +01:00
Sebastian Dröge
df63268e5a
appsrc: Actually store any URI that is set and return this when asked for the URI
2012-06-21 11:16:36 +01:00
Wim Taymans
fcc1e1f457
update for bus api changes
2012-06-20 12:34:01 +02:00
Andreas Frisch
92c04f12cc
fix compiler warning
2012-06-20 12:34:01 +02:00
Arnaud Vrac
b1ff7f95ad
playsinkconvertbin: Fix conversion bin when sink has both raw and non-raw caps
...
Fixes bug #678403 .
2012-06-20 11:12:26 +01:00
Wim Taymans
21e9f64ab2
update for task api change
2012-06-20 10:33:24 +02:00
Jan Schmidt
b7759a4d42
videodecoder: Don't give out bogus frame deadlines
...
Make sure the frame deadline was set before calculating the
max_decode_time. Fixes problems with ffmpeg skipping frames when
it doesn't need to, when the input doesn't have full timestamping
(divx in avi)
2012-06-20 03:45:14 +10:00
Jan Schmidt
9a79a145b1
videodecoder: Remove gst_video_decoder_get_timestamp function
...
Interpolating the timestamps from the picture numbers
does more harm than good, getting it wrong in a lot of
cases (especially reverse playback). Removing it in favour
of simply incrementing the timestamps until there's
something better
2012-06-20 03:40:29 +10:00
Jan Schmidt
45cf9f651b
videodecoder: EOS handling for reverse mode.
...
Handle EOS correctly in reverse mode by treating it
as a final discont and flushing out whatever we can.
2012-06-20 01:43:36 +10:00