Commit graph

2789 commits

Author SHA1 Message Date
Sebastian Dröge
9fa738d36b flacparse: Check the CRC-8 of the headers before accepting a frame as valid
This makes false-positives during seeking much less likely and detection of
them much faster.
2010-03-26 18:42:28 +01:00
Sebastian Dröge
6663e7c1ca baseparse: Set the last stop to the buffer starttime if the duration is invalid
...instead of not setting it at all.
2010-03-26 18:20:24 +01:00
Joshua M. Doe
af00e59528 baseparse: Send NEWSEGMENT event with correct start and position
Instead of taking the last stop (which could be buffer endtime instead
of starttime) always take the buffer starttime.

Fixes bug #614016.
2010-03-26 18:19:00 +01:00
Arun Raghavan
cc6c4ef00b flacparse: Fix buffer refcount issue
When called from the GST_FLAC_PARSE_STATE_HEADERS case,
gst_flac_parse_hand_headers() does a gst_buffer_set_caps() on a buffer
with refcount > 1. This change handles this case by making the buffer
metadata_Writable.

https://bugzilla.gnome.org/show_bug.cgi?id=614037
2010-03-26 18:14:22 +01:00
Tim-Philipp Müller
eb34b2015b mpegtsdemux: add missing space to debug message 2010-03-26 12:04:48 +00:00
Stefan Kost
16f532b71a dtmfdetect: if we tell that we handle gap flags, then do so 2010-03-25 23:01:42 +02:00
Stefan Kost
88b223d36b dtmfdetect: use glib types 2010-03-25 23:01:05 +02:00
Stefan Kost
de4a6adf80 dtmfdetect: fix classification 2010-03-25 23:01:05 +02:00
Stefan Kost
4f526f8aef dtmfdetect: reformat message docs
Use a list like in other element docs as an untweaked docbook table look ugly.
2010-03-25 23:00:00 +02:00
Tim-Philipp Müller
d6f3ee4b90 audioparsers: remove unused GstBaseParseClassPrivate structure 2010-03-25 17:13:51 +00:00
Arun Raghavan
76f5d96e06 flacparse: Make bitrate estimation more accurate
This implements the get_frame_overhead() vfunc so that baseparse can
make more accurate bitrate estimates.
2010-03-25 16:57:55 +01:00
Arun Raghavan
599401a7f9 aacparse: Fix bitrate calculation
This patch adds the get_frame_overhead() vfunc so that baseparse can
accurately calculate the min/avg/max bitrates for aacparse.

Note: The bitrate was being incorrectly calculated for ADTS streams
(it's not in the header as the code suggests).
2010-03-25 16:57:48 +01:00
Arun Raghavan
88c1e42567 audioparsers: Add bitrate calculation to baseparse
This makes baseparse keep a running average of the stream bitrate, as
well as the minimum and maximum bitrates. Subclasses can override a
vfunc to make sure that per-frame overhead from the container is not
accounted for in the bitrate calculation.

We take care not to override the bitrate, minimum-bitrate, and
maximum-bitrate tags if they have been posted upstream. We also
rate-limit the emission of bitrate so that it is only triggered by a
change of >10 kbps.
2010-03-25 16:57:36 +01:00
Tim-Philipp Müller
0c97f9a9be qtmux: init debug category before using it 2010-03-25 00:20:54 +00:00
Stefan Kost
4a87fee780 jpegformat: add blank line to fix generated xml 2010-03-24 16:25:43 +02:00
Tristan Matthews
552cd26b43 osx: more compiler warning fixes
Avoid new warnings.

Fixes #613758.
2010-03-24 00:19:02 +00:00
Benjamin Otte
a9a7b8e372 Fixes for -Waggregate-return
The flag wasn't added due to libexif using aggregate return values.
2010-03-23 01:16:25 +01:00
Stefan Kost
5ebf6444cb i18n: build fixes: #if -> #ifdef for ENABLE_NLS 2010-03-22 18:07:45 +02:00
Benjamin Otte
240f494aa7 Add -Wold-style-definition
and fix the warnings
2010-03-22 16:56:03 +01:00
Benjamin Otte
647cf64c01 Add -Wformat-nonliteral -Wformat-security flags
and fix the warnings
2010-03-22 16:22:22 +01:00
Arun Raghavan
8144fee47c mpegvideoparse: Parse bitrate and emit as tag
This patch picks up the bitrate for the stream from the MPEG sequence
header and emits it as a tag on the source pad.

Fixes #599298.
2010-03-22 12:44:54 +00:00
Benjamin Otte
33c2f5fb01 Add -Wwrite-strings
and fix its warnings
2010-03-22 13:16:33 +01:00
Benjamin Otte
010789159d Add -Wundef
and fix the warnings
2010-03-22 12:30:01 +01:00
Benjamin Otte
b7655bbd2e Add -Wredundant-decls flag
and fix warnings from it
2010-03-22 12:05:59 +01:00
Benjamin Otte
f96e4f1581 Add -Wmissing-declarations -Wmissing-prototypes to configure flags
And fix all warnings
2010-03-21 21:39:18 +01:00
Benjamin Otte
46f4c7a6c1 siren: Run gst-indent script
Includes running dos2unix on decoder.c
2010-03-21 21:37:37 +01:00
Benjamin Otte
27b3e53d5d legacyresample: remove unused file 2010-03-21 18:59:30 +01:00
Wim Taymans
e30f38531c sdpdemux: disable loop and auto multicast join
Disable loopback of packets.
Disable autojoin of multicast groups in the sink because the source already
does that on the shared socket.
2010-03-19 11:13:30 +01:00
Benjamin Otte
775c7584fd gst_element_class_set_details => gst_element_class_set_details_simple 2010-03-18 22:46:41 +01:00
Benjamin Otte
5258d372be virtualdub: Remove
THe plugin is so hopelessly outdated, it's just not worth keeping.
2010-03-18 22:46:41 +01:00
Tim-Philipp Müller
cadb0526d5 mpegtsdemux: fix minor memory leak in property getter
Don't leak the string returned by g_strjoinv(). While we're at it,
use GString to assemble the string to be returned.
2010-03-15 19:21:52 +00:00
Sebastian Dröge
5fe85915be imagefreeze: Only start the task after a seek if a buffer was received already 2010-03-15 11:54:33 +01:00
Tim-Philipp Müller
e0175a40a2 asfmux: fix typo in property description 2010-03-13 18:55:22 +00:00
Raimo Järvi
46abe733c6 mpegvideoparse: Update caps when the sequence header changes
Fixes bug #612687.
2010-03-13 06:03:32 +01:00
Mark Nauwelaerts
6631f50d59 camerabin: activate video bin before feeding data to it
Fixes #612615.
2010-03-12 19:30:48 +01:00
Thiago Santos
ca30c1d915 qtmux: Use xmp on mp4mux and gppmux too
Do not restrict xmp to qtmux, but use it too
on mp4mux and gppmux
2010-03-12 11:50:48 -03:00
Edward Hervey
69a40a1591 jpegparse: Fix unitialized variable on macosx 10.5 2010-03-12 09:52:57 +01:00
Stefan Kost
3b78cc5eca jpegformat: add xmp reading and writing support
Bump needed base version for new xmp helper library. Use xmp helpers in
jpegparse and jifmux.
2010-03-12 10:35:15 +02:00
Sebastian Dröge
7efecfc961 segmentclip: Add audio/video buffer segment clip elements
These elements clip the audio/video buffers to the configured segment
for the case when the upstream elements don't do this correctly.
2010-03-12 07:29:58 +00:00
Sebastian Dröge
93c938835c imagefreeze: Set undefined framerate in sink getcaps function 2010-03-12 07:29:57 +00:00
Sebastian Dröge
0c170d9107 imagefreeze: Implement reverse playback and set buffer offsets 2010-03-12 07:29:57 +00:00
Sebastian Dröge
b0590069ec imagefreeze: Add still frame stream generator element 2010-03-12 07:29:57 +00:00
Thiago Santos
5e88363430 qtmux: add xmp support
Adds xmp metatags adding to qtmux.

Fixes #609539
2010-03-11 16:42:31 -03:00
Tim-Philipp Müller
af5565a62b qtmux: fix GST_ELEMENT_ERROR usage
We need to pass (NULL) rather than NULL for empty arguments.
2010-03-11 17:21:52 +00:00
Edward Hervey
5050967766 jpegformat: Fix unitialized variables 2010-03-11 17:58:25 +01:00
Rob Clark
c3156f0663 fix compile error with trace macro
Note that this one isn't a problem with normal trace macros, but causes problems with
some replacement trace macros that I use, which expect the format string to be
appendable (ie "foo "fmt in the macro)

https://bugzilla.gnome.org/show_bug.cgi?id=612454
2010-03-11 17:52:03 +01:00
Rob Clark
79faa0b9fa mpeg4videoparse: fix compile error
gst/mpeg4videoparse/mpeg4videoparse.c:689: warning: comparison is always true due to limited range of data type

https://bugzilla.gnome.org/show_bug.cgi?id=612454
2010-03-11 17:52:01 +01:00
Rob Clark
71d0e513fa qtmux: fix compile error
gst/qtmux/gstqtmoovrecover.c:268: warning: format not a string literal and no format arguments

https://bugzilla.gnome.org/show_bug.cgi?id=612454
2010-03-11 17:52:00 +01:00
Stefan Kost
da3a8fe0fc invtelecine: inlcude stdlib.h for abs() 2010-03-11 11:14:53 +02:00
Lasse Laukkanen
190d54b096 camerabin: refactor cropping and adapting captured images 2010-03-11 10:36:27 +02:00