Commit graph

11097 commits

Author SHA1 Message Date
Mark Nauwelaerts
fa63d7181d video: add GST_VIDEO_INFO_COMP_BITS 2012-02-06 10:52:01 +01:00
Sebastian Dröge
103c59af24 video: Add GST_VIDEO_INFO_COMP_WIDTH 2012-02-06 09:53:22 +01:00
Tim-Philipp Müller
99bff2329e theoraenc: remove obsolete properties
https://bugzilla.gnome.org/show_bug.cgi?id=669328
2012-02-05 11:00:39 +00:00
David Schleef
beacccc396 videoscale: Add nearest/linear scaling for NV12 2012-02-04 13:41:47 -08:00
David Schleef
e4f01106d0 videoscale: Add AYUV64 path to Lanczos 2012-02-04 13:41:47 -08:00
David Schleef
19141759c1 theoraenc: Use GAP flag when possible
Set TH_ENCCTL_SET_DUPLICATE_FLAG when we see a gap flag, to
indicate to the encoder that the current frame is a duplicate
of the previous frame.
2012-02-04 13:41:47 -08:00
Wim Taymans
1f4b819a90 tests: fix volume test 2012-02-03 15:01:50 +01:00
Wim Taymans
a8a4ff9428 tests: video testsrc unit test 2012-02-03 12:53:49 +01:00
Wim Taymans
d8b6baacae tests: fix more unit tests 2012-02-03 12:41:10 +01:00
Wim Taymans
62b43b3bcd tests: don't set NULL caps 2012-02-03 12:09:34 +01:00
Wim Taymans
c24df0e50f gdp: fixup unit tests 2012-02-03 11:38:55 +01:00
Wim Taymans
3a11210bc2 gdppay: fixup for changed caps
Try to send the streamheader after the first buffer.
2012-02-03 11:38:15 +01:00
Wim Taymans
1dfb84e3c5 dataprotocol: don't define default Category
Since we now include this into the unit tests directly, don't define the default
category macro because it conflicts with check.
2012-02-03 11:37:21 +01:00
Wim Taymans
48b190c7be tests: fix audioresample test 2012-02-03 10:47:22 +01:00
Wim Taymans
8c894ce8b4 tests: fix audiorate test
We need to add the layout to the audio caps.
2012-02-03 09:57:21 +01:00
Wim Taymans
6c4367f6e2 audiorate: use default event handler
Use the default event handler for unknown events.
2012-02-03 09:56:56 +01:00
Wim Taymans
fe3e9b90dd audioencoder: don't unref caps parameter
Fix refcounting on incomming caps to make sure we don't unref it too much.
2012-02-03 09:51:00 +01:00
Ryan Lortie
e21501043b autogen.sh: allow calling from out-of-tree
https://bugzilla.gnome.org/show_bug.cgi?id=667665
2012-02-02 17:25:08 +00:00
Christian Fredrik Kalager Schaller
c1aa6e835e Update spec file 2012-02-02 16:10:45 +00:00
Vincent Penquerc'h
b4d6263f38 oggdemux: fix granpos interpolation violating max keyframe distance
In case many packets fit on a page, we may not see a granpos for
a while, and granpos interpolation can wrap the 'frames since last
keyframe' part of the granpos, generating a granpos which is smaller
than what it should be.

This is fixed by detecting keyframe packets (at least for Theora),
and updating the last keyframe granpos from this.

This may still be generating potentially wrong granpos for streams
which have a Theora like granpos (keyframes, a max keyframe distance
and a count of frames since last keyframe), and which allow implicit
granules on packets. For these streams, a custom keyframe detection
routine should be plugged into their GstOggStream mapper.

https://bugzilla.gnome.org/show_bug.cgi?id=669164
2012-02-02 13:06:29 +00:00
Wim Taymans
b3eb4e5bd4 playsink: call the right default query handler
We need to call the default query handler of the proxy pad because only that one
will forward the query to the target pad in case of the allocation query.
2012-02-02 12:14:15 +01:00
Tim-Philipp Müller
c61f794fc2 typefindfunctions, subparse: fix for gst_type_find_register() API change 2012-02-02 01:35:21 +00:00
Tim-Philipp Müller
24749aa2db discoverer: mark GError argument of "discovered" signal with STATIC_SCOPE
So the error is passed to the callback as is without a copy being made.
2012-02-01 19:34:22 +00:00
Vincent Penquerc'h
b647c627e4 vorbisparse: pedantically recognize undefined headers too 2012-02-01 16:46:13 +00:00
Vincent Penquerc'h
809546c324 vorbisparse: fix header detection
It was matching non header packets.

This fixes various leaks, where buffers would be pushed onto a headers
list, but never popped.

Might also fix corruption as those buffers were dropped from the output
silently...

https://bugzilla.gnome.org/show_bug.cgi?id=669167
2012-02-01 16:40:35 +00:00
Tim-Philipp Müller
4738e02bbf playback: suppress GValueArray deprecation warnings for the time being
until this gets sorted out and we have a viable alternative.

https://bugzilla.gnome.org/show_bug.cgi?id=667228
2012-02-01 15:50:52 +00:00
Sebastian Dröge
1cb4029d00 audioencoder: gst_pad_get_pad_template_caps() now returns a new reference, don't forget to unref 2012-02-01 16:33:30 +01:00
Sebastian Dröge
5aa6748151 audio{enc,dec}oder: Check if srcpad caps are a subset of the template caps 2012-02-01 16:32:53 +01:00
Sebastian Dröge
2fe94cad44 vorbis: Use new audio encoder/decoder base class API for srcpad caps 2012-02-01 16:27:47 +01:00
Sebastian Dröge
0370b0dc12 audioencoder: Add gst_audio_encoder_set_output_format() function for consistency 2012-02-01 16:27:47 +01:00
Sebastian Dröge
dbd43c7dd3 audiodecoder: Rename set_outcaps() to set_output_format() and take a GstAudioInfo as parameter 2012-02-01 16:27:47 +01:00
Wim Taymans
29cc1d2ce1 tests: fix audioresample formats 2012-01-31 17:56:04 +01:00
Wim Taymans
f95d340758 tests: improve tests 2012-01-31 17:47:40 +01:00
Wim Taymans
a948398e85 tests: fix some more tests 2012-01-31 16:56:03 +01:00
Wim Taymans
d389b12df9 tests: update after controller changes 2012-01-31 16:12:33 +01:00
Wim Taymans
850c9eec7c defs: update for new API 2012-01-31 16:12:16 +01:00
Stefan Sauer
ace90e6e2b controller: adapt to control-source type changes 2012-01-31 12:28:30 +01:00
Stefan Sauer
1696b14f8f controller: rename control-bindings
gst_control_binding_xxx -> gst_xxx_control_binding for consistency.
2012-01-30 21:38:41 +01:00
Wim Taymans
848e107146 oggdemux: don't blindly forward all unknown events
It causes the caps event to be send downstream and cause negotiation failures.
2012-01-30 20:58:34 +01:00
Wim Taymans
be0cadac03 update for HEADER flag changes 2012-01-30 17:16:17 +01:00
George Kiagiadakis
6f6f079dd9 tests: test 16-bit rgb formats in test_parse_caps_rgb
https://bugzilla.gnome.org/show_bug.cgi?id=667681
2012-01-30 15:56:45 +00:00
George Kiagiadakis
1251fb3fc0 video: Use host endianness when generating caps for 16-bit rgb formats
This is necessary in order to match what the caps strings in
video.h contain for 16-bit rgb formats and also to match how
gst_video_format_parse_caps expects them.

https://bugzilla.gnome.org/show_bug.cgi?id=667681
2012-01-30 15:56:44 +00:00
Wim Taymans
fa400c372b videopool: update for allocator api update 2012-01-30 13:10:40 +01:00
Jonathan Matthew
8478ef2e20 tests: use playbin, not playbin2 2012-01-30 09:57:47 +01:00
Olivier Crête
e391118125 Use macros to register boxed types thread safely 2012-01-28 14:53:21 +00:00
Olivier Crête
cb044668d3 rtcpbuffer: Set the map.size to the current size of the RTCP packet
maxsize is the maximum size
2012-01-27 19:01:55 +01:00
Olivier Crête
b993b8457d rtpcbuffer: To write inside a RTCP buffer, you must be able to read
So always require read
2012-01-27 19:01:55 +01:00
Olivier Crête
6b559a50fb rtcpbuffer: Return errors if the map mode doesn't match the actions 2012-01-27 19:01:55 +01:00
Olivier Crête
ab359d36d5 rtcpbuffer: Don't try to modify read-only buffers 2012-01-27 19:01:55 +01:00
Wim Taymans
30af2fe7d6 audiosrc: wait on the right cond variable
This broke with a merge commit
2012-01-27 18:27:26 +01:00