Tim-Philipp Müller
7110c7216f
vorbistag: add mapping for TOTALTRACKS and TOTALDISCS tags
...
Found TOTALTRACKS in a FLAC file instead of TRACKTOTAL,
we should at least read this if present.
http://www.hydrogenaudio.org/forums/index.php?showtopic=91496&st=0&p=773857&#entry773857
2013-02-14 00:33:56 +00:00
Thijs Vermeir
d189beda4d
videodecoder: allow parse function to not use all data on adapter
2013-02-12 10:17:46 +01:00
David Schleef
31312d586e
videodecoder: Don't blindly assign DTS to PTS
...
DTS and PTS usually have a non-zero offset between them in MPEG-TS,
so assigning DTS to PTS is almost always wrong. The other, newer
timestamp recovery code does it correctly if we leave it as invalid.
2013-02-11 11:57:08 -08:00
David Schleef
ceb6585d26
videodecoder: warn if frame list gets long
...
Decoders that get unparsed input are internally leaking nearly
every incoming buffer. This checks that case.
2013-02-11 11:56:14 -08:00
Tim-Philipp Müller
dce49a1a7e
video: fix return type of _get_palette() and add since markers to docs
...
'const gpointer' is not the same as 'gconstpointer', see
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35928 .
2013-02-06 12:43:51 +00:00
Wim Taymans
ed6e7776f3
appsrc: negotiate before popping buffer
...
First negotiate and then try to pop a buffer from the queue. This is just
to improve the debug log.
2013-02-06 10:07:47 +01:00
Wim Taymans
d4ed3ddf6f
appsrc: always take mutex before object lock
...
The locking order is to first take the appsrc mutex and then the
object lock.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=693224
2013-02-06 10:00:27 +01:00
Wim Taymans
c1a25d2ce7
video-format: fix interlaced 4:2:0 and 4:1:0 pack/unpack
...
For interlaced vertically subsampled images we need to combine alternating
chroma lines with alternating luma lines. That is line 0 and 2 are combined
with the first line of chroma samples and line 1 and 3 with the second line
of chroma samples.
See also: https://bugzilla.gnome.org/show_bug.cgi?id=588535
2013-02-04 15:06:10 +01:00
Wim Taymans
cb7a7cd05c
video-format: add method to get palette
...
Make a new method to get the default palette for paletted formats.
2013-02-04 15:06:07 +01:00
Wim Taymans
e303b0ad33
video-format: add interlace flag
...
Add an interlaced flag that can be used to control the unpack/pack
functions.
2013-02-04 15:05:59 +01:00
Wim Taymans
d094ac49cc
riff: add more gray8 variants
2013-01-31 12:57:11 +01:00
Dirk Van Haerenborgh
a81089614b
riff: add support for raw monochrome 8-bit video
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=692930
2013-01-31 12:56:16 +01:00
Tim-Philipp Müller
664adc6e19
gst-libs: use GST_*_1_0 environment variables everywhere
...
The _1_0 suffixed environment variables override the
non-suffixed ones, so if we're in an environment that
sets the _1_0 suffixed ones, such as jhbuild, we need
to set those to make sure ours actually always get
used.
2013-01-16 10:16:27 +00:00
Tim-Philipp Müller
98c81089d1
pbutils: add description for SBC audio caps
2013-01-15 17:33:38 +00:00
Pete Beardmore
569f3a29ab
riff: add waveformatextension generic support
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=690591
2013-01-14 16:49:15 +01:00
Tim-Philipp Müller
776bae5b84
docs: fix 0.10-ism in GstTagImageType docs
...
The image type is not in the info structure in the sample,
not in the caps.
https://bugzilla.gnome.org/show_bug.cgi?id=691687
2013-01-14 11:12:03 +00:00
Nicolas Dufresne
7107e97273
videoencoder: Remove done ToDo
...
https://bugzilla.gnome.org/show_bug.cgi?id=675761
2012-12-31 19:09:01 +00:00
Nicolas Dufresne
8a233a215d
videoencoder: Documentation fix
...
https://bugzilla.gnome.org/show_bug.cgi?id=675761
2012-12-31 19:03:29 +00:00
Tim-Philipp Müller
b4def63f55
audio: don't use uninitialized variable in debug log
...
https://bugzilla.gnome.org/show_bug.cgi?id=667317
2012-12-29 14:29:53 +00:00
Tim-Philipp Müller
a3c6d0da91
encoding-profile: add special-casing for asf/wmv/wma file extensions
...
https://bugzilla.gnome.org/show_bug.cgi?id=636753
2012-12-23 15:51:51 +00:00
Tim-Philipp Müller
42f971c5eb
encoding-profile: add gst_encoding_profile_get_file_extension()
...
API: gst_encoding_profile_get_file_extension()
https://bugzilla.gnome.org/show_bug.cgi?id=636753
2012-12-23 15:26:59 +00:00
Tim-Philipp Müller
df186d5240
video: fix A420 size calculation
2012-12-22 21:04:11 +00:00
Wim Taymans
ca456ec6f9
riff: add channel masks for all formats
...
Add the channel masks for all the extensible formats
Pass the number of channels instead of reading them from caps.
2012-12-21 14:03:32 +01:00
Pete Beardmore
d2c68e602d
riff: add waveformatextension ac3 support
...
fixes #690591
2012-12-21 13:28:41 +01:00
Wim Taymans
fe93457191
audioclock: mark as using some other clock
...
We need to mark our clock as using some other clock source. Alsa source uses the
clock type to decide if it can use alsa driver timestamps or not.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=690465
2012-12-20 16:48:04 +01:00
Wim Taymans
5e04fcd2ef
audiobasesrc: init variable
...
We need to initialize this variable because we can't be sure that the subclass
will set it.
2012-12-20 16:47:56 +01:00
Thijs Vermeir
675562d362
video: use appropriate printf format for gsize
2012-12-18 15:31:52 +01:00
Thijs Vermeir
2887485358
rtp: fix compiler warning
...
comparison is always true due to limited range of data type
2012-12-18 15:27:48 +01:00
Tim-Philipp Müller
68f366a8d3
audiobasesrc: bail out if subclass posts an error
...
Use new ringbuffer ERROR state to make all the various
threads bail out correctly when the subclass posts an
error. It's a bit iffy to communicate this properly
between the different bits of code.
https://bugzilla.gnome.org/show_bug.cgi?id=690197
2012-12-17 20:50:32 +00:00
Tim-Philipp Müller
4f49c7a33b
audioringbuffer: add GST_AUDIO_RING_BUFFER_STATE_ERROR state
...
API: GST_AUDIO_RING_BUFFER_STATE_ERROR
https://bugzilla.gnome.org/show_bug.cgi?id=690197
2012-12-17 20:50:32 +00:00
Thibault Saunier
e79f0e801e
encodebing: Use the preset_name as the factory name and preset as the name of the preset
...
The naming is not perfect, but at least we can keep the exact same behaviour as
before.
2012-12-17 10:12:11 -03:00
Thiago Santos
929edc2572
audiobasesrc: Always resync the ringbuffer on the first buffer
...
In SKEW mode, use next_sample == -1 to check for the first sample
when starting to read samples so it resyncs the ringbuffer and
timestamps are ok.
Suggestion from Teemu Katajisto <teemu.katajisto@digia.com>
https://bugzilla.gnome.org/show_bug.cgi?id=648359
2012-12-17 11:47:34 +01:00
Tim-Philipp Müller
3f583351d4
pbutils: add some more flags and file extensions to internal media type descriptions table
...
For later use.
https://bugzilla.gnome.org/show_bug.cgi?id=636753
https://bugzilla.gnome.org/show_bug.cgi?id=549111
2012-12-15 14:08:26 +00:00
Wim Taymans
65c5ecd270
rtspconnection: add limit to queued messages
...
Add a limit to the amount of queued bytes or messages we allow on the watch.
API: GstRTSPConnection::gst_rtsp_watch_set_send_backlog()
API: GstRTSPConnection::gst_rtsp_watch_get_send_backlog()
2012-12-14 11:36:58 +01:00
Sebastian Dröge
3f82e919dd
libs: Use foo/foo.h as single-include header consistently everywhere
...
https://bugzilla.gnome.org/show_bug.cgi?id=688785
2012-12-12 17:13:10 +00:00
Tim-Philipp Müller
e05abf0ef1
docs: fix up some more GstXOverlay -> GstVideoOverlay
...
https://bugzilla.gnome.org/show_bug.cgi?id=689740
2012-12-10 13:40:26 +00:00
Sebastian Dröge
0bb5c6c012
videodecoder: Only keep track of timestamps if the subclass is parsing data
...
Otherwise we just pass through the timestamps directly and don't
need to waste additional memory for them.
Fixes bug #689814 .
2012-12-10 11:51:02 +00:00
Sebastian Rasmussen
d4b6f3c1a0
rtspmessage: Add several missing g-i annotations
...
https://bugzilla.gnome.org/show_bug.cgi?id=689873
2012-12-10 10:58:12 +01:00
Thibault Saunier
7358cba017
encodebin: Make use of the new preset_name when setting a preset
...
The behaviour is sensibly changed here. Instead of purely falling when a
preset is set on the #GstEncodingProfile, we now make sure that the
element that is plugged corresponds to the one specified as preset. Then,
if we have a preset_name, we use it, if it fails, we fail (we might rather
just keep working even without setting the element properties?)
+ Add tests that it behave correctly
2012-12-05 17:48:38 -03:00
Thibault Saunier
6a7f688939
encoding-profile: Let the user decide what preset name to use
...
It was possible to decide only what #GstElement implementing #GstPreset
to use during the encoding, we can now let the user select a specific preset previously
saved using #gst_preset_save_preset specifying the name chosen when it was saved
in the gst_encoding_profile_set_preset_name.
Actually loading a preset with %NULL as a name would have always failed, so
in the current state of the API that feature is unusable
API:
gst_encoding_profile_set_preset_name
gst_encoding_profile_get_preset_name
2012-12-05 17:36:21 -03:00
Thiago Santos
26d72a73f5
pbutils: encoding-profile: fix _new function introspection docs
...
Makes the parameter accept NULL as input for GI bindings
2012-12-04 13:19:26 -03:00
Tim-Philipp Müller
fbff6c6fb1
audioencoder: add some more debug info and remove obsolete comment
2012-12-02 12:33:43 +00:00
Wim Taymans
b511f938d4
rtsp: add method to parse options list
2012-11-27 11:15:34 +01:00
Tim-Philipp Müller
8827437b61
audio: remove bogus Since marker from docs
...
It was causing perl warnings in gtk-doc code.
2012-11-21 23:19:14 +00:00
Tim-Philipp Müller
020eb24dcf
app: fix g-i annotation for gst_app_src_push_buffer()
...
It takes ownership of the buffer.
2012-11-21 21:53:13 +00:00
Wim Taymans
ce904ec551
rtsprange: add string conversion for new formats
2012-11-21 16:25:24 +01:00
Wim Taymans
fdf904db32
rtsprange: add method to convert ranges to GstClockTime
...
Add a method to convert the values of GstRTSPRange to GstClockTime.
Add unit tests for the conversions.
API: gst_rtsp_range_get_times()
2012-11-21 15:35:46 +01:00
Wim Taymans
f1669d7d9c
range: don't overwrite unit field
2012-11-21 15:29:05 +01:00
Wim Taymans
0bf50cd3d8
range: add g_return_if check
2012-11-21 15:29:05 +01:00
Sebastian Dröge
7af386fdaf
libs: Fix last commit by using correct include paths and only include existing headers
2012-11-21 11:12:57 +01:00