Mark Nauwelaerts
75fe950c33
gst-libs: restore original full padding
2012-09-10 11:45:44 +02:00
Pontus Oldberg
a2f8ec4f5a
ringbuffer: add support for timestamps
...
Make it possible for subclasses to provide the timestamp (as an absolute time
against the pipeline clock) of the last read data.
Fix up alsa to provide the timestamp received from alsa. Because the alsa
timestamps are in monotonic time, we can only do this when the monotonic clock
has been selected as the pipeline clock.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=635256
2012-09-10 11:34:14 +02:00
Mark Nauwelaerts
a29fab200c
audio{de,en}coder: use GstClockTime parameters where appropriate
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=683672
2012-09-10 11:20:50 +02:00
Tim-Philipp Müller
5101adf740
Remove some #define GLIB_DISABLE_DEPRECATION_WARNINGS that are no longer needed
2012-09-10 01:27:18 +01:00
Tim-Philipp Müller
879e6ab35c
appsrc: don't clear/free GCond twice
2012-09-10 01:16:41 +01:00
Tim-Philipp Müller
c4bd7c2391
discoverer: port to new GLib thread API
2012-09-10 01:10:33 +01:00
Thibault Saunier
91cdd763eb
rtsp: port to the new GLib thread API
2012-09-09 20:41:06 -03:00
Thibault Saunier
39a907d04d
video: port to the new GLib thread API
2012-09-09 20:41:06 -03:00
Thibault Saunier
dc5bb008a3
audio: port to the new GLib thread API
2012-09-09 20:41:06 -03:00
Thibault Saunier
acde0579f8
app: port to the new GLib thread API
2012-09-09 20:41:06 -03:00
Tim-Philipp Müller
37f9177817
video/x-3ivx -> video/mpeg, mpegversion=4
2012-09-10 00:28:15 +01:00
Tim-Philipp Müller
9b8cbec590
discoverer: extract audio depth correctly
...
But we should only do that if it comes straight from a
container or wavparse, not if it comes from a decoder,
otherwise it's probably not really meaningful.
2012-09-09 21:11:20 +01:00
Tim-Philipp Müller
bd12b82538
discoverer: reflow some code to avoid gst-indent ping-pong
2012-09-09 19:48:54 +01:00
Tim-Philipp Müller
2079a8c12b
Remove glib-compat-private.h stuff we don't need any more
...
It's all been ported to the latest GLib API now.
2012-09-09 18:36:49 +01:00
Tim-Philipp Müller
202cd3c17c
install-plugins: constify _install_*sync() details array arguments
2012-09-09 18:29:40 +01:00
Mark Nauwelaerts
d4c1b160ef
videoencoder: only set invalid DTS equal to PTS for keyframe
...
Also add a bit more debug.
See also https://bugzilla.gnome.org/show_bug.cgi?id=679443
2012-09-07 17:41:52 +02:00
Tim-Philipp Müller
21c61586ad
rtpbasepayload: error out if no CAPS event was received before buffers
...
Most payloaders set/send their own output format from the setcaps
function, so if we don't get input caps, things probably wont' work
right, even if the input format is fixed (as in the case of the mpeg-ts
payloader for example).
https://bugzilla.gnome.org/show_bug.cgi?id=683428
2012-09-06 18:23:22 +01:00
Tim-Philipp Müller
3d006f6d2a
rtpbasepayload: assume input caps are accepted if subclass has no set_caps vfunc
...
Not that anyone should ascribe too much meaning to these return
values in the age of sticky caps.
2012-09-06 17:47:01 +01:00
Mark Nauwelaerts
20806e4c16
videoencoder: plug some leaks
2012-09-06 13:04:56 +02:00
Mark Nauwelaerts
c9d3f32cc9
audioencoder: plug some leaks
2012-09-06 12:16:59 +02:00
Mark Nauwelaerts
bd67736851
rtpbasedepay: indicate packet loss using GAP event
2012-09-05 12:02:32 +02:00
Mark Nauwelaerts
cd2e795154
videooverlaycomposition: add some _get_argb and _get_ayuv functions
...
... that will handle automatic conversion to indicated format.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=683180
2012-09-05 10:15:51 +02:00
Wim Taymans
668ce33384
update for basesink change
2012-09-04 12:18:11 +02:00
Tim-Philipp Müller
ba7d738d9e
video/x-xvid -> video/mpeg,mpegversion=4
2012-09-03 18:56:26 +01:00
Jan Schmidt
041c16b47d
On a still-frame begin message, drain out the decoder and send it.
...
Fixes still frame handling on DVDs
2012-09-02 23:19:09 -07:00
Jan Schmidt
acadc94279
Revert "videodecoder: Send serialised events immediately, after we're pre-rolled."
...
This reverts commit ef5316fbb0
.
2012-09-02 22:59:58 -07:00
Tim-Philipp Müller
7c2e7b1a4f
text/plain + text/x-pango-markup -> text/x-raw
2012-09-02 02:45:41 +01:00
Tim-Philipp Müller
a99a1042b9
gst_message_new_duration() -> gst_message_new_duration_changed()
2012-09-02 01:27:17 +01:00
Jan Schmidt
5dafecad31
audiodecoder: Handle GAP events in place of segment updates
...
Use them to trigger generation of an empty output buffer or
to send pending events downstream and trigger pre-roll
2012-08-31 12:42:12 -07:00
Jan Schmidt
ef5316fbb0
videodecoder: Send serialised events immediately, after we're pre-rolled.
...
Only hold back events until the first buffer is generated, then just
send them directly. Otherwise, important events like 'still-frame' are
held forever, waiting for a frame that'll never arrive.
2012-08-31 12:40:36 -07:00
Mark Nauwelaerts
89228e911c
videooverlaycomposition: allow more formats for rectangle pixel data
...
... adding AYUV, and allowing for ARGB or RGBA endian-independent.
2012-08-30 12:12:39 +02:00
Mark Nauwelaerts
9262e00007
videodecoder: parsing loop must ensure for a current frame
2012-08-28 14:31:06 +02:00
Mark Nauwelaerts
dd4836a8d1
videooverlaycomposition: stricter check on input variables
2012-08-28 11:01:46 +02:00
Tim-Philipp Müller
7970a0ac71
docs: add docs for some of the video info macros
2012-08-24 17:23:08 +01:00
Wim Taymans
a994ebcf1b
videoencoder: allow 0 sized output frames
...
Allow 0 sized frames in gst_video_encoder_allocate_output_frame(). Theora
encodes repeat frames, for example, as 0 sized buffers.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=681196
2012-08-24 16:56:00 +02:00
Tim-Philipp Müller
392d3225ce
rtp: fix buffer leak when gst_rtp_buffer_map() fails because of broken data
...
Makes libs/rtp unit test valgrind clean.
2012-08-22 09:20:55 +01:00
Wim Taymans
1968127650
rtp: Fix extension data support
...
Allocate header, payload and padding in separate memory blocks in
gst_rtp_buffer_allocate().
don't use part of the payload data as storage for the extension data but store
it in a separate memory block that can be enlarged when needed.
Rework the one and two-byte header extension to make it reserve space for the
extra extension first.
Fix RTP unit test. Don't map the complete buffer or make assumptions on the
memory layout of the underlaying implementation. We can now always add extension
data because we have a separate memory block for it.
2012-08-22 09:56:39 +02:00
Wim Taymans
2d6fd0f72d
rtp: fix extension length calculation
2012-08-22 09:56:39 +02:00
Wim Taymans
f548e58385
rtp: remove unused field
2012-08-22 09:56:39 +02:00
Tim-Philipp Müller
5b715cdb90
video/x-dvd-subpicture -> subpicture/x-dvd
2012-08-20 21:36:15 +01:00
Wim Taymans
211b8b6004
video-frame: only copy the visible region
...
Make sure to only copy the visible region instead of assuming that the complete
stride is visible (which is not the case when padding is used).
2012-08-20 16:17:27 +02:00
Wim Taymans
6702a2f64c
videometa: add more debug
2012-08-20 16:14:07 +02:00
Wim Taymans
9583d1bfc9
video-info: update padding
...
Update the alignement structure with the new padding values because they could
have been changed when the padding was increased to align the strides.
2012-08-20 11:12:31 +02:00
Wim Taymans
9a2344c2e5
video: expose gst_video_info_align
...
Expose the gst_video_info_align function that adds padding and does stride
alignment on a GstVideoInfo. Move this previously private function to
video-info.co
Move the definition of the alignment structure to video.h where it can be picked
up by both the bufferpool and the video-info.
2012-08-20 10:50:59 +02:00
Wim Taymans
f56e1222da
videopool: improve alignment
...
Check the alignment of the strides in gst_video_info_align and increase the
padding on the frame until the strides are aligned.
2012-08-20 10:25:39 +02:00
Wim Taymans
ca77174f91
videopool: improve alignment
...
Align each plane instead of each component, we might otherwise apply the
alignment adjustement twice if a plane contains multiple components.
2012-08-20 10:06:15 +02:00
Wim Taymans
2bffebcb02
video-format: fix docs a little
2012-08-20 10:06:15 +02:00
Sebastian Dröge
bdc056c12d
video: Add methods to return a list of all pending GstVideoCodecFrames
2012-08-16 12:13:25 +02:00
Tim-Philipp Müller
d1dc65d6ee
fft: shouldn't ever call exit()
...
Libraries shouldn't ever just call exit().
Let's hope we'll remember to cherry-pick this commit again
if we ever update these files.
https://bugzilla.gnome.org/show_bug.cgi?id=681904
2012-08-16 00:11:00 +01:00
Edward Hervey
def07410ef
audiobasesink: Avoid resetting ringbuffer when not needed
...
If the ringbuffer was configured to the same caps as previously, we
don't need to reconfigure it.
2012-08-14 18:56:00 +02:00