Commit graph

7322 commits

Author SHA1 Message Date
David Schleef
bc25896579 cog: remove // comments 2009-09-19 14:13:25 -07:00
Edward Hervey
314e2dabd5 mpegtsparse: Don't use GstIterator, do change detection ourselves.
Using a GstIterator is slow because we have to create/destroy that
iterator every single time.
We just do the threadsafe cookie check and list iteration ourselves.
2009-09-19 12:49:47 +02:00
Edward Hervey
c224da54e4 mpegtsparse: Avoid type-checking casts in tight loops 2009-09-19 12:45:39 +02:00
Edward Hervey
8b981fba5c mpegtspacketizer: Make next_packet() return an enum.
This avoids calling an extra gst_adapter_available() in a tight loop.
2009-09-19 12:45:39 +02:00
Edward Hervey
bdc513b31e mpegtsparse: More branch prediction macros 2009-09-19 12:45:39 +02:00
Edward Hervey
879e00b969 mpegtspacketizer: Spread branch prediction macros 2009-09-19 12:45:39 +02:00
Edward Hervey
fcc4f8388c mpegtsparse/mpegtspacketizer: Register and use GQuark for structures. 2009-09-19 12:41:34 +02:00
Edward Hervey
d88af539f9 mpegtspacketizer: Initialize debugging in _get_type
There's no need for an extra function since all debuggin will require
a MpegTSPacketizer which means that the GType will be created, therefore
move the debug category initialization there.
2009-09-19 12:41:27 +02:00
Edward Hervey
56b71d6a48 mpegtspacketizer: memset structure instead of individually setting fields to 0 2009-09-19 12:32:21 +02:00
Edward Hervey
69aab98702 mpegtspacketizer: Remove g_return_if_fail
It's overkill for code only used by one element.
2009-09-19 12:32:17 +02:00
Edward Hervey
0ac7e16066 mpegtspacketizer/parse: Don't use gst_structure_to_string() for debugging.
There's GST_PTR_FORMAT for that, and too bad for the systems that don't have
support for that. It just costs too much cpu.
2009-09-19 12:32:10 +02:00
Edward Hervey
0daedae52f gst: Remove dead mpegtsparse directory.
This was seriously confusing. Also, the code is in gst/mpegdemux/
2009-09-19 12:31:52 +02:00
David Schleef
f367e5fbde cog: fixes to make cog work inside -bad 2009-09-18 19:11:40 -07:00
David Schleef
8c856cfb5a videomeasure: fix line endings 2009-09-18 19:11:19 -07:00
David Schleef
923a7e5256 videomeasure: fix distcheck 2009-09-18 19:11:19 -07:00
David Schleef
85eb7ce8f4 schroenc: quiet debugging message in last commit 2009-09-17 18:16:35 -07:00
David Schleef
5dd461d3fc schroenc: Keep track of granule offset 2009-09-17 18:15:28 -07:00
David Schleef
21aa38d13b Copy cog plugin and video library from cog project 2009-09-17 17:03:41 -07:00
David Schleef
2d28da1994 schrodec: Fix resync bug due to adapter API change
gst_adapter_masked_scan_uint32() changed slightly from when
this element was in Schroedinger.  Oops.
2009-09-17 17:03:41 -07:00
David Schleef
62b692d549 basevideo: debug at new segment events 2009-09-17 17:03:41 -07:00
David Schleef
2506c3567c mpegtsdemux: Set DISCONT on buffers 2009-09-17 17:03:40 -07:00
David Schleef
440fceec73 basevideo: Add a warning 2009-09-17 17:03:40 -07:00
David Schleef
e3d9e9d98b celtenc: don't limit bit rate 2009-09-17 17:03:40 -07:00
Lutz Mueller
a4e438d193 pnm: Add ASCII decoding support
...and make the ASCII output of the encoder a bit more pretty.

Fixes bug #595409.
2009-09-17 09:39:10 +02:00
Sebastian Dröge
c7aa0aae4e pnm: Remove the experimental status from the pnm plugin 2009-09-17 09:39:09 +02:00
Dave Robillard
fa47a5ff3a More tolerate port group support, plugin cleanup.
Gracefully handle plugins with illegal groups that contain no symbol by
treating ports in that group normally (i.e. as if they weren't part of a
group).  The port groups spec mandates that groups have a valid unique
symbol, but plugins aren't perfect...

Make (conceptually) static plugin variables actually (C) static,
and clean up SLV2 related things with a GCC shared library destructor,
if GCC is in use.
2009-09-17 09:46:50 +03:00
Dave Robillard
9956118be8 Make mono warning visible in public documentation. 2009-09-17 09:46:49 +03:00
Dave Robillard
374d52d257 Multi-channel support with channel positions.
This queries port roles from the LV2 data and converts it into GStreamer
channel positions.  This should allow any type of multi-channel plugin
(including beyond stereo, e.g. surround) to work fine in GStreamer,
and with elements that require channel positions to be explicitly stated.
2009-09-17 09:46:49 +03:00
Dave Robillard
8538d382e3 Add documentation for LV2 element. 2009-09-17 09:46:49 +03:00
Dave Robillard
d051620fcc Fix typo in LADSPA element documentation. 2009-09-17 09:46:49 +03:00
Dave Robillard
05e9de937e Bump SLV2 dependency to 0.6.6. 2009-09-17 09:46:49 +03:00
Dave Robillard
00a4088950 Add swh and calf LV2 port group patches. 2009-09-17 09:46:48 +03:00
Dave Robillard
403f58b562 Working multi-channel pads for LV2 plugins. 2009-09-17 09:46:48 +03:00
Dave Robillard
c076e7d34f Allocate a static predicate for pg:inGroup. 2009-09-17 09:46:48 +03:00
Dave Robillard
1ef08edb7c Only allocate lv2:inPlaceBroken predicate once. 2009-09-17 09:46:48 +03:00
Dave Robillard
7b14e0cb01 Eliminate use of static mono pad template. 2009-09-17 09:46:48 +03:00
Dave Robillard
b849ae89b5 Separate port discovery from pad template creation.
This first counts ports (using the builtin slv2 functions to do so
rather than manually as before), then creates descriptors for each port
and finds all port groups.  Only then are pad templates created (towards
using group information for creating multi-channel pads).
2009-09-17 09:46:48 +03:00
Dave Robillard
28b35ae923 Use silly glib types :). 2009-09-17 09:46:48 +03:00
Dave Robillard
8eeb2f3751 Query and store port group information.
Replace port index arrays with a struct for holding more information
than just indices (e.g. groups).
2009-09-17 09:46:48 +03:00
Dave Robillard
db1a4ba50b Working basic LV2 signal processing.
LV2 plugins, short of any surprises, should work with the same basic
functionality as LADSPA plugins.
2009-09-17 09:46:47 +03:00
Dave Robillard
ab96789f58 Set class inPlaceBroken property. 2009-09-17 09:46:47 +03:00
Stefan Kost
9e12fb5675 docs: fix example and mention difference to vorbisdec 2009-09-17 09:46:47 +03:00
Jan Schmidt
6e1a735075 vdpau: Fix bogus check before unreffing 2009-09-16 10:28:20 +01:00
Jan Schmidt
16124a1c1e vdpau: Fix pkg-config test
If the pkg-config check doesn't succeed, test with the old method
instead of bailing out of configure with an error.
2009-09-16 10:28:12 +01:00
Carl-Anton Ingmarsson
f85c84af1f vdpauvideopostprocess: handle pixel-aspect-ratio better
the implementation is not entirely correct since we assume that the sink
element's pixel-aspect-ratio is 1/1
2009-09-16 10:25:47 +01:00
Carl-Anton Ingmarsson
0b979b48fc vdpauvideopostprocess: remove par from caps since we don't handle it yet 2009-09-16 10:25:47 +01:00
Carl-Anton Ingmarsson
370520682d vdpauvideopostprocess: don't remove interlaced flag in video_to_output_caps() 2009-09-16 10:25:46 +01:00
Carl-Anton Ingmarsson
ba69dd4747 vdpauvideopostprocess: add inverse-telecine property 2009-09-16 10:25:46 +01:00
Carl-Anton Ingmarsson
13075eb07e vdpauvideopostprocess: fix noise-reduction property getter 2009-09-16 10:25:46 +01:00
Carl-Anton Ingmarsson
a7ea771f36 vdpauvideopostprocess: add sharpening property 2009-09-16 10:25:46 +01:00