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