Arnout Vandecappelle
99efbfcf4d
jpegdec: refactored gst_jpeg_dec_parse_image_data
...
Fixes #579808
2009-05-06 13:22:51 +02:00
Arnout Vandecappelle
788986e269
jpegdec: support additional 0xff before end marker.
...
JPEG markers may be preceded by additional 0xff. jpegdec should
skip over these, even before the end marker.
See #579808
2009-05-06 13:11:53 +02:00
Wim Taymans
b7c5847dbd
rtpjpegpay: handle input with 1 quant table
...
Also handle input with just one quant table, simply duplicate the quant table.
Handle invalid SOF correctly and some small cleanups.
Fixes #578257
2009-05-06 12:56:58 +02:00
Marco Ballesio
8e7273076d
qtdemux: fix byte order swapping in 3GPP classification entity tag
...
Fixes #580746 .
2009-05-06 00:16:37 +03:00
Arnout Vandecappelle
439ca2c795
multipartdemux: avoid reading from inavlid memory
...
Read the timestamp of the incomming buffer before we push it in the adapter and
flush it out again as the buffer might be unreffed then and we read from invalid
memory.
Fixes #581444 .
2009-05-05 17:07:13 +02:00
Arnout Vandecappelle
3f2144c5ee
multipartdemux: don't leak dynamic pads
...
Free the dynamic pads data in finalize.
Fixes #581432
2009-05-05 17:03:29 +02:00
Wim Taymans
0f1033c59f
rtpjpegpay: correctly set the type header
...
Don't require width/height on the caps. Use the SOF header to find width/height
and fall back to the caps if there is no SOF. Also use the SOF info to find the
subsampling and quantization tables used. This allows us to set the right type
value in the JPEG rtp header.
Deprecate the quality property, it's unused now and it was used wrongly before.
Always send full quant tables for now until we have some code to detect default
ones.
Fixes #580880
2009-05-05 16:32:17 +02:00
Wim Taymans
7c59f39bfe
rtpjpegdepay: use width/height from payload
...
Use the width and the height from the payload headers and set them on the
output caps for added awesomeness.
Fix quant parsing, we need to check the type in the lower 6 bits.
Add first bits of caching quantization tables.
2009-05-05 16:28:44 +02:00
Wim Taymans
4606188039
jpegenc: set colorspace before _set_defaults()
...
The libjpeg api says that we need to set the colorspace before we call
_set_defaults(). Indeed, if we don't do that we end up with some very freaky
non-standard quant table and huffman table indexes.
2009-05-05 16:24:16 +02:00
Tim-Philipp Müller
356e863c9c
tests: don't build examples if --disable-examples was passed to configure
2009-05-05 13:23:45 +01:00
Tim-Philipp Müller
325841a4bb
configure: clean up mess around gtk+ checking
...
And don't check for gtk+ when it's not needed (ie. if examples are disabled)
2009-05-05 13:22:40 +01:00
Tim-Philipp Müller
3d9f6d9615
configure: make gdk-pixbuf plugin depend only on gdk-pixbuf, not gtk+
2009-05-05 13:20:47 +01:00
Wim Taymans
732704c007
rtspsrc: Fix find_stream_by_* functions
...
Fix various version of find_stream_by_* by not trying to convert an int to a
pointer and vice versa, for portability reasons.
Fixes #581333
2009-05-04 18:55:12 +02:00
Chris Winter
752cfb16fe
rtspsrc: fix dummy nat packet logic
...
Fix a typo in the dummy NAT packet sending code.
Fixes #581329
2009-05-04 18:32:05 +02:00
Mark Nauwelaerts
959a9b494b
rtspsrc: avoid errors after server eof
...
Server eof (e.g. connection closed) is announced as connection closed,
so better record state and act accordingly to prevent (read/write)
errors during subsequent teardown/cleanup sequences. #Fixes 580851.(c).
2009-05-04 17:01:35 +02:00
Mark Nauwelaerts
734548a34f
rtspsrc: also set base_time on src after flush
...
timestamps following flush/seek should be consistent between
UDP and TCP interleaved case. Fixes #580851.(b).
2009-05-04 17:01:28 +02:00
Mark Nauwelaerts
20c7be5741
rtspsrc: sanity checks on range info
...
A max range that overflows should not be trusted,
nor should a max range that equals the min range.
Fixes #580851.(a).
2009-05-04 17:01:20 +02:00
Wim Taymans
56656dd03d
rtspsrc: use SKIP flag to use SCALE headers
...
We can use the SKIP seek flag to instruct the server to send data faster then
normal but with the same bandwidth.
Fixes #537609
2009-05-04 16:18:23 +02:00
Alessandro Decina
434d20862b
speexdec: make speex_dec_convert work with same-format values when no data has been decoded.
2009-05-04 14:24:14 +02:00
Sebastian Dröge
9da04cd6af
flac: Implement preset interface
2009-05-04 12:43:42 +02:00
Sebastian Dröge
6e9d728249
speex: Implement preset interface
2009-05-04 12:41:56 +02:00
Sebastian Dröge
9bb965430f
wavpack: Implement preset interface
2009-05-04 12:40:36 +02:00
Wim Taymans
70d1b6e1ae
qtdemux: use binary search for index
...
Use the new binary search method for finding the right index entry faster.
2009-05-04 12:35:19 +02:00
Wim Taymans
9ea2c113ba
videobox: draw the complete U and V planes
...
Round up the scaled U and V width and height so that we always draw the correct
amount of pixels to fill the complete image.
Fixes #569611
2009-05-04 11:26:56 +02:00
Wim Taymans
1619c09e3e
qtdemux: add some more micro optimisations
2009-05-01 19:35:11 +02:00
Wim Taymans
ab0d1bc942
qtdemux: micro optimize qtdemux a little
...
Sprinkle some G_LIKELY around.
Avoid traversing and dumping the tree when debugging is not activated.
2009-04-30 18:41:44 +02:00
Wim Taymans
b5d84439fd
qtdemux: add support for subtitle pictures
...
Add support for subtitle pictures.
Fixes #568278 .
2009-04-30 14:22:27 +02:00
Wim Taymans
28afc6e591
pulsesink: make sure we always signal waiters
...
Always signal the waiters in the async callbacks. Especially for the volume
callbacks since this might cause deadlocks.
2009-04-30 10:32:39 +02:00
Wim Taymans
de0a2575fc
rtspsrc: release state lock before stopping task
...
We need to release the state lock before trying to wait for the task to end
because the task might also take the lock.
Fixes #577671
2009-04-29 18:09:07 +02:00
Hans de Goede
6cfa856381
qtdemux: handle ac-3 audio
...
fix demuxing of m4v streams with ac-3 audio
Fixes #580554
2009-04-29 12:19:27 +02:00
Sebastian Dröge
5a7edcbd81
flacenc: Use the tag merge mode that was set on the interface for merging tag events
2009-04-29 11:13:11 +02:00
Wim Taymans
b3782442ae
udpsrc: fix getaddrinfo error reporting
...
getaddrinfo errors should be reported with gai_strerror instead of errno as
spotted by MikeS.
2009-04-27 18:00:17 +02:00
Wim Taymans
f33501ad4b
g726pay: fix compilation
2009-04-27 10:08:55 +02:00
Wim Taymans
84c3d1a2c8
g726pay: add RFC compliant packetizing
...
Shuffle the input bits according to RFC 3551 for G726 payloads.
Add option to force the previous behaviour.
Fixes #567140
2009-04-27 10:08:55 +02:00
Wim Taymans
e213debe8e
g726depay: add debug category
...
Add a debugging category, add some comments and remove _peek_parent().
2009-04-27 10:08:55 +02:00
Tim-Philipp Müller
ae9cdb2f16
id3v2mux: we need taglib 1.5 for ID3v2::RelativeVolumeFrame::setIdentification
...
Bump taglib requirement.
2009-04-26 16:00:53 +01:00
Tim-Philipp Müller
0ff1b18cbb
id3demux: add unit test file for unsynced id3 tags
2009-04-24 02:11:28 +01:00
Tim-Philipp Müller
a85d7b7059
id3demux: parse unsynchronised tags properly
...
We didn't handle unsynchronization at all up to now, which might have
caused frames to not be extracted - esp. frames after an APIC picture
frame. Fixes #577468 .
2009-04-24 01:58:23 +01:00
Tim-Philipp Müller
19117a39fe
id3demux: pass the right size value for size of all frames to the parser
...
Frame data size is tag size adjusted for size of the tag header and
footer, not tag size including header and footer.
2009-04-24 01:05:40 +01:00
Patrick Radizi
5b86c66e8a
rtspsrc: fix some more pad leaks
...
Fix some pad leaks.
See #577318 .
2009-04-22 15:27:24 +02:00
Jan Schmidt
00842b8e49
Automatic update of common submodule
...
From b3941ea to 6ab11d1
2009-04-21 22:12:45 +01:00
Michael Smith
922c9f529a
qtdemux: override caps based on data from ESDS atoms in mpeg4.
...
If the codec is actually something else (e.g. mjpeg) change the caps to
match when parsing the ESDS atom.
Also, for AAC, override rate and channels with correct values read from
ESDS, since the rate/channels values elsewhere are often wrong.
2009-04-21 14:04:07 -07:00
Tim-Philipp Müller
8d8e9af0a8
jpegdec: fix warning for still images by not trying to divide by 0
...
Don't pass a 0 divisor to gst_util_uint64_scale(), or it will complain
in the single image case where fps=0/1 (are we supposed to differentiate
between no fps=still image and fps=0/1=variable rate here btw?)
2009-04-20 19:42:13 +01:00
Jan Schmidt
a097571c0a
udp: Fix a simple typo in the previous commit
...
Use #ifdef instead of #if, to fix the build
2009-04-20 17:26:11 +01:00
Andy Wingo
034a4a771e
fix format string in pngdec
...
* ext/libpng/gstpngdec.c: Fix size_t vs unsigned int format in error message.
2009-04-20 15:54:31 +02:00
Andy Wingo
07dcbacd60
only use struct ip_mreqn if it is detected
...
* configure.ac: Make an explicit check for struct ip_mreqn.
* gst/udp/gstudpnetutils.c: Use HAVE_IP_MREQN instead of the ad-hoc checks.
2009-04-20 15:54:31 +02:00
Mark Nauwelaerts
cfcf76df11
Fix push mode buffering sanity check to actually fit the description.
2009-04-20 13:49:03 +02:00
Edward Hervey
1183015954
rtph263pay: And let's not forget to remove the unused variable.
2009-04-18 19:11:06 +02:00
Edward Hervey
1554c6637f
rtph263pay: Remove dead assignments, the variables are never read after.
2009-04-18 18:51:30 +02:00
Edward Hervey
3efcf936e1
rtpmp4vpay: Remove dead assignment. The value is never read after.
2009-04-18 18:51:29 +02:00