Arun Raghavan
90753ceb5e
baseparse: Don't emit bitrate tags too early
...
We wait to parse a minimum number of frames (10, arbitrarily) before
emiting bitrate tags so that our early estimates are not wildly
inaccurate for streams that start with a silence. If the stream ends
before that, we just emit the tags anyway.
While it _would_ be nicer to be specify the threshold to start pushing
the tags in terms of duration, this would introduce more complexity than
this merits.
https://bugzilla.gnome.org/show_bug.cgi?id=614991
2010-04-07 11:51:46 +02:00
Benjamin Otte
9b42d839e3
metadata: fix crash when converting units
...
x/y-resolution are fractions, so setting them using float values is not
a good idea.
https://bugzilla.redhat.com/show_bug.cgi?id=577655
2010-04-07 11:23:59 +02:00
Sebastian Dröge
1306160b79
mpegtsdemux: Add support for BlueRay style DTS
...
Fixes bug #614259 .
2010-04-05 10:33:26 +02:00
Sebastian Dröge
074d20cf99
mpegtsdemux: Add support for the two DTS HD stream types
...
Fixes bug #614259 .
2010-04-04 20:23:00 +02:00
Sebastian Pölsterl
d7ab75abb8
mpegtspacketizer: Additionally use the CRC to check if tables are duplicates
...
The current code just uses table id, subtable extension and version number to
check if the section has been seen before. However, this comparison is not
sufficient, causing actually new tables being dismissed.
Fixes bug #614479 .
2010-04-02 19:52:25 +02:00
Sebastian Dröge
c55b24b43d
h264parse: Correctly clean up internal state for reuse
...
Fixes bug #614591 .
2010-04-02 19:48:56 +02:00
Sebastian Dröge
129042b65c
mpegtsparse: Make sure that the buffer metadata is writable before setting caps
...
Fixes bug #614349 .
2010-04-02 19:19:23 +02:00
Sebastian Dröge
ee4baab100
dvbsrc: Use uint instead of int for frequency and symbol-rate properties
...
The kernel API specifies them as uint32 and frequencies/symbol-rates greater
than 2^31 are actually needed sometimes.
Fixes bug #614475 .
2010-04-02 19:09:40 +02:00
Tim-Philipp Müller
840e1c5209
build: build plugins and examples in parallel where possible, if make -jN is used
2010-03-30 01:17:15 +01:00
Tim-Philipp Müller
901af6cf59
po: update for string changes and new comment
2010-03-30 01:16:32 +01:00
Tim-Philipp Müller
f81a96ae65
oss4: add comment for translators
...
Not that that will make these strings much better. Also remove i18n
marker where it doesn't make sense.
2010-03-30 01:14:58 +01:00
Tim-Philipp Müller
4162f0d58e
qtmux: use GStreamer package name and origin in the plugin info
2010-03-30 00:46:51 +01:00
Mark Nauwelaerts
7d2e248155
h264parse: fix writing NALU prefix for byte-stream output format
...
Specifically, input may already be in byte-stream format, so sync
bytes should not be misinterpreted as NALU size.
2010-03-29 14:49:06 +02:00
Jan Schmidt
5cabe639ac
openspc: Fix build warning
...
Add a prototype for gst_spc_dec_get_type
2010-03-29 10:00:57 +11:00
Sebastian Dröge
09223cc719
flacparse: Optionally check the overall frame checksums too before accepting a frame as valid
...
This is optional because it's a quite expensive operation and it's very
unlikely that a non-frame is detected as frame after the header CRC check
and checking all bits for valid values. The overall frame checksums are
mainly useful to detect inconsistencies in the encoded payload.
2010-03-26 18:58:35 +01:00
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
Tim-Philipp Müller
e964dcbd59
signalprocessor: don't use function that doesn't exist
...
Fixes the build.
2010-03-26 08:41:46 +00:00
Stefan Kost
a0822084a0
divx: add const to fix compiler warnings
2010-03-25 23:48:09 +02:00
Stefan Kost
05cbc5df9e
signalprocessor: add boolean return to _process
...
Avoid trying to push results if processing failed anyway.
2010-03-25 23:30:29 +02:00
Stefan Kost
cfcffe6a74
signalprocessor: remove useless g_assert
...
g_malloc and co would terminate when out of memory. No need to check after it.
2010-03-25 23:28:25 +02:00
Stefan Kost
7a14b5d393
signalprocessor: add more logging
2010-03-25 23:26:38 +02:00
Stefan Kost
31423b4638
signalprocessor: register function pointers just once
...
Avoid re-registering those for each wrapped ladpsa/lv2 element.
2010-03-25 23:12:37 +02:00
Stefan Kost
9304f959a4
signalprocessor: add rate to caps
2010-03-25 23:07:46 +02:00
Stefan Kost
5bc9d4cecd
signalprocessor: rename log category to be less ambigous
2010-03-25 23:05:18 +02:00
Stefan Kost
e4a3bc43c0
lv2: add more examples
2010-03-25 23:02:00 +02: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
Thiago Santos
d380140038
tests: tagschecking: New tags tests
...
Adds new tags checking tests.
2010-03-24 23:24:31 -03:00
Tim-Philipp Müller
0c97f9a9be
qtmux: init debug category before using it
2010-03-25 00:20:54 +00:00
Edward Hervey
868c706941
Automatic update of common submodule
...
From 55cd514 to c1d07dd
2010-03-24 18:54:57 +01:00
Andoni Morales
b65da8ea96
dshowvideosrc: Add support for YUY2 input format
...
Fix bug #613708
2010-03-24 17:05:14 +01:00
Stefan Kost
53db4a1884
docs: add photography iface to docs
...
We normaly have separate libs docs, not done becasue of lazyness here yet.
2010-03-24 16:25:43 +02:00
Stefan Kost
4a87fee780
jpegformat: add blank line to fix generated xml
2010-03-24 16:25:43 +02:00
Stefan Kost
36483adfba
jack: fix element name in section doc blob
2010-03-24 16:25:43 +02:00
Benjamin Otte
06242ffe20
modplug: Define WORDS_BIGENDIAN to avoid undefined warning
...
https://bugzilla.gnome.org/show_bug.cgi?id=613795
2010-03-24 15:05:50 +01:00
Benjamin Otte
52e02c83a4
Use pkgconfig to detect dvdnav
...
The previously used dvdnav-config script was broken in a lot of distros.
2010-03-24 12:17:19 +01:00
Tim-Philipp Müller
95a307c904
kate: fix yet another compiler warning
2010-03-24 00:27:34 +00:00
Tristan Matthews
552cd26b43
osx: more compiler warning fixes
...
Avoid new warnings.
Fixes #613758 .
2010-03-24 00:19:02 +00:00
Thiago Santos
01f4f9a4e8
tests: faac: Fix build
...
Fixes build of faac due to functions not being static nor
having being declared in headers. (No previous prototype error)
Probably due to added -Wmissing-prototypes
2010-03-23 14:19:03 -03:00
Sebastian Dröge
025aa946d3
amrwbenc: Fix compiler warning
2010-03-23 11:10:05 +01:00