Vincent Penquerc'h
065f1603b0
pbutils: allow describing unfixed caps if they share the same media type
...
Caps description and missing plugin code does not really need caps to
be fixed, and indeed they may not be if giving encodebin unfixed caps
that correspond to an unknown encoder or muxer.
So we relax the check, and allow unfixed caps if all the structures
refer to the same media type.
2013-07-01 10:51:40 +01:00
Sebastian Dröge
a00f4f239a
videodecoder: Send all pending events with type < CAPS before sending caps
2013-07-01 11:16:34 +02:00
Mathieu Duponchelle
798ee17675
videoencoder: Send all pending events with type < CAPS before sending caps.
...
https://bugzilla.gnome.org/show_bug.cgi?id=703196
2013-07-01 11:15:21 +02:00
Sebastian Dröge
85eac2c31c
video(enc|dec)oder: Don't return not-negotiated if flushing
...
If the pad is flushing after a failed negotiation, return
GST_FLOW_FLUSHING instead from finish_frame().
https://bugzilla.gnome.org/show_bug.cgi?id=701763
2013-06-30 18:17:47 +02:00
Sebastian Dröge
50fd867a43
audioencoder: Don't return not-negotiated if flushing
...
If the pad is flushing after a failed negotiation, return
GST_FLOW_FLUSHING instead from finish_frame().
https://bugzilla.gnome.org/show_bug.cgi?id=701763
2013-06-30 18:17:42 +02:00
Edward Hervey
a9e4750674
pbutils: descriptions: Allow smart codec tag handling
...
We already have internally the information on what type of stream (audio,
video, container, subtitle, ...) a certain caps is.
Instead of forcing callers to specify which CODEC_TAG category a certain
caps is, use that information to make a smart choice.
Does not break previous behaviour of gst_pb_utils_add_codec_description_to_tag_list
(if tag is specified it will be used, if caps is invalid it will be rejected,
...).
https://bugzilla.gnome.org/show_bug.cgi?id=702215
2013-06-28 07:09:53 +02:00
Edward Hervey
b81ca93de2
xmptag: Add a debug category
...
Instead of using the default category
2013-06-28 07:09:34 +02:00
Ognyan Tonchev
25fdde908a
rtpbasepayload: Do not leak the event when segment is delayed
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=703119
2013-06-26 15:45:30 +02:00
Wim Taymans
32a1deb404
rtsp: make read uncancelable when reading a message
...
When we start to read a message, we need to continue reading until the end of
the message or else we lose track and cause parse errors. Use a variable
may_cancel to avoid cancelation after we read the first byte until we have
the complete message.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=703088
2013-06-26 15:06:00 +02:00
Mathieu Duponchelle
97e68b36c7
audiodecoder: Don't return not-negotiated if flushing
...
If the pad is flushing after a failed negotiation, return GST_FLOW_FLUSHING.
https://bugzilla.gnome.org/show_bug.cgi?id=701763
2013-06-25 12:51:55 -04:00
Sebastian Dröge
d28d2b37be
pbutils: Add VP9 description
2013-06-21 19:05:12 +02:00
Edward Hervey
65624afd8f
videodecoder: Fix drop frame handling at startup
...
In the unlikely case that the decoder drops a frame before the first
input frame is outputted, use the input segment (since it wasn't
carried over to the output segment yet)
https://bugzilla.gnome.org/show_bug.cgi?id=702502
2013-06-21 15:33:30 +02:00
Wim Taymans
bcc5ac5298
rtsp: dispatch when initial buffer has data
...
When we have data in the inital buffer, dispath the read function to read it
even if the socket has no data to read.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=702652
2013-06-21 11:50:33 +02:00
Wim Taymans
ad6c16fdfc
rtsp: manage writer child source better
...
Only add the write child source when we have something to write or else
we will dispatch forever without doing anything.
2013-06-20 17:28:46 +02:00
Jonas Holmberg
82e5ec553b
audioencoder: unref before memset
...
Unref allocator and input_caps in encoder context before memsetting the
context.
2013-06-19 13:56:28 +02:00
Edward Hervey
420dacb2d5
xmptag: More efficient GSList usage
...
Instead of constantly appending (which gets more and more expensive), just
prepend to the list (O(1)) and reverse the list before usage.
https://bugzilla.gnome.org/show_bug.cgi?id=702545
2013-06-19 12:01:44 +02:00
Branko Subasic
4dd5c5b808
rtpbuffer: add gst_rtp_buffer_get_payload_bytes
...
The function gst_rtp_buffer_get_payload can not be used in Python
because it lacks necessary length parameter. This patch adds a new
function, gst_rtp_buffer_get_payload_bytes, to use from Python
bindings. The new function has the advisory "Rename to:" annotation
so it can replace the gst_rtp_buffer_get_payload whan creating
bindings.
The function gst_rtp_buffer_get_extension_bytes is also added. It wraps
gst_rtp_buffer_get_extension_data which doesn't work in Python due to
incomplete annotation and because it returns the length as number of
32-bit words.
https://bugzilla.gnome.org/show_bug.cgi?id=698562
2013-06-18 11:23:40 +02:00
Ognyan Tonchev
f240d34c7e
audiobasesrc: add 2 missing gst_buffer_unmap () calls
...
There are 2 missing calls to gst_buffer_unmap () in the error handling in
create ().
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=702467
2013-06-17 16:34:26 +02:00
Sebastian Dröge
567be29db2
rtspconnection: Make sure to set a sensible default port for the GSocketConnection
...
Otherwise it will connect to port 0 if no port is given in the URI.
https://bugzilla.gnome.org/show_bug.cgi?id=701798
2013-06-10 15:31:38 +02:00
Sebastian Dröge
ff5d3313d4
Release 1.1.1
2013-06-05 18:31:27 +02:00
Sebastian Dröge
bd62595a75
videodecoder: Change GST_WARNING to a GST_DEBUG
...
It's completely normal for some decoders to queue 50-60 frames without
it causing any problems, e.g. RPi.
2013-06-04 17:49:55 +02:00
Sebastian Dröge
c06377b385
audioencoder: Remove private copy of gst_audio_info_is_equal()
...
And improve the public one a bit based on it.
2013-06-01 09:06:22 +02:00
Brendan Long
63961242df
rtspconnection: remove functions added in GLib 2.34
...
g_pollable_stream_read and g_pollable_stream_write were added in GLib 2.34,
but Ubuntu 12.04 and Debian Wheezy still use GLib 2.32.
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=701316
2013-05-31 14:12:10 +02:00
Sebastian Dröge
5065e76b1c
audio: Add gst_audio_info_is_equal()
2013-05-30 23:56:52 +02:00
Wim Taymans
0b933ff87b
rtsp: add method to get the TLS connection
2013-05-30 17:31:13 +02:00
Wim Taymans
c0f13c2513
rtsp: let the sockets be reffed by the connection
...
Don't add an extra ref to the sockets but use that of the connection.
Keep the connection around as an IOStream.
2013-05-30 13:14:46 +02:00
Wim Taymans
2fc85d3980
rtsp: Cleanup the error path
...
Make sure the watch is removed when we close the read socket because of
an error.
2013-05-30 10:50:42 +02:00
Wim Taymans
ad5632586a
rtsp: cleanup the watch reset function
2013-05-30 10:45:42 +02:00
Wim Taymans
07babdd68a
rtsp: check if the streams are still active
...
Don't try to read/write from an inactive stream. When we, for example,
transfer the second connection in tunneling mode, we are not interested anymore
on read/write activity on the old connection.
2013-05-30 10:30:09 +02:00
Wim Taymans
d09028b4c3
rtsp: use child sources instead of using the sockets
...
Use the source of the pollable input/output streams instead of
accessing the sockets directly.
2013-05-30 07:36:52 +02:00
Wim Taymans
4ada677095
rtsp: fix input/output streams for tunneling
2013-05-30 07:35:18 +02:00
Wim Taymans
4f660c388c
rtsp: don't use sockets for blocking
...
Use the blocking and non-blocking API of the input/output streams instead
of polling the sockets directly. This also allows us to simplify some
code.
2013-05-30 07:35:18 +02:00
Wim Taymans
909e119a23
rtsp: add TLS support
...
Add flag to select TLS in the transport.
Enable TLS on the socketclient when we use a TLS uri.
2013-05-30 07:35:14 +02:00
Wim Taymans
057bbae6c5
rtspconnection: use the input/output stream of clientconnection
...
Don't use the raw sockets for RTSP communication but use the IOStream.
This is needed if we are going to use TLS later.
2013-05-30 07:20:51 +02:00
Wim Taymans
2d41ee370c
rtsp: set sockets non-blocking
2013-05-30 07:20:51 +02:00
Wim Taymans
a42a7be5df
rtsp: use GSocketClient for making connections
...
Use the GSocketClient API for making connections with the server. This removes a
bit of code and gives us the ability to do TLS later.
2013-05-30 07:20:51 +02:00
Wim Taymans
15f3c995aa
Revert "rtspconnection: Use a GSocketAddressNumerator to resolve the addresses"
...
This reverts commit 15a0bb0a10
.
We should be using GSocketClient
2013-05-30 07:20:51 +02:00
Sebastian Dröge
15a0bb0a10
rtspconnection: Use a GSocketAddressNumerator to resolve the addresses
...
Instead of just trying the first possible resolution we're trying all
resolutions until one works.
2013-05-27 14:53:48 +02:00
Wim Taymans
97784b1563
video-format: fix NV16 unpack
...
We can just use the NV12 functions, the only difference is the
vertical subsampling.
2013-05-27 11:53:27 +02:00
Wim Taymans
73190bcf79
video-chroma: add interlaced flag
2013-05-27 11:25:09 +02:00
Wim Taymans
0c60f0daa4
video-chroma: add chroma resampler
...
Add functions to up/downsample chroma in horizontal and vertical
directions. These functions work in-placeand are meant to be used on the
input/output of the pack/unpack functions.
2013-05-27 11:05:07 +02:00
Wim Taymans
2924365020
video: don't perform subsampling while packing
...
Don't perform subsampling when packing but let this be done by a
separate subsampling step.
2013-05-27 11:05:06 +02:00
Wim Taymans
b5de0552a5
video: move chroma functions to separate file
2013-05-27 11:05:06 +02:00
Wim Taymans
38317e3f09
videometa: fix docs
2013-05-27 11:05:06 +02:00
Sebastian Dröge
c5e9df4b51
videoencoder: Don't require an output state to be set before allocating output buffers
2013-05-25 16:08:06 +02:00
Sebastian Dröge
b8c6413a8e
audio: Always provide a buffer in gst_audio_(enc|dec)oder_allocate_output_buffer()
...
We have no way of tell the caller of the exact error (e.g. if we're flushing),
so will have to wait until the caller uses API that returns a GstFlowReturn,
for example when pushing this buffer.
https://bugzilla.gnome.org/show_bug.cgi?id=700006
2013-05-24 16:54:46 +02:00
Sebastian Dröge
0c2c909497
video: Always provide a buffer in gst_video_(enc|dec)oder_allocate_output_buffer()
...
We have no way of tell the caller of the exact error (e.g. if we're flushing),
so will have to wait until the caller uses API that returns a GstFlowReturn,
for example when pushing this buffer.
https://bugzilla.gnome.org/show_bug.cgi?id=700006
2013-05-24 16:54:46 +02:00
Alexander Schrab
a049b102da
alsasrc: Make using driver timestamps possible
...
https://bugzilla.gnome.org/show_bug.cgi?id=699744
2013-05-20 11:25:17 +02:00
Benjamin Gaignard
e90e2bb822
dmabuf: Make sure that memory is unmapped before releasing it
...
Be sure that memory is unmapped before releasing it.
https://bugzilla.gnome.org/show_bug.cgi?id=700411
2013-05-17 09:50:23 +02:00
Tim-Philipp Müller
612e20d4f6
video: make mask arguments to gst_video_format_from_masks() unsigned
...
These should really be unsigned.
2013-05-16 11:35:58 +01:00
Benjamin Gaignard
5da2bd3216
video: fix gst_video_format_from_masks() for little endian masks with alpha
...
Need to byte-order swap the alpha mask as well in this case.
https://bugzilla.gnome.org/show_bug.cgi?id=700413
2013-05-16 10:36:20 +01:00
Michael Olbrich
ced858fa65
dmabuf: set the initial memory size to the full size
...
https://bugzilla.gnome.org/show_bug.cgi?id=700427
2013-05-16 11:17:57 +02:00
Tim-Philipp Müller
77405b97ed
video: update disted orc backup files to fix build without liborc
...
https://bugzilla.gnome.org/show_bug.cgi?id=700400
2013-05-15 18:20:50 +01:00
Arnaud Vrac
af24e23880
video: add NV16 format
...
This format is usually used by hardware video decoders for 4:2:2 sampling
https://bugzilla.gnome.org/show_bug.cgi?id=700377
2013-05-15 13:46:46 +02:00
Sebastian Dröge
be154ee9d6
audio-info: Always pass NULL as position parameter to gst_audio_info_set_format()
...
https://bugzilla.gnome.org/show_bug.cgi?id=700259
2013-05-15 09:26:56 +02:00
Nicolas Dufresne
94b7ae7767
rtpbasepayload: Delay segment event after caps
...
https://bugzilla.gnome.org/show_bug.cgi?id=700222
2013-05-14 09:50:22 +02:00
Sebastian Dröge
b401f447d2
audio-info: For more than 64 channels don't allow a channel layout
...
More than 64 channels have all channels unpositioned.
https://bugzilla.gnome.org/show_bug.cgi?id=700259
2013-05-14 09:34:21 +02:00
Mathieu Duponchelle
6f233f67ef
videodecoder: don't set the list to NULL after taking its address
2013-05-10 09:22:07 +02:00
Sebastian Dröge
2cc6a62b31
videoencoder: Make sure to push any pre-caps events before the caps are set
2013-05-09 16:05:59 +02:00
Sebastian Dröge
82f1572205
videodecoder: Make sure to not push any post-caps events before we have caps
...
and that we push pre-caps events before we push caps, even if we don't
have a GstVideoFrame yet.
2013-05-09 16:05:59 +02:00
Sebastian Dröge
ba8e7062a4
Revert "videodecoder: If a frame is to be dropped, don't update timestamps"
...
This reverts commit c9c5cd8eef
.
2013-05-09 10:37:06 +02:00
Sebastian Dröge
c9c5cd8eef
videodecoder: If a frame is to be dropped, don't update timestamps
2013-05-09 08:54:45 +02:00
Sebastian Dröge
351405d8a0
audio: Make sure to push pre-caps events before the caps event
2013-05-08 15:56:34 +02:00
Sebastian Dröge
3e4aec6e7b
video: Make sure to push pre-caps events before the caps event
...
https://bugzilla.gnome.org/show_bug.cgi?id=699894
2013-05-08 15:50:34 +02:00
Julien Moutte
6f9006c9b9
riff: Manually calculate bitrate of ADPCM streams
...
Some ADPCM encoding tools like Oxelon generate WAV files with
wrong format header declaring an invalid bitrate.
As wavparse uses the average bitrate to calculate timestamps
and duration the decoder can be confused by receiving timestamps
completely out of sync with the decoded samples.
ADPCM is a CBR audio codec so we can calculate the average bitrate
instead of trusting the format header.
https://bugzilla.gnome.org/show_bug.cgi?id=636245
2013-05-07 15:01:05 +02:00
Tim-Philipp Müller
1a83c7a36a
riff: wma can have more than 6 channels
...
Some versions anyway.
2013-05-03 16:24:55 +01:00
Michael Olbrich
25dd73521d
dmabuf: don't touch the GstMemory size
...
mem.size is the content size and should not be touch.
Save the mmap size instead.
https://bugzilla.gnome.org/show_bug.cgi?id=699566
2013-05-03 13:13:13 +02:00
Michael Olbrich
a4ba85b151
dmabuf: fix memory initialization
...
Without this the shared memory is broken
https://bugzilla.gnome.org/show_bug.cgi?id=699565
2013-05-03 13:11:14 +02:00
Michael Olbrich
72e32060b8
dmabuf: fix formating
2013-05-03 13:10:06 +02:00
Michael Olbrich
347898d516
dmabuf: handle mmap failure
...
Otherwise gstreamer may segfault trying to access MAP_FAILED.
https://bugzilla.gnome.org/show_bug.cgi?id=699470
2013-05-03 11:05:55 +02:00
Wim Taymans
b708c85535
sdp: use setter for the bandwidth
2013-04-26 10:10:41 +02:00
Sebastian Rasmussen
f7e879aa18
sdp: Store a copy of the bandwidth string
...
Otherwise we will free a string later that does not belong to us.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=698888
2013-04-26 08:41:12 +02:00
Sebastian Dröge
c72aefb620
dmabuf: Use the fallback GstMemory copy function instead of our own
...
dup() on a dmabuf only gives a new handle, not a copy, thus doesn't
do what copy() is supposed to do.
2013-04-25 17:04:50 +02:00
Sebastian Dröge
f7db63f1b8
videoencoder: Try harder to push writable buffers downstream
...
For this release the corresponding GstVideoCodecFrame before
pushing the buffer. The buffer will now be writable unless
the subclass still holds another reference to the buffer or
the frame.
2013-04-25 16:23:14 +02:00
Sebastian Dröge
0be8d14965
videodecoder: Try harder to push writable buffers downstream
...
For this release the corresponding GstVideoCodecFrame before
pushing the buffer. The buffer will now be writable unless
the subclass still holds another reference to the buffer or
the frame.
2013-04-25 16:13:10 +02:00
Wim Taymans
2de35e630c
sdp: don't leak the temp buffer
2013-04-24 14:12:20 +02:00
Wim Taymans
8a5efb0014
sdp: NULL terminate the time array
2013-04-24 14:11:49 +02:00
Wim Taymans
85debdcf05
sdp: add more functions to modify the sdp message
...
Add functions to insert, replace and remove various sdp message fields
and structures.
See: https://bugzilla.gnome.org/show_bug.cgi?id=698558
2013-04-24 13:47:47 +02:00
Tim-Philipp Müller
f5c0d61be7
Update disted orc backup files
...
Generated with 0.4.17 now.
2013-04-22 13:58:33 +01:00
Sebastian Dröge
9d309a3e06
videoencoder: Simply setcaps function
2013-04-18 09:58:37 +02:00
Sebastian Dröge
d537a21075
audioencoder: Ignore caps events if the input caps did not change
2013-04-18 09:58:36 +02:00
Sebastian Dröge
d1a08af605
audiodecoder: Ignore caps events if the input caps did not change
2013-04-18 09:58:36 +02:00
Sebastian Dröge
74f6376c53
videometa: Extend GstVideoGLTextureUploadMeta
...
https://bugzilla.gnome.org/show_bug.cgi?id=697112
2013-04-17 10:50:05 +02:00
Tim-Philipp Müller
e96ca66c36
docs: add some more audio macros
2013-04-17 09:26:40 +01:00
Sebastian Dröge
dbbcdf901c
app: Don't use $(GST_PLUGIN_LIBTOOLFLAGS) for real libraries
2013-04-16 14:09:43 +02:00
Sebastian Dröge
948a4a3632
gst: Add better support for static plugins
2013-04-15 15:52:58 +02:00
Wim Taymans
04d5dafa71
sdp: dynamically allocate buffers
...
Remove the static maximum buffer size and replace with dynamic allocation of as
much bytes as needed. Also avoids doing large allocations on the stack.
2013-04-15 15:37:17 +02:00
Wim Taymans
83a877daf6
sdp: add Since markers
2013-04-15 14:27:47 +02:00
Jose Antonio Santos Cadenas
ba1e693853
sdp: add boxed type for GstSDPMessage
...
Also added some tests of this improvement.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=697808
2013-04-15 14:27:47 +02:00
Matej Knopp
90620b236a
riff: add format=WMV3 for WMV 3 caps
...
https://bugzilla.gnome.org/show_bug.cgi?id=697665
2013-04-15 12:39:25 +02:00
Sebastian Dröge
98f41f1c39
audioringbuffer: Also reset segbase
2013-04-15 10:13:14 +02:00
Paul HENRYS
587b2721c8
audioringbuffer: Reset segdone when releasing audioringbuffer
...
https://bugzilla.gnome.org/show_bug.cgi?id=697723
2013-04-15 10:09:49 +02:00
Tom Greenwood
789ddf42a9
rtpbasedepayload: Ignore caps events if the caps did not change
...
https://bugzilla.gnome.org/show_bug.cgi?id=697672
2013-04-15 10:00:05 +02:00
Sebastian Dröge
0b83d13231
videoencoder: Ignore caps events if the caps did not change
2013-04-15 09:44:37 +02:00
Tom Greenwood
3023521366
videodecoder: Ignore caps events if the caps did not change
...
https://bugzilla.gnome.org/show_bug.cgi?id=697672
2013-04-15 09:44:36 +02:00
Víctor Manuel Jáquez Leal
52d269b6b1
videometa: gst_buffer_add_meta() can return NULL
...
https://bugzilla.gnome.org/show_bug.cgi?id=697824
2013-04-11 23:47:36 +01:00
Thomas Scheuermann
9a78542ded
rtsp: Don't use / as path if no path was provided
...
RTSP does not mandate that a non-zero-length path is used and
some devices (e.g. IQinVision IQeye 1080p) requires that a
zero-length path is used.
2013-04-08 09:09:33 +02:00
Jose Antonio Santos Cadenas
a83f96d988
sdp: Set session as permanent (t=0 0) if there is no time information
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=697277
2013-04-05 09:52:10 +02:00
Wim Taymans
a4e44df6b9
rtsp: make local_ip and remote_ip variables
...
Separate local_ip and remote_ip into separate variables for clarity.
2013-04-04 12:32:24 +02:00
Wim Taymans
4826ec4e4d
rtsp: calculate the local ip address in accept
...
Calculate the local IP address in the accept call. We need to place this IP
address in the GET reply in the X-Server-IP-Address header so that the client
knows where to send the POST to in case of tunneled RTSP. Before this patch
it used the client IP address, which would make the client send the POST request
to itself and fail.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=697092
2013-04-04 12:16:47 +02:00
Matej Knopp
c78cbd0d95
videofilter: add caps to pool config
...
Does not cause problems but it fixes a warning in the log.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=696916
2013-04-04 10:44:13 +02:00
Jose Antonio Santos Cadenas
0940dae793
sdp: Do not assign -1 to an unsigned variable, use 0 instead
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=697162
2013-04-03 09:53:22 +02:00
Jose Antonio Santos Cadenas
83468609d8
sdp: If attribute value is emply do not print colon character
...
See https://bugzilla.gnome.org/show_bug.cgi?id=697162
2013-04-03 09:52:54 +02:00
Jose Antonio Santos Cadenas
27abdf51bf
sdp: Do not add email line by default
...
As specified in rfc4566 email line is optional
See https://bugzilla.gnome.org/show_bug.cgi?id=697162
2013-04-03 09:49:18 +02:00
Tim-Philipp Müller
707d112315
docs: add since marker for new video API
2013-04-02 23:40:13 +01:00
Tim-Philipp Müller
d370a9e2c3
pbutils: add description for TrueHD audio
2013-04-02 22:56:19 +01:00
David Svensson Fors
5ef9921bcd
rtsprange: use gst_util_gdouble_to_guint64 in get_seconds
...
https://bugzilla.gnome.org/show_bug.cgi?id=696818
2013-04-02 14:33:51 -04:00
Sebastian Dröge
229d7aa910
video-format: Add GST_VIDEO_CAPS_MAKE_WITH_FEATURES() macro
2013-04-01 10:22:04 +02:00
Sebastian Dröge
f14c4bbbd7
videometa: Add caps feature #defines for video and GL texture upload meta
2013-04-01 10:22:04 +02:00
Wim Taymans
c3651a7905
videodecoder: always send the new buffer to parse functions
...
When we get a new buffer, always call the parse function, even if it is a 0
sized buffer. For theora we need to also decode 0 sized buffers.
Ideally we would like to make theoradec be packetized but that fails currently
because of oggdemux and because of the assumptions that the base class makes.
2013-03-31 18:31:37 +02:00
Wim Taymans
76d71da1c4
audiodecoder: don't make negative timestamp
...
Clamp timestamp interpollation to 0 to avoid going negative. This should not
happen, really, but until the interpolation is improved this seems better.
2013-03-31 13:46:30 +02:00
Wim Taymans
3b8d053232
videodecoder: forward stream-start immediately
2013-03-30 19:14:40 +01:00
Wim Taymans
03f658dda2
audiodecoder: forward stream-start immediately
2013-03-30 19:14:37 +01:00
Sebastian Dröge
5d499f1e14
dmabuf: Some code cleanup
2013-03-30 12:08:06 +01:00
Sreerenj Balachandran
ba33f4fd7d
pbutils: Fix the documentation build warning.
2013-03-30 10:47:37 +01:00
Sebastian Dröge
c5d5221cb2
videometa: Add documentation for GstVideoGLTextureUploadMeta
2013-03-29 16:56:25 +01:00
Sebastian Dröge
3d1322f08e
videometa: Implement copying of GstVideoGLTextureUploadMeta
2013-03-29 16:37:01 +01:00
Sebastian Dröge
5f79a8cb93
videometa: API: Add GstVideoGLTextureUploadMeta
...
This allows elements to specify a function to upload
a buffer content to a specific OpenGL texture ID. It
could be used by the vaapi elements to provide a way
for eglglessink or WebKit to upload a VA surface to
an GL texture without the respective sinks knowing
anything about VA.
2013-03-29 16:07:23 +01:00
Stefan Sauer
e4ee1dde02
audioencoder: api doc fixes.
2013-03-29 10:33:35 +01:00
Anton Belka
c1b7b2c8d6
riff: add "note" tag
...
Add GST_RIFF_TAG_note for wavparse.
https://bugzilla.gnome.org/show_bug.cgi?id=696549
https://bugzilla.gnome.org/show_bug.cgi?id=696550
2013-03-25 13:26:25 +00:00
Paul HENRYS
78a8531c75
audiobasesrc: Fix ringbuffer handling when settings caps
...
ringbuffer was released after setting values to its spec field
in gst_audio_base_src_setcaps(). This led to failure in case
gst_audio_base_src_setcaps() is called more than one time.
https://bugzilla.gnome.org/show_bug.cgi?id=696540
2013-03-25 10:16:03 +01:00
Wim Taymans
052a1d0f1e
video: set interlaced flag correctly in frame
...
We only look at the interlaced buffer flag in mixed mode, in other modes we
always need to set the interlaced flag.
2013-03-25 09:59:45 +01:00
Wim Taymans
bf642ea085
video-format: add small comment
2013-03-24 00:39:01 +01:00
Marc Leeman
0fa50b44f0
audioringbuffer: avoid division by 0 when outputting debug info
...
https://bugzilla.gnome.org/show_bug.cgi?id=695832
2013-03-15 09:06:07 +00:00
Nicola Murino
2a1dc7ca56
appsrc: fix deadlock setting pipeline in NULL state with block=true
2013-03-12 11:16:57 +01:00
Emanuele Aina
f05a95ea3c
build: Link libgstrtsp-1.0.so to libm for pow()
...
https://bugzilla.gnome.org/show_bug.cgi?id=695658
2013-03-11 19:30:13 -04:00
Víctor Manuel Jáquez Leal
47a5320f7d
appsink: update the emit-signal description
...
Update the emit-signal description according to its current signals.
https://bugzilla.gnome.org/show_bug.cgi?id=695660
2013-03-11 23:26:10 +00:00
Dirk Van Haerenborgh
e8ca0528a9
riff: never create caps with negative height
...
https://bugzilla.gnome.org/show_bug.cgi?id=695540
2013-03-11 14:23:05 +01:00
Olivier Crête
17d5dbd337
rtsprange: Add function to convert a range between formats
...
Also add unit tests.
2013-03-11 10:41:31 +01:00
Olivier Crête
0353e608f8
rtsprange: Make _to_string() be more in line with RFC 2326
...
Fix various nits to make it more in line with the RFC, also add unit tests.
2013-03-11 10:41:25 +01:00
Olivier Crête
3cfec4de73
rtsprange: Avoid going through fractions for large numbers
...
If the number of seconds exceeds 2^31, then it will be truncated if the
conversion is done using fractions, so multiply it directly.
2013-03-11 10:41:17 +01:00
Olivier Crête
203c27b42b
rtsprange: Fix conversion from UTC to GstClockTime
...
Do the difference in the right direction.
2013-03-11 10:41:09 +01:00
Olivier Crête
aef8de337c
rtspconnection: Add API to disable session ID caching in the connection
...
This is necessary to allow having more than one session in the same connection.
API: gst_rtsp_connection_set_remember_session_id()
API: gst_rtsp_connection_get_remember_session_id()
2013-03-11 10:41:00 +01:00
Josep Torra
cd1f9ec992
dmabuf: Use correct print format specifier to fix a compiler warning
2013-03-10 18:05:28 +01:00
Tim-Philipp Müller
5afc2002b0
video: navigation: minor GValue optimisation
2013-03-03 17:43:47 +00:00
Sebastian Dröge
069bcfa169
riff: Use correct print format specifiers to fix compiler warnings
2013-03-03 11:19:42 +01:00
Sebastian Dröge
87f84122bd
fft: Fix compiler errors caused by not including config.h
...
_stdint.h requires config.h to be included to properly
use the correct code to get uint8_t and friends.
2013-03-02 19:13:39 +01:00
Akihiro Tsukada
a32877125f
audio: add support for AAC pass-through
...
https://bugzilla.gnome.org/show_bug.cgi?id=694443
2013-02-27 00:38:05 +00:00
Stefan Sauer
b274ff7c21
audioringbuffer: log a few more details (e.g. obj-name)
2013-02-25 19:55:00 +01:00
Sebastian Dröge
354d7ba302
dmabuf: The dmabuf allocator has a custom alloc function, mark it as such
2013-02-22 09:07:40 +01:00
Sreerenj Balachandran
0abec3f89a
pbutils: recognise more H.264 profiles/levels
...
Add profile/level extraction for Multiview High profile
and Stereo High profile.
https://bugzilla.gnome.org/show_bug.cgi?id=694346
2013-02-21 23:55:10 +00:00
Arnaud Vrac
95266cf212
video-overlay-composition: fix ayuv/argb conversion
...
Helps when using dvbsuboverlay in connection with vaapisink
or some other video sink that wants ARGB pixels (dvbsuboverlay
attaches pixels in AYUV format, and we then convert as needed).
Alignment should not be a problem here.
2013-02-19 20:39:29 +00:00
Tim-Philipp Müller
0b329f2c22
video: add define for video formats supported by the overlay blending code
...
For use in template caps by overlay elements that use
video_overlay_composition_blend().
API: GST_VIDEO_OVERLAY_COMPOSITION_BLEND_FORMATS
https://bugzilla.gnome.org/show_bug.cgi?id=665751
2013-02-19 12:54:40 +00:00
Benjamin Gaignard
9a69f66ed1
dmabuf: Include config.h
2013-02-19 12:41:58 +01:00
Tim-Philipp Müller
1b1bb98256
allocators: add guard and minor clean-ups
2013-02-19 10:45:23 +00:00
Tim-Philipp Müller
4179fe42e0
allocators: add some since markers and misc other doc clean-ups
2013-02-19 09:40:31 +00:00
Tim-Philipp Müller
320c992b94
allocators: header clean-up
2013-02-19 09:35:10 +00:00
Sebastian Dröge
26ff0ced15
allocators: Integrate into the documentation
2013-02-19 10:05:38 +01:00
Sebastian Dröge
37f0067946
allocators: Add single-include header
2013-02-19 10:05:38 +01:00
Sebastian Dröge
76400ef226
dmabuf: Improve documentation and annotations a bit
2013-02-19 10:05:38 +01:00
Benjamin Gaignard
ceecdb8e1d
allocators: Add dmabuf-based GstMemory and GstAllocator
...
Create new GstMemory and GstAllocator base on dmabuf.
Memory is not allocated/freed by userland but mapped/unmmaped
from a dmabuf file descriptor when requested.
This allocator is included in a new lib called libgstallocators
https://bugzilla.gnome.org/show_bug.cgi?id=693826
2013-02-19 10:05:38 +01:00
Tim-Philipp Müller
6682215d9d
audio: fix GST_AUDIO_INFO_ENDIANNESS macro
2013-02-16 13:06:54 +00:00
Matej Knopp
5385a65b04
riffmedia: add systemstream to all mpeg video caps
2013-02-14 10:58:38 +01:00
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
Evan Nemerson
4d77fba46c
libs: Add missing single include headers and use them in GIRs
2012-11-21 11:01:24 +01:00
Wim Taymans
a87cd40f49
rtsprange: improve docs
2012-11-21 10:25:51 +01:00
Sebastian Dröge
15ee41dfc9
discoverer: Add support for getting the stream-id
...
https://bugzilla.gnome.org/show_bug.cgi?id=654830
2012-11-20 14:57:42 +01:00
Sebastian Dröge
e223e313b6
discoverer: Use switch/case instead of lots of ifs for the event handling
2012-11-20 14:37:51 +01:00
Sebastian Dröge
1990c45b60
videodecoder: Return the proportion directly
2012-11-20 12:21:08 +01:00
Sebastian Dröge
6228872df7
videodecoder: Rename from get_qos_info() to get_qos_proportion()
...
And only return the proportion. The earliest time already can be
retrieved from get_max_decode_time() and by renaming we allow this
to be more extensible in the future.
2012-11-20 12:08:26 +01:00
Wim Taymans
b785c66098
rtsp: avoid ABI break
...
Move new fields into structures appended at the end of the GstRTSPRange
to avoid ABI break.
2012-11-20 11:13:01 +01:00
Alessandro Decina
9042efd458
pbutils: fix transfer annotation for gst_encoding_profile_set_restriction
2012-11-20 07:17:53 +01:00
Andoni Morales Alastruey
5f55ea1ef3
videodecoder: add getter for QoS proportion and earliest_time
...
Add a getter for the QoS proportion and earliest_time to help
subclasses do better estimations based on the proportion.
API: gst_video_decoder_get_qos_info()
https://bugzilla.gnome.org/show_bug.cgi?id=687991
2012-11-19 23:57:43 +00:00
Wim Taymans
41d36b2584
rtsp: fix format string
2012-11-19 17:08:38 +01:00
Wim Taymans
fe4b415f98
rtsp: parse UTC ranges
2012-11-19 16:59:48 +01:00
Wim Taymans
b113f9697a
rtsp: parse SMPTE ranges
2012-11-19 16:15:46 +01:00
Wim Taymans
02a5940a45
range: handle parse errors better
2012-11-19 16:13:56 +01:00
Wim Taymans
84b1ee4987
rtsp: detect npt time parse errors
2012-11-19 16:04:01 +01:00
Wim Taymans
25580430b0
range: a single - is not allowed
2012-11-19 13:56:53 +01:00
Wim Taymans
db7ea32f35
range: handle ranges starting with -
...
An RTSP range that starts with a - means that the first value of the range is
the end of the stream.
2012-11-19 13:56:53 +01:00
Tim-Philipp Müller
71e46b2478
gst_adapter_prev_timestamp -> gst_adapter_prev_pts
...
https://bugzilla.gnome.org/show_bug.cgi?id=675598
2012-11-14 00:03:15 +00:00
Wim Taymans
7de757a0d4
video-format: fix plane offsets for GBR formats
...
Also make some macros to get to the R/G/B planes
Remove unused stride macros.
2012-11-13 16:22:12 +01:00
Wim Taymans
6313e5f1af
rtspconnection: improve docs
2012-11-12 14:18:00 +01:00
Tim-Philipp Müller
2ea57f30d6
pbutils: add description for Opus audio codec
...
https://bugzilla.gnome.org/show_bug.cgi?id=688151
2012-11-12 12:57:35 +00:00
Sebastian Dröge
32139f9a3d
audio: Use new GType for GThread instead of just G_TYPE_POINTER
2012-11-12 11:45:47 +01:00
Wim Taymans
af3f75f3a9
rtpbuffer: protect against empty buffers
2012-11-12 11:18:16 +01:00
Sebastian Dröge
1ebeac9a22
video: Add GBR/GBR_10LE/GBR_10BE color formats
...
Planar RGB color format used by h264
2012-11-10 22:24:08 +01:00
Sebastian Dröge
b83e67dd5a
video: Add Y444_10{LE,BE} video formats
2012-11-10 22:24:08 +01:00
Ognyan Tonchev
f67c6a768b
rtsp: fix g-i annotation for gst_rtsp_message_set_body(), take_body() and take_header()
...
https://bugzilla.gnome.org/show_bug.cgi?id=687620
2012-11-09 21:24:12 +00:00
Sebastian Dröge
d209727644
audiodecoder: Reset error count to 0 after successfully decoding a frame
2012-11-09 16:48:54 +01:00
Sebastian Dröge
d697dd6d39
videodecoder: Reset the error count to 0 after successfully decoding a frame
2012-11-09 16:47:37 +01:00
Tim-Philipp Müller
377c806685
video: don't crash when blending onto video formats that unpack to 64 bits per pixel
...
We only allocate 8 bits per component for our temp buffers, which
causes invalid memory accesses if we try to unpack formats that
unpack into a format with 16 bits per component such as e.g. v210.
We don't support blending onto those yet, so just bail out.
2012-11-07 11:17:14 +00:00
Wim Taymans
4463df5b0d
rtp: fix ntp56 parsing
2012-11-06 09:18:54 +01:00
Wim Taymans
82d327fb91
rtp: add helpers for header extensions
...
Add helpers and defines for the NTP-64 and NTP-56 header extensions.
2012-11-06 09:18:54 +01:00
Ognyan Tonchev
6318a4602a
rtsp: fix GstRTSPMessage g-i annotations for out parameters
...
https://bugzilla.gnome.org/show_bug.cgi?id=687620
2012-11-05 13:21:39 +00:00
Tim-Philipp Müller
5f59b4f7ee
Fix FSF address
...
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-03 23:05:09 +00:00
Miguel Angel Cabrera Moya
244fdcc69a
audiobasesink: use the same type as the internal type to return it
...
https://bugzilla.gnome.org/show_bug.cgi?id=687466
2012-11-02 19:52:38 +00:00
Miguel Angel Cabrera Moya
2d8edb1e86
video-blend: fix memory leak when called with invalid parameters
...
https://bugzilla.gnome.org/show_bug.cgi?id=687472
2012-11-02 19:37:26 +00:00
Miguel Angel Cabrera Moya
4b083d608e
rtspconnection: remove extra return and fix GError leak
...
https://bugzilla.gnome.org/show_bug.cgi?id=687473
2012-11-02 19:30:23 +00:00
Ognyan Tonchev
ff04a1b4c6
rtspconnection: fix g-i annotations for out parameters
...
https://bugzilla.gnome.org/show_bug.cgi?id=687421
2012-11-02 12:43:52 +00:00
Wim Taymans
5f44303925
audioringbuffer: reset spec on _release
...
Reset the caps and the audioinfo when releasing the ringbuffer.
Fixed a bug with reusing pulsesink.
2012-10-30 10:33:04 +00:00
Miguel Angel Cabrera Moya
b1318c86e8
rtpbasedepay: remove unused variable
...
https://bugzilla.gnome.org/show_bug.cgi?id=687146
2012-10-29 21:20:35 +00:00
Tim-Philipp Müller
5f45069624
pbutils: fix g-i search path for GstBase-1.0.gir
...
Fixes: Couldn't find include 'GstBase-1.0.gir' build error.
2012-10-29 13:10:15 +00:00
Tim-Philipp Müller
a4f2df6341
Revert "g-i: change g-ir-scanner arg --library=libgstfoo-X.la to --library=gstfoo-X"
...
This reverts commit e39fbe6b7e
.
Looks like we need to pass the full .la file after all in a setup
with libtool, or it might not find the library, e.g. like
ERROR: can't resolve libraries to shared libraries: gstfft-1.0
Conflicts:
gst-libs/gst/audio/Makefile.am
gst-libs/gst/pbutils/Makefile.am
Also see https://bugzilla.gnome.org/show_bug.cgi?id=603710
2012-10-29 12:47:05 +00:00
Sreerenj Balachandran
f816f94995
videodecoder: fix inappropriate compiler optimization hint macro usage
...
https://bugzilla.gnome.org/show_bug.cgi?id=679456
2012-10-28 23:09:36 +00:00
Miguel Angel Cabrera Moya
e921b5b0f3
exiftag: fix use after free and memory leak
...
https://bugzilla.gnome.org/show_bug.cgi?id=687055
2012-10-28 20:19:56 +00:00
Miguel Angel Cabrera Moya
51c4e51d9c
vorbistag: fix memory leak
...
https://bugzilla.gnome.org/show_bug.cgi?id=687057
2012-10-28 20:16:06 +00:00
Tim-Philipp Müller
973f4f09ea
audio: try harder to make g-i use the build-tree libgsttag
...
without adding additional --library= tags, which shouldn't be there.
https://bugzilla.gnome.org/show_bug.cgi?id=679315
2012-10-28 17:59:27 +00:00
Tim-Philipp Müller
9453d7c287
pbutils: try harder to make g-i use the build-tree libgsttag,-audio, and -video
...
without adding additional --library= tags, which shouldn't be there.
https://bugzilla.gnome.org/show_bug.cgi?id=679315
2012-10-28 17:59:08 +00:00
Tim-Philipp Müller
e39fbe6b7e
g-i: change g-ir-scanner arg --library=libgstfoo-X.la to --library=gstfoo-X
...
As it should be according to the man page.
https://bugzilla.gnome.org/show_bug.cgi?id=679315
2012-10-28 17:35:57 +00:00
Tim-Philipp Müller
26b88987ee
pbutils: add caps description for Apple ProRes video
2012-10-25 17:16:58 +01:00
Ognyan Tonchev
6e5ea441e7
rtsp: Don't use invalid sockets
...
return false from dispatch () if the read and write sockets have been
unset in tunnel_complete ()
Setting up HTTP tunnels causes segfaults since the watch for the second
connection is not destroyed anymore in tunnel_complete () and the connection
will still be used even though it is not valid anymore.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=686276
2012-10-25 17:59:47 +02:00
Tim-Philipp Müller
883dc41848
pbutils: fix installer detail string version number
...
Should still be '1.0' not '1.1'. Fixs pbutils unit test.
2012-10-25 14:41:22 +01:00
Mark Nauwelaerts
45d802b63f
audiodecoder: track forced decoding state
2012-10-24 14:46:22 +02:00
Sebastian Dröge
3c1041d5eb
Revert "gst: Add better support for static plugins"
...
This reverts commit d2d79e3bc2
,
which was accidentially pushed.
2012-10-24 13:26:26 +02:00
Sebastian Dröge
d2d79e3bc2
gst: Add better support for static plugins
2012-10-24 12:10:44 +02:00
Sebastian Dröge
1813701ef2
audiobasesink: Add explanation to the GAP event handling code
2012-10-24 11:22:29 +02:00
Sebastian Dröge
b793d0bfae
audiobasesink: Properly handle GAP events
...
These are now converted into silence buffers if they have
a duration or cause the ringbuffer and clock to be started
if they don't have a duration.
Fixes bug #685273 .
2012-10-24 11:19:05 +02:00
Tim-Philipp Müller
60f93735c0
vorbistag: add mapping for 'ALBUM ARTIST' with space
...
As found in sample file for bug #684701 .
2012-10-23 15:56:10 +01:00
Wim Taymans
3787b6d05e
riff: add bpp to caps for msvideo
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=686298
2012-10-22 10:30:16 +02:00
Tim-Philipp Müller
eb48b4d3cb
tag: remove unnecessary g_type_init() call from mklicensestable tool
...
https://bugzilla.gnome.org/show_bug.cgi?id=686456
2012-10-20 12:59:11 +01:00
Tim-Philipp Müller
277ca04976
audiodecoder: don't leak message strings when error is not fatal
...
https://bugzilla.gnome.org/show_bug.cgi?id=681192
2012-10-20 11:38:10 +01:00
Tim-Philipp Müller
6c0c3eb967
videodecoder: don't leak message strings when error is not fatal
2012-10-20 11:37:33 +01:00
Thiago Santos
b57d3252ec
vorbistag: fix 'TODO' on image tag parsing
...
Image tag now uses GstSample that has the buffer and caps
associated with it.
2012-10-18 17:50:41 -03:00
Tim-Philipp Müller
3ee2ad255b
audiocdsrc: mention TOCs in docs
2012-10-17 19:59:57 +01:00
Tim-Philipp Müller
224fb90469
theora, app: use gst_element_class_set_static_metadata()
...
Avoids string copies.
2012-10-17 16:54:14 +01:00
Tim-Philipp Müller
efff57d497
videodecoder: return NULL from _allocate_output_buffer() if alloc fails
...
.. instead of garbage pointer. Also log failure in debug log.
Should've returned the flow return like _allocate_output_frame().
https://bugzilla.gnome.org/show_bug.cgi?id=683098
2012-10-17 10:55:01 +01:00
Tim-Philipp Müller
4834e11da0
riff-media: fix palette extraction some more
...
We still need to make sure the palette is always at least 1024
bytes.
2012-10-16 11:48:32 +01:00
Tim-Philipp Müller
b0d581eadc
riff: create palette_data buffer correctly
...
gst_buffer_copy_into() will append to any existing
memory region, so don't create a buffer and alloc
some memory, but just create an empty buffer and
let _copy_into() append the memory we want. Fixes
the palette being 2048 bytes with the first half
being filled with garbage.
https://bugzilla.gnome.org/show_bug.cgi?id=686046
2012-10-16 00:55:56 +01:00
Mark Nauwelaerts
162433795a
audio: properly handle clipping of empty buffer
2012-10-15 18:48:01 +02:00
Tim-Philipp Müller
336842d35c
rtsprange: fix formatting and parsing of range floating-point values
...
Other locales might use a comma instead of a floating point
for floats, which might lead to parsing errors.
https://bugzilla.gnome.org/show_bug.cgi?id=684411
2012-10-13 00:19:54 +01:00
Tim-Philipp Müller
b772d5d271
riff: 8-bit paletted video is format RGB8P, not RGB8_PALETTED
...
https://bugzilla.gnome.org/show_bug.cgi?id=686046
2012-10-12 21:31:25 +01:00
Josep Torra
d8d9f0db97
audiodecoder: set of base_ts for segment formats other than time
...
Fixes setting of converted segment start as base_ts when estimate rate
is allowed.
2012-10-11 13:17:01 +02:00
Sebastian Dröge
e779002cfd
audiodecoder: Don't unref caps twice
...
Thanks to Josep Torra for noticing.
2012-10-10 15:50:31 +02:00
Mark Nauwelaerts
706498cb6e
videodecoder: finetune missing timestamp estimating
...
Monitor for reordered output timestamps, and then avoid oldest DTS
as PTS approach, and try for an oldest PTS as out PTS approach,
if at least all valid PTS available.
Avoids bogus estimating upon sparse available input PTS, and tries
to handle all-keyframe input, or input PTS which are actually DTS.
2012-10-10 15:04:10 +02:00
Wim Taymans
3591df23b1
docs: playbin2 -> playbin
2012-10-09 12:20:10 +02:00
Andoni Morales Alastruey
8a5cf5ef4d
audio/video: update documentation for vfunc's that require chaining up
2012-10-08 13:04:02 +02:00
Wim Taymans
c1d67d9bd6
video: small docs fix
2012-10-08 09:21:16 +02:00
Tim-Philipp Müller
cdb22274e6
audioencoder: make stop() vfunc also optional
...
Just change default value, since we also don't want to fail
if we want to deactivate and aren't active or want to activate
and are already active.
https://bugzilla.gnome.org/show_bug.cgi?id=685490
2012-10-04 13:40:32 +01:00
Andoni Morales Alastruey
795d366a0c
audioencoder: don't fail if the start vfunc is not implemented
...
Fix behaviour to match documentation and decoder class behaviour.
https://bugzilla.gnome.org/show_bug.cgi?id=685490
2012-10-04 13:14:10 +01:00
Michael Smith
92560517e8
Merge branch 'master' of ssh://git.freedesktop.org/git/gstreamer/gst-plugins-base
2012-10-03 10:45:26 -07:00
Michael Smith
a29c4f9489
meta registration: use g_once functions to register these threadsafely.
2012-10-03 10:44:59 -07:00
Sebastian Dröge
9d59b789c7
videodecoder: Fix unused variable compiler warning if debugging is disabled
2012-10-02 09:29:49 +02:00
Sebastian Pölsterl
e8fed7f04b
rtsp: mark url argument of gst_rtsp_url_parse() as out arg
...
https://bugzilla.gnome.org/show_bug.cgi?id=685242
2012-10-01 22:36:06 +01:00
Olivier Crête
531a5af30c
videodecoder: Also use the object lock to protect the output_state
...
Hold both the stream and the object lock to modify the output_state,
this way it can be safely modified while hold either one or the other.
Also, only hold the object lock in the query
https://bugzilla.gnome.org/show_bug.cgi?id=684832
2012-10-01 14:43:29 -04:00
Tim-Philipp Müller
80e45be3d0
appsrc: fix max-latency property getter
...
Was returning the min-latency value.
2012-09-29 21:42:46 +01:00
Mark Nauwelaerts
4adfff03ef
video{de,en}coder: fix missing timestamp estimating
...
... by having some more timestamp tracking in a private frame field.
Not doing so would lead to (a.o.) losing the needed minimum timestamp in
an earlier sent frame.
2012-09-28 13:59:24 +02:00
Mark Nauwelaerts
dc2f2c9a40
videodecoder: use oldest frame DTS to estimate missing outgoing PTS
2012-09-27 11:31:34 +02:00
Mark Nauwelaerts
dbc89e3ab6
videoencoder: use oldest frame PTS to estimate missing outgoing DTS
2012-09-26 16:32:37 +02:00
Mark Nauwelaerts
d247301aec
videoencoder: incoming buffer DTS is irrelevant
...
... and bogus anyway if PTS != DTS
2012-09-26 16:32:37 +02:00
Mark Nauwelaerts
6973a66813
videoencoder: clip input buffers to current input segment
...
... rather than to output segment, which will only be set
to current input segment if some output is produced
(coming from non-clipped input).
Also fixup debug message.
2012-09-25 17:19:15 +02:00
Tim-Philipp Müller
62c111f1e4
videodecoder: don't take STREAM_LOCK on upstream events
...
Don't try to take STREAM_LOCK on upstream events such as QOS.
Protect qos-related variables with object lock instead. Fixes
possible deadlock when shutting down in certain situations.
https://bugzilla.gnome.org/show_bug.cgi?id=684658
2012-09-24 10:56:35 +01:00
Sebastian Dröge
1e8f5a0b06
videodecoder: Update comments about forwarding/not-forwarding serialized events immediately
2012-09-20 10:04:30 +02:00
Olivier Crête
ebae8ffa71
videodecoder: Protect all accesses to priv->output_frame with the stream lock
...
Fixes segfault as queries/events can happen after a reset
2012-09-19 21:16:01 -04:00
Arun Raghavan
9f9718715a
audio: Explicitly specify endianness for IEC 61937 payloading
...
This is required since some systems (DirectSound and OS X) manage the
final byte order themselves.
https://bugzilla.gnome.org/show_bug.cgi?id=678021
2012-09-19 09:15:16 +05:30
Tim-Philipp Müller
5e0dfec62c
Remove -DGST_USE_UNSTABLE_API
2012-09-17 16:05:37 +01:00
Mark Nauwelaerts
c629a44162
replace gst_tag_list_free with gst_tag_list_unref
2012-09-14 17:53:21 +02:00
Mark Nauwelaerts
f7c247b6a3
replace gst_element_class_set_details_simple with gst_element_class_set_metadata
2012-09-14 17:02:59 +02:00
Wim Taymans
a57198a0ba
audio: improve property description
...
Improve the description of the latency-time and buffer-time properties in the
audio sink and source.
2012-09-14 16:08:50 +02:00
Sebastian Dröge
6e33f2d464
audiodecoder: Don't output an (unreffed) buffer in error cases
2012-09-14 14:54:22 +02:00
Wim Taymans
24bab1e5a8
fix for appsink GstFlowReturn
2012-09-14 13:39:20 +02:00