Sebastian Dröge
e4a5f0911e
matroskademux: Fix possible NULL pointer dereference and assertion that could be caused by invalid files
2010-06-16 20:02:58 +02:00
Sebastian Dröge
20b9022289
matroskademux: Clean up/fix some minor error handling bugs
2010-06-16 19:50:34 +02:00
Sebastian Dröge
34d42e4ea3
ximagesrc: Fix NULL pointer dereference when allocation of the ximage fails
2010-06-16 19:30:25 +02:00
Sebastian Dröge
8b2a6a8c74
flactag: Fix possible NULL pointer dereference
2010-06-16 19:28:04 +02:00
Sebastian Dröge
711e0cc90b
audioiirfilter: Fix possible NULL pointer dereference
2010-06-16 19:24:54 +02:00
Sebastian Dröge
1f545da974
warptv: Don't use floats as loop counters
2010-06-16 19:20:02 +02:00
Havoc Pennington
f06b105058
v4l2src: do not try to change device format if it's already correct
...
This allows set_caps to succeed if caps change in a way that
would not modify the format we're getting from the hardware.
Otherwise if not in NULL state, setting caps would fail
with EBUSY.
With this change, in some cases it's OK to go PLAYING->READY->PLAYING
rather than PLAYING->NULL->PLAYING to avoid a time-consuming close
and reopen of the device.
Fixes #621723
2010-06-16 17:48:47 +02:00
Havoc Pennington
9b9f9d0a2a
v4l2src: in negotiate, check for error return from set_caps
...
Fixes #621723 (partially)
set_caps can fail if the video device is running, in that case
setting its format leads to EBUSY.
If set_caps fails then we will not have set up the buffer pool
(it will be NULL) which leads to a crash when we try to pull
buffers. If we fail the negotiate on set_caps failure, then we
won't go to playing state and won't crash.
This is a small improvement. Of course, a nicer fix would
be to make set_caps work in the case where the format is
unchanged. If the format has changed, failing is
probably correct because we need to close the device
(go to NULL state) in order to set caps.
2010-06-16 17:48:47 +02:00
Mark Nauwelaerts
a69e419c8e
avidemux: improve audio vbr detection
...
Subsequent entry time calculations use blockalign value to determine
number of frames per chunk, and blockalign == 1 is then most unlikely to result
in reasonable values (which also aligns with "spec").
2010-06-16 15:53:47 +02:00
Mark Nauwelaerts
6a9c70486f
rtph264depay: tweak DELTA_UNIT labeling
...
Consider SPS, PPS and IDR as keyframe, all others as DELTA_UNIT.
See #620154 .
2010-06-16 15:53:45 +02:00
Sebastian Dröge
8883421b0d
wavpackdec: Initialize uninitialized variable and don't unref it if it's NULL
2010-06-15 20:06:17 +02:00
Sebastian Dröge
e49d8a286b
avidemux: Assign variables before printing them
2010-06-15 20:04:35 +02:00
Sebastian Dröge
715eb33d24
wavparse: Initialize uninitialized variable
2010-06-15 20:00:28 +02:00
Sebastian Dröge
acd0c1ff90
v4l2: Initialize variable
2010-06-15 19:47:16 +02:00
Sebastian Dröge
5a4ecc5b6f
flacenc: Fix NEWSEGMENT parsing logic and don't use uninitialized variables
2010-06-15 19:45:36 +02:00
Edward Hervey
342543325b
matroska: Fix unitialized variable
2010-06-15 17:20:20 +02:00
Edward Hervey
6869411030
Automatic update of common submodule
...
From 9339ccc to 35617c2
2010-06-15 16:49:49 +02:00
Stefan Kost
2bbfeca11d
Automatic update of common submodule
...
From 5adb1ca to 9339ccc
2010-06-15 16:54:04 +03:00
Stefan Kost
fd737e0f16
Automatic update of common submodule
...
From 57c89b7 to 5adb1ca
2010-06-15 16:35:18 +03:00
Tim-Philipp Müller
3152a6953c
.gitignore: ignore generated tvtime.h file
2010-06-15 14:09:21 +01:00
Stefan Kost
e6c79645f1
Automatic update of common submodule
...
From c804988 to 57c89b7
2010-06-15 15:36:33 +03:00
Marc-André Lureau
f7bf4cc905
raw1394: remove useless last_time
...
It seems to me this code is useless: removing it.
https://bugzilla.gnome.org/show_bug.cgi?id=618871
2010-06-15 01:25:32 +01:00
Wim Taymans
e6ec5cce2e
rtspsrc: respect aggregate control attributes
...
when the SDP specifies an aggregate control url, use that for playback
control.
Fixes #619531
2010-06-14 19:24:14 +02:00
Sebastian Dröge
ff755250c3
goom: Call orc_init() before trying to get target flags
2010-06-14 15:38:02 +02:00
Sebastian Dröge
a11b271bf4
deinterlace: Call orc_init() before trying to get target flags
2010-06-14 15:38:02 +02:00
Zaheer Abbas Merali
e49c31fd25
matroskamux: revert change that set a reserved flag on the Block.
...
So matroska's Block structure has no keyframe flag, only the SimpleBlock has it.
To detect keyframes in Blocks, it is just the BlockGroup container that needs
to have a ReferenceBlock attached if it is a delta frame in video.
2010-06-14 14:28:53 +01:00
Mark Nauwelaerts
a391bf52cc
jpegdec: use libjpeg scatter-gather operation to avoid data copying
...
Fixes #583047 (more).
2010-06-14 15:17:16 +02:00
Mark Nauwelaerts
58fbcf01e5
jpegdec: optimize buffer handling when parsing
...
Use an adapter to collect incoming data, and use adapter API to scan and peek.
Fixes #583047 .
2010-06-14 15:17:16 +02:00
Sebastian Dröge
a88acc848e
oss4: Use g_ascii_strcasecmp() instead of the deprecated g_strcasecmp()
2010-06-14 13:48:28 +02:00
Sebastian Dröge
584eb7aa9a
configure: Use GLIB_EXTRA_CFLAGS
2010-06-14 13:27:43 +02:00
Sebastian Dröge
421db6c7f3
Automatic update of common submodule
...
From 7a0fdf5 to c804988
2010-06-14 13:03:57 +02:00
Mark Nauwelaerts
dde3825405
rtph264depay: also consider AU and SEI NALUs as DELTA_UNIT
...
Fixes #620154 .
2010-06-14 11:49:42 +02:00
Sebastian Dröge
9c5e8eb449
Automatic update of common submodule
...
From 6da3bab to 7a0fdf5
2010-06-14 11:32:43 +02:00
Stefan Kost
a1da36d5a6
build: include stdio.h for sscanf
2010-06-12 21:26:16 +03:00
Sebastian Dröge
aa9dc41a6b
tests: Add clean rule for the orc tests
2010-06-12 14:12:50 +02:00
Sebastian Dröge
20b589c793
tests: Add autogenerated orc tests
2010-06-12 14:12:04 +02:00
Sebastian Dröge
b7cdf2f89c
Automatic update of common submodule
...
From 733fca9 to 6da3bab
2010-06-12 08:27:42 +02:00
David Schleef
3478f31664
v4l2src: Fix element description
2010-06-11 16:24:15 -07:00
Tim-Philipp Müller
97a2111c58
rtpmparobustdepay: don't try to unref NULL buffers
...
Fixes generic/states unit test.
2010-06-11 21:18:52 +01:00
Tim-Philipp Müller
754f3a315b
wavparse: use typefind functions to check if PCM data contains dts stream
...
Use new dts audio typefinder from -base to check if the PCM data
contains a dts stream. This way we recognise more varieties more
reliably and also detect the dts stream if there isn't a frame
sync right at the start of the data.
Fixes #413942 .
2010-06-11 20:50:23 +01:00
Tim-Philipp Müller
12ec2c3d6d
wavparse: set buffer offsets before using the buffer for the first time
...
gst_type_find_helper_for_buffer() will need the correct offset
set on the buffer (ie. 0) and not the byte offset we started
pulling the data from.
2010-06-11 20:47:22 +01:00
Mark Nauwelaerts
815e06ba55
rtp: add mpa-robust depayloader
...
Fixes #589997 .
2010-06-11 11:45:48 +02:00
Mark Nauwelaerts
de5cb168ee
avimux: fix avi header bytewriting
...
... by using proper offsets for tag list writing.
Also use _reset rather than _free and consistently use bytewriter position.
See #619293 .
2010-06-11 10:57:41 +02:00
Sebastian Dröge
b8732d7b99
Update .gitignore
...
Add the generated orc source files
2010-06-10 22:58:41 +02:00
Sebastian Dröge
307e7f7a21
matroskamux: Fix unit test for changed key-frame behaviour
...
All audio frames are marked as keyframe now instead of marking
them all as delta unit...
2010-06-10 22:55:17 +02:00
Sebastian Dröge
e84136ba03
videomixer: Port most blending related functions to orc
...
Only remaining MMX implementation is the ARGB/BGRA/AYUV blending
for which we first need the orc compositing opcodes.
2010-06-10 22:46:00 +02:00
Sebastian Dröge
e87802efdd
videomixer: Replace some tabs by spaces
2010-06-10 22:46:00 +02:00
Andoni Morales Alastruey
2061fc0ccb
dv1394: Fix the internal clock even more
...
The cycleCount register is 13 bits long and the cycleOffset one
is 12 bits long. To read the cycleCount register we need to shift
12 bits and not 13. Fixes #615461
2010-06-10 11:04:38 +01:00
David Schleef
269686fe35
configure: use m4 macro to check for Orc
2010-06-09 18:37:29 -07:00
Zaheer Abbas Merali
823a514161
matroskamux: some non-delta buffers were not marked as keyframes
2010-06-10 01:32:15 +02:00