Commit graph

1940 commits

Author SHA1 Message Date
Tim-Philipp Müller
f1f478ff46 assrender: pass constant string as format string to printf
Fix compiler warning about non-string literal being passed as
first argument to print.
2010-04-08 01:41:31 +01: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
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
Jan Schmidt
5cabe639ac openspc: Fix build warning
Add a prototype for gst_spc_dec_get_type
2010-03-29 10:00:57 +11:00
Stefan Kost
a0822084a0 divx: add const to fix compiler warnings 2010-03-25 23:48:09 +02:00
Stefan Kost
e4a3bc43c0 lv2: add more examples 2010-03-25 23:02:00 +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
Tim-Philipp Müller
95a307c904 kate: fix yet another compiler warning 2010-03-24 00:27:34 +00:00
Sebastian Dröge
025aa946d3 amrwbenc: Fix compiler warning 2010-03-23 11:10:05 +01:00
Tim-Philipp Müller
d37572f6ed cog: touch cog.orc to force regeneration of cogorc.[ch]
.. with new Makefile.am rules, which should fix the build
without the need to do a 'manual' make clean after updating.
2010-03-23 09:16:28 +00:00
Benjamin Otte
240f494aa7 Add -Wold-style-definition
and fix the warnings
2010-03-22 16:56:03 +01:00
Sebastian Dröge
bd5ef2d21d ladspa: Fix compiler warnings 2010-03-22 13:50:30 +01:00
Tim-Philipp Müller
203b284bab soundtouch: build fixes: #if -> #ifdef 2010-03-22 12:38:02 +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
Sebastian Dröge
63fdeb05f1 gme: Fix compiler warning 2010-03-22 08:47:57 +01:00
Benjamin Otte
23b435d858 orc: Fix warnings 2010-03-21 23:10:08 +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
Sebastian Dröge
bb93140728 cog: Generate correct YUV->RGB tables
Fixes: #613332.
2010-03-19 15:07:14 -07: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
eb6f571381 Remove xine plugin code
The plugin is unmaintained (even worse than Xine ;))
2010-03-18 22:46:41 +01:00
David Schleef
88e8ec2e7e cog: Fix off-by-one in 444->420 conversion
Fixes #613160.
2010-03-17 11:31:58 -07:00
Руслан Ижбулатов
20c1e3b605 cog: Use "(png_infopp) NULL" instead of png_infopp_NULL 2010-03-17 15:31:47 +01:00
Руслан Ижбулатов
e44da2ded0 cog: Use png_get_io_ptr() instead of accessing io_ptr directly 2010-03-17 15:31:46 +01:00
Stefan Kost
aa65063eda neon,dvd: also use g_value_set_static_string() here for static strings 2010-03-16 23:44:01 +02:00
David Schleef
38d520e3e8 cog: disable code that causes an orcc crash
Revert this after orc release and version bump.
2010-03-15 12:18:19 -07:00
David Schleef
3e613f8ff4 cog: comment on previous bad commit message
The recent commit "logoinsert checkpoint FIXME" should
actually read:  Fix logoinsert variable names.
2010-03-15 01:46:45 -07:00
David Schleef
8379d20ec6 cog: implement chroma-site
Determine chroma site position from the caps and use it when
upsampling/downsampling chroma.
2010-03-15 01:39:52 -07:00
David Schleef
8272df7fb9 cogcolorspace: implement color-matrix handling 2010-03-15 01:39:52 -07:00
David Schleef
a37a68b7b7 cog: logoinsert checkpoint FIXME 2010-03-14 15:18:29 -07:00
David Schleef
5d9d693caf cog: Add n_taps to chroma upsampling 2010-03-14 15:18:24 -07:00
Thiago Santos
c5034a716d metadata: Remove _XMP_GEO_* tags
Removes GST_TAG_XMP_GEO_LOCATION_COUNTRY,
GST_TAG_XMP_GEO_LOCATION_CITY and
GST_TAG_XMP_GEO_LOCATION_SUBLOCATION from metadata's
private tags as those are now present at -core tags.

Fixes #612410
2010-03-11 15:46:21 -03:00
Rob Clark
554e0fc544 fix trace macro typo
https://bugzilla.gnome.org/show_bug.cgi?id=612454
2010-03-11 17:52:02 +01:00
Stefan Kost
d882207cc2 metadata: don't check for NULL when calling g_free.
g_free does the check already. Also small code logic cleanup and whitespace fix.
2010-03-11 11:29:16 +02:00
Stefan Kost
1370d1f3d6 metadata: remove empty setter/getter vmethod implementations 2010-03-11 11:28:14 +02:00
Stefan Kost
9f3b7647d8 metadata: update bug status 2010-03-11 10:36:27 +02:00
Tristan Matthews
846c2db926 dc1394: list valid iso-speeds in help and validate speeds in set_property. 2010-03-09 23:38:24 +00:00
Tristan Matthews
f8c1709b5f dc1394: check iso-speed values in set_property, ignore if invalid 2010-03-09 23:38:23 +00:00
Tristan Matthews
0cb067987d dc1394: add iso-speed property
Add iso-speed property which allows for higher bandwidth dc video.
Automatically set to b-mode as needed.

Fixes #603745.
2010-03-09 23:38:23 +00:00
Sebastian Dröge
039f7e3dbb schroenc: Only enable framestats code with schro >= 1.0.9 2010-03-09 21:26:14 +00:00
Sebastian Dröge
678f7ddb16 build: Make some more rules silent if requested 2010-03-09 21:05:50 +00:00
David Schleef
fc484a029b schroenc: Add frame-stats message 2010-03-09 12:35:22 -08:00
Benjamin Otte
6da643e072 apexsink: Use "apexsink" for plugin name 2010-03-09 19:16:30 +01:00
Tiago Katcipis
0664c55f05 soundtouch: removing very annoying g_print() in pitch element
Fixes #612208.
2010-03-09 18:13:14 +00:00
Sebastian Dröge
852be755dd assrender: Drop text buffers before the segment start and clip running time end to the segment stop 2010-02-27 11:43:49 +01:00
Sebastian Dröge
659776f1b1 assrender: Consume text buffers if they're to be displayed in the next 500ms
Instead of only consuming them if they're to be display now. Consuming
them then might make following buffers with the same timestamp to
be too late.
2010-02-27 11:43:49 +01:00
Sebastian Dröge
0dbe95a97d assrender: Protect libass structures from concurrent access from multiple threads
Fixes bug #608751.
2010-02-23 18:16:48 +01:00
Tim-Philipp Müller
5072ca2331 faad: fix Makefile.am some more
FAAD_CFLAGS and _LIBS should be at the end, and -lgstaudio-0.10
should go right after GST_PLUGINS_BASE_LIBS.
2010-02-21 19:57:19 +00:00
Sebastian Dröge
cddb7b958e faad: Link with libgstbase for GstAdapter
Also fix order of CFLAGS and LIBS
2010-02-19 15:24:45 +01:00
Stephen Depooter
20540ebdb4 celt: fix compile against earlier CELT versions
Check the existence of the CELT_SET_COMPLEXITY symbol
before trying to use it. Fixes compilation against
libcelt 0.4.0.

Fixes #604311.
2010-02-19 09:05:52 +00:00
Sebastian Dröge
e8e3192a6e assrender: If no codec data is set, still initialize the ass track 2010-02-16 22:22:39 +01:00
Tim-Philipp Müller
26e7e93bfd faad: guard against codec_data field with a NULL buffer in caps
Fixes #609478.
2010-02-16 16:49:39 +00:00
Stefan Kost
d8fd8ea9e9 docs: unify doc style
Use gtkdoc syntax and add short desc for the examples.
2010-02-16 09:49:05 +02:00
Tim-Philipp Müller
d464c94cb3 cogmse: fix printf format and a few ref leaks 2010-02-15 13:05:14 +00:00
Tim-Philipp Müller
e991cb0c15 build: remove somem more ivorbis cruft 2010-02-15 12:48:08 +00:00
Mark Nauwelaerts
e3081a71ba Moved 'ivorbis(dec)' from -bad to -base.
Fixes #609063.
2010-02-15 12:20:48 +01:00
Mark Nauwelaerts
68b644a437 faad: add documentation 2010-02-11 22:22:52 +01:00
Mark Nauwelaerts
89ac50f14c faac: fix documentation typo 2010-02-11 22:22:52 +01:00
Mark Nauwelaerts
5a3ab64407 faad: remove some redundant code
... and move and modify some debug logging.
2010-02-11 22:22:52 +01:00
Mark Nauwelaerts
83f1b71613 faad: drain sync pending frames when appropriate 2010-02-11 22:22:51 +01:00
Mark Nauwelaerts
5e3cdd233a faad: send tags exactly once when init'ed 2010-02-11 22:22:51 +01:00
Mark Nauwelaerts
96ad733207 faad: refactor some partial stream reset 2010-02-11 22:22:51 +01:00
Mark Nauwelaerts
f6ea217792 faad: correctly estimate average bps
Count consumed bytes and corresponding duration atomically,
rather than letting bytecount run ahead of what has been decoded.

Fixes #440476.
2010-02-11 22:22:51 +01:00
Mark Nauwelaerts
2230469113 faad: give up after some number of decoding failures 2010-02-11 22:22:51 +01:00
Mark Nauwelaerts
b4739124dc faad: do not attempt to sync indefinitely 2010-02-11 22:22:51 +01:00
Mark Nauwelaerts
159fe8a1a0 faad: use adapter rather than temporary buffer 2010-02-11 22:22:50 +01:00
Mark Nauwelaerts
cca1fad250 faad: objectify debug statements and adjust some levels 2010-02-11 22:22:50 +01:00
Mark Nauwelaerts
6407329deb faad: refactor src caps (re)negotiation and reflow some error exits 2010-02-11 22:22:50 +01:00
Mark Nauwelaerts
50e4914edc faad: remove defunct and otherwise obsolete code 2010-02-11 22:22:50 +01:00
Mark Nauwelaerts
94928e44a4 faad: refactor reset 2010-02-11 22:22:49 +01:00
Mark Nauwelaerts
b3e8ded46e faad: use an in struct segment rather than a separately allocated one 2010-02-11 22:22:35 +01:00
David Hoyt
beeb8fa8ec rsvgdec: fix compilation with MSVC
MSVC doesn't like #if #else within statements.

Fixes #609215.
2010-02-07 11:17:20 +01:00
Vincent Penquerc'h
334714bbc0 katedec: don't escape special characters
Don't escape special characters, as we'll send the buffer as
text/plain rather than text/x-pango-markup; this avoids e.g.
quotes from appearing as " in the rendered subtitles.

See bug #600929.
2010-02-07 10:27:58 +01:00
Vincent Penquerc'h
dfd5b4c99f kate: rename the tiger overlay element's sink pad to 'subtitle_sink'
As this is what playbin2 expects. See bug #600929.
2010-02-07 10:20:50 +01:00
Mark Nauwelaerts
a6ba273e36 metadata: append_sorted should really append sorted
... which means that identical offset_orig should preserve the order
in which they are appended.
2010-02-05 10:21:22 +01:00
Mark Nauwelaerts
5f4f24fb76 metadata: use a non-DEFAULT proper debug category in helper files 2010-02-05 10:21:19 +01:00
Grigori Goronzy
934c91682f assrender: instruct libass to use light autohinting
Fixes bug #608753.
2010-02-02 08:55:59 +01:00
Eric Appleman
febb13d26f assrender: Don't scan current working directory recursively for fonts
This can take a very long time and also libass will overwrite files
if there's an embedded font with the same filename as an existing file.

Fixes bug #575878 and #608706.
2010-02-02 08:53:53 +01:00
Stefan Kost
88009080e8 lv2: code cleanups
More logging and comments. Rename some vars for consistency. Fully init port
struct.
2010-02-01 22:37:39 +02:00
Stefan Kost
ebdf1c2a18 signalprocessor,lv2,ladspa: move sample-rate to baseclass
We need the sample-rate in baseclass for upcomming timestamp changes.
2010-02-01 22:32:32 +02:00
Stefan Kost
8f1bb31255 lv2: shorter element names
Cut off the protocol part from the uri. Also just g_Strdup, instead of printf
the name.
2010-02-01 22:24:52 +02:00
Stefan Kost
1658472183 lv2: simpify property registration
Avoid type cheking casts for each property. Use a running index.
2010-01-31 22:25:52 +02:00
Stefan Kost
b3ac421b96 ladspa: simplify property registration
Don't do checking cast for each parameter. Use a running index.
2010-01-31 22:25:51 +02:00
Stefan Kost
792c181edc lv2: use plugin dependency registry api 2010-01-31 22:25:51 +02:00
Stefan Kost
6f4bf4cf8f lv2: lookup GQuark just once instead for each plugin+1 2010-01-31 22:25:51 +02:00
Stefan Kost
99327869e2 ladspa: lookup GQuark just once and not for each plugin+1 2010-01-31 22:25:51 +02:00
Stefan Kost
ee2c1e6624 ladspa/lv2: link and init to gst-controller 2010-01-31 22:25:51 +02:00
Stefan Kost
78b699278c lv2: add more debug and remove "\n" from debug logging 2010-01-27 23:34:34 +02:00
Stefan Kost
6aed9cfedb lv2: better gobject properties
Use lv2:symbol as a base for the property name and lv2:name for nick and blurb.
2010-01-27 23:31:33 +02:00
Stefan Kost
faa007d4b0 lv2: create valid gobject property names. Fixes #602528
We cannot use the names as we get them from lv2 for the gparamspec name, only
for nick/blurb. Apply same algorithms like elsewhere (ladspa) for name.
2010-01-25 11:53:35 +02:00
Stefan Kost
76daceadca Revert "mxf: add a return to fix the build when turning assert off"
This reverts commit 68ca62b369.
2010-01-25 11:48:29 +02:00
Stefan Kost
68ca62b369 mxf: add a return to fix the build when turning assert off 2010-01-25 09:54:27 +02:00
Alessandro Decina
de81378a62 faac: fix warnings under OS X.. 2010-01-22 10:48:54 +01:00
Thijs Vermeir
20fecc6874 flite: build and dist flite plugin
fixing "make dist"
2010-01-21 18:21:47 +01:00
Benjamin Otte
89d9aaee48 [cleanup] Various style and cleanups
Various fixes for gtk-doc warnings and making functions without
arguments take void as parameter.
2010-01-20 13:30:48 +01:00
David Schleef
3c0170aa4b faac: Fix channel layout
Adjusted the channel mappings to agree with the default channel mappings
in the spec, which is presumably what faac is using.  Fixes #607105.
2010-01-16 15:34:33 -08:00
David Schleef
82c07135d4 flite: handle samplesperbuffer 2010-01-16 15:32:02 -08:00
David Schleef
43147671c1 flite: Add flitetestsrc
Flite is a speech synthesizer library (BSD-ish license).  This element
negotiates a (possibly) multichannel audio stream, and then continually
outputs buffers naming the number and position of the channel.  It's
kinda crappy, but I needed it for testing purposes.
2010-01-16 13:03:24 -08:00
Sebastian Dröge
007b667366 faac: Only accept specific channel layouts as required by AAC
Fixes bug #607105.
2010-01-16 13:05:58 +01:00
Sebastian Dröge
bb757ad0bb assrender: Improve debug output a bit and simplify code 2010-01-14 12:59:21 +01:00
Sebastian Dröge
d85be17a00 assrender: Make sure that the video buffer is writable before writing to it 2010-01-14 12:57:04 +01:00
Wim Taymans
9356b9df10 apexsink: change volume property to a double
Change the volume property from int to a double so that playbin2 can use it.
Keep the volume internally as a percent for now with the default 75% mapped to
a volume of 1.0.
some cleanups, add some FIXME and comments.

Fixes #606878
2010-01-14 12:49:39 +01:00
Tim-Philipp Müller
4be0225870 mmssrc: post error message in addition to redirect when connect fails
When we can't connect to the server, we should still post a proper
error message on the bus, so that applications that don't handle the
redirect messsage get a proper error message (and a hint to look for
the redirect).

Fixes #606636.
2010-01-12 23:55:20 +00:00
Mark Nauwelaerts
8be4e3725f faac: improve faac configuration
In particular, align configuration some more with reference binary faac.

Fixes #606726.
2010-01-12 19:46:01 +01:00
b3f0b029f3 win32: Include config.h before anything else. Fix mpegdemux LIBADD
Because config.h defines __MSVCRT_VERSION__, which should be defined
before inclusion of any system header.

Also fixes mpegdemux Makefile.am LIBADD typo.

Fixes #606665
2010-01-12 12:31:56 +01:00
Thiago Santos
a428ad82c7 Rename aac's stream-format 'none' to 'raw'
Renames aac's stream-format from previous commits from none to
raw
2010-01-11 13:42:48 -03:00
Thiago Santos
635b0c1129 faac: Add format to output caps
Adds 'stream-format' to output caps to inform if the stream is
adts or raw. This makes it possible for muxers to reject
input streams on caps if they don't support adts instead of
generating a invalid file.

Fixes #604925
2010-01-11 11:01:09 -03:00
Tim-Philipp Müller
c31559841a resindvd: fix unaligned access in this copy of mpegdemux as well
See #606371.
2010-01-11 01:03:38 +00:00
Tim-Philipp Müller
0bd4d4e27b zbar: use GST_MAKE_FOURCC to create FOURCC 2010-01-11 00:16:18 +00:00
Mark Nauwelaerts
8f70f5c479 faac: documentation fix 2010-01-05 17:50:41 +01:00
Sebastian Dröge
b648638401 modplug: Fix indention 2010-01-04 10:23:37 +01:00
Kaj-Michael Lang
f116cb0c19 modplug: Allow 1-2 channels for 16 and 32 bit depths, not only for 8 bits.
Fixes bug #605721.
2010-01-04 10:23:16 +01:00
Kaj-Michael Lang
212cf43774 modplug: Allow 32 bit depth, modplugs native format.
Fixes bug #605720.
2010-01-04 10:18:51 +01:00
Mark Nauwelaerts
137866c14b faac: only raw output needs codec_data in caps 2009-12-18 16:16:46 +01:00
Sebastian Dröge
ac48db3247 cog: Table generation utility needs to link to -lm too 2009-12-14 16:16:08 +01:00
Sebastian Dröge
253fb99a56 cog: Don't build orc_memcpy() and depend on orc >= 0.4.3 for orc_memcpy()
In the latest release this function is already defined.
2009-12-14 16:08:01 +01:00
Mark Nauwelaerts
a93f6b8b38 ivorbis: also cater for traditional 16-bit width sample output 2009-12-10 11:11:48 +01:00
Sebastian Dröge
544c9d0151 assrender: Implement srcpad query function to always forward to the video sinkpad 2009-12-09 10:00:04 +01:00
Sebastian Dröge
876cfb3d26 assrender: Proxy buffer allocation on video sinkpad to the srcpad
...and add getcaps function to the video sinkpad.
2009-12-09 10:00:04 +01:00
Sebastian Dröge
44aba00375 assrender: Implement srcpad event functions for seeking and correct event forwarding
Copied from textoverlay.
2009-12-09 10:00:04 +01:00
Sebastian Dröge
c3e42004d1 assrender: Add docs and integrate into the docs build system 2009-12-08 14:46:35 +01:00
Sebastian Dröge
d7e58ce0a9 assrender: For synchronizing the text, take the video running time of the next frame
This makes sure that libass already has all text buffers for the next frame
at the time when the next frame is processed. Without this text buffers
might be one frame late or not shown at all if they're only shown for a
single frame.
2009-12-08 14:06:23 +01:00
Sebastian Dröge
77d0ded9ed assrender: Fix I420 mode and enable it 2009-12-08 14:00:25 +01:00
Sebastian Dröge
5076cdc6f9 assrender: Fix compilation with older libass versions 2009-12-08 11:26:15 +01:00
Sebastian Dröge
925b57f7e9 assrender: Don't unref buffers twice 2009-12-07 18:35:40 +01:00
Sebastian Dröge
d06e9c40e6 assrender: Improve embedded font usage
For this add some new mimetypes and also check the filename extension.

Fixes bug #603938.
2009-12-07 18:31:24 +01:00
Sebastian Dröge
875811d7e7 assrender: Disable I420 support for now, it doesn't work reliable yet 2009-12-07 18:03:26 +01:00
Sebastian Dröge
098f39a42a assrender: Add support for I420 2009-12-07 18:00:29 +01:00
Sebastian Dröge
d8fc5de450 assrender: Optimize blit function and add support for all other non-alpha RGB formats
Also make sure to not write behind array bounds.
2009-12-07 17:10:34 +01:00
Sebastian Dröge
3e55a5ba7f assrender: Fix attachment tag handling and move it into a separate function
...to prevent code duplication.
2009-12-07 14:35:55 +01:00
Sebastian Dröge
2852ecbe12 assrender: Update text last stop after checking if timestamp/duration is valid 2009-12-07 14:26:46 +01:00
Sebastian Dröge
a009463d3f assrender: If an ASS track was allocated already only feed new codec_data to it instead of recreating 2009-12-07 14:23:22 +01:00
Sebastian Dröge
b502383f18 assrender: Lots of random cleanup and some minor memleak fixes 2009-12-07 14:05:22 +01:00
Sebastian Dröge
ebc1f45f38 assrender: Extract embedded fonts from the subtitle streams if requested 2009-12-07 13:40:56 +01:00
Sebastian Dröge
dc42da1bd4 assrender: Don't let libass print stuff on stderr but proxy the messages to the GStreamer debugging system 2009-12-07 13:28:22 +01:00
Tim-Philipp Müller
830b21caf2 apexsink: clean up and fix configure logic and Makefile.am
Check for openssl and libcrypto using pkg-config and don't build the
plugin if those are not available. Also, fix the CFLAGS/LIBS order
in Makefile.am and use the detected LIBS instead of hard-coding
-lcrypto in the Makefile.am. Should fix #601417.
2009-12-05 11:25:15 +00:00
Stefan Kost
990166d1d3 metadata: fix classification 2009-11-24 14:43:01 +02:00
Tim-Philipp Müller
c49cdd59ff Clean up LDFLAGS, LIBS, CFLAGS
Fix order, fix variables that don't exist, like GST_LIBS_LIBS,
use $(LIBM) instead of -lm, and move _LIBS from LDFLAGS to LIBADD.

Spotted by Havard Graff.
2009-11-22 19:30:58 +00:00
Tim-Philipp Müller
044e5b8b5f cog: include our own _stdint.h instead of <stdint.h> 2009-11-22 19:04:43 +00:00
Jan Schmidt
2e4c26239e resindvd: Remove local basesrc copy
Use the real version of basesrc instead of a local copy now that it
supports the seamless segment feature that resin needs.
2009-11-21 17:37:31 +01:00
David Schleef
788e94f835 cog: convert some params to consts in orc code 2009-11-20 20:59:33 +01:00
David Schleef
8d761840d4 cog: Add orc test code for cog
Also look for cog.orc source file in the right place.
2009-11-20 13:14:50 +01:00
Stefan Kost
1803eb4d7a lv2: set the audio-channel positions again, but now in _setup
Readd the code that was reverted for the release. We now set audio-channel
positions if any on the pad caps and not on the templates.
2009-11-19 23:01:29 +02:00
Stefan Kost
a9ffdb5b47 ladspa: only use g_return_val_if_fail for checking pre-conditions
g_return_* can be disabled. Still we want to check for failed instance creation.
2009-11-19 21:11:36 +02:00
Stefan Kost
d7a4293774 lv2: only use g_return_val_if_fail for checking pre-conditions
g_return_* can be disabled. Still we want to check for failed instance creation.
2009-11-19 21:11:35 +02:00
Stefan Kost
cd3b5d00cd ladspa: remove left-over comment 2009-11-19 21:11:35 +02:00
Stefan Kost
8a5e9a3363 signalprocessor: change _setup to pass whole caps and not just sampling_rate
This allows to get rid of the sampling_rate variable in the base-class. Also now
subclasses can modify the caps to actualy negotiate. This is needed to e.g. set
audio-channel positions.
2009-11-19 21:11:35 +02:00
Edward Hervey
8cf8d8c2f8 jp2k: Raise rank of encoder to MARGINAL 2009-11-18 18:00:37 +01:00
Edward Hervey
dd221f8f54 gsm: Raise rank of encoder to PRIMARY 2009-11-18 18:00:23 +01:00
Edward Hervey
8f54a2b8a6 amrwbenc: Raise rank to SECONDARY 2009-11-18 18:00:00 +01:00
Edward Hervey
5d5e78c61c dirac: Raise rank of encoder to MARGINAL
We'll prefer to use schroedinger if available, but in case it's not available
we still have the libdirac option
2009-11-18 17:59:21 +01:00
Edward Hervey
3a67c770f7 xvid: Raise rank of encoder to SECONDARY 2009-11-18 17:58:53 +01:00
Yaakov Selkowitz
fac1f741c3 signalprocessor: Use correct CFLAGS for the signalprocessor headers in LV2/LADSPA
This makes sure that the headers from the source tree are taken and not
accidentially installed system headers in the case of builddir!=srcdir.

Fixes bug #602161.
2009-11-18 08:05:55 +01:00
Jan Schmidt
6b45854967 resindvd, dvdspu: Use new still-frame API from gst-plugins-base
Replace the current custom DVD still-frame events with new event
creation/parsing API from libgstvideo.
2009-11-18 03:10:32 +00:00
Jan Schmidt
c4fb624ad9 resindvd: Guard against a divide-by-zero error.
https://bugzilla.gnome.org/show_bug.cgi?id=600263
2009-11-18 01:58:20 +00:00
Stefan Kost
38592a566d signalprocessor: don't set channel positions in template-caps, Fixes #601775
Revert the changes that added audio positions to template caps. We have an un-
fortunate limitation in core that does not allow to do it. Keep a few things
commented out, so that the channel position can later on be set in setcaps.
2009-11-16 10:20:31 +02:00
Sebastian Dröge
aa0795d6c2 celt: Port to 0.7 API
Fixes bug #600724.
2009-11-11 11:08:22 +01:00
Sebastian Dröge
5df4c86c17 celt: Make celt version checks better extensible 2009-11-11 11:08:22 +01:00
Edward Hervey
2448b2576f jp2kenc: Fix klass (s/Decoder/Encoder/) 2009-11-07 12:29:15 +01:00
Sebastian Dröge
a95d960527 assrender: The text and video duration should only compared as running time too
The end times of the text and video buffers could be different than
their start running time + duration because of different rates.
2009-11-06 11:44:50 +01:00
Sebastian Dröge
cbba9c62af kate: Lower tiger's rank to NONE again
It's not well tested yet and doesn't handle segments and text/video
synchronization properly yet. Autoplugging it will cause failures.
2009-11-06 09:16:18 +01:00
Sebastian Dröge
229d50d309 assrender: Reset segments on FLUSH_STOP events 2009-11-06 07:13:10 +01:00
Sebastian Dröge
1cf221f4f4 assrender: Improve debugging 2009-11-06 07:13:10 +01:00
Tim-Philipp Müller
53ca99a850 timidity: printf format fixes 2009-11-05 23:17:58 +00:00
Tim-Philipp Müller
2803460b29 mythtv: printf format fixes 2009-11-05 22:03:51 +00:00
Tim-Philipp Müller
1fa5e7b89a mms: printf format fixes 2009-11-05 21:58:38 +00:00
Tim-Philipp Müller
f6acdfde66 kate: printf format fixes 2009-11-05 21:51:07 +00:00
Tim-Philipp Müller
02c5942325 resindvd: printf format fixes 2009-11-05 21:47:05 +00:00
Tim-Philipp Müller
c3ee4820e6 directfb: printf format fixes 2009-11-05 21:44:51 +00:00
Tim-Philipp Müller
cf481210e8 alsaspdifsink: printf format fixes 2009-11-05 21:44:39 +00:00
Sebastian Dröge
2d043ef744 assrender: Update last stop for the subtitles 2009-11-05 17:13:36 +01:00
Sebastian Dröge
51da9d976f assrender: Synchronize text and video by taking the running time instead of the stream time 2009-11-05 17:07:04 +01:00
Sebastian Dröge
8feed39593 assrender: Keep track of the subtitle segments 2009-11-05 17:07:04 +01:00
Sebastian Dröge
06a79e9263 assrender: If the video segment is not in TIME format don't accept it 2009-11-05 17:07:04 +01:00
Sebastian Dröge
1cd2b7dfc2 assrender: Drop too late text buffer immediately
Also improve debugging a bit and drop buffers without valid
timestamp or duration because we can't handle them.
2009-11-05 13:17:27 +01:00
Sebastian Dröge
c5ed836f2d assrender: Fix race condition that results in a deadlock on shutdown 2009-11-05 12:26:22 +01:00
Jan Schmidt
7d53c39237 resindvd,autoconvert: Avoid depending on 0.10.26 API
Wait until after the next release to bump the core requirement.
Until then, don't use gst_plugin_feature_list_copy and
gst_pad_peer_get_caps_refed.
2009-11-04 23:17:33 +00:00
Jan Schmidt
3d3d131b0f resindvd: Remove old code and obsolete comments
Remove some disabled code paths and obsolete FIXME comments
2009-11-04 23:10:16 +00:00
Gabriel Millaire
8561568e11 celtdec : chain_parse_data : check validity of timestamp, create a new one if needed
celtenc : default framesize is 480
          setcaps : gets framesize and set caps
          enc_chain : sets framesize in caps
          Added frame-size to static caps of audio/x-celt
          Replaced GST_DEBUG_OBJECT by GST_LOG_OBJECT in enc_chain
          setcaps: get frame-size from int instead of string
          setcaps: use default value for frame-size
2009-11-04 12:05:10 -05:00
Wim Taymans
6095ea02c4 cdaudio: fix properties
Fix properties and allow setting the device property.
2009-11-04 15:58:29 +01:00
Sebastian Dröge
4c625bd569 assrender: Return WRONG_STATE from the subtitle chain when flushing 2009-11-04 13:11:44 +01:00
Sebastian Dröge
e38fbc6795 assrender: Unlock and free any pending subtitle buffers on FLUSH_START 2009-11-04 13:07:27 +01:00
Sebastian Dröge
3b2ab1299c assrender: Synchronize subtitle buffers with the video
Fixes bug #600662.
2009-11-04 12:50:18 +01:00
Stefan Kost
94942cf69b zbar: include quality and check count, fixes #600461
We report the relative quality in the message and we also use the cache to skip
early detects and doubles.
2009-11-04 00:19:20 +02:00
Sebastian Dröge
fcdad69e7f tiger: Make sure that tiger is not autoplugged by decodebin2
It's not really a decoder...
2009-11-03 15:08:02 +01:00
Sebastian Dröge
23e07bc197 kate: Change ranks of katedec and tiger to PRIMARY to be autoplugged 2009-11-03 14:51:04 +01:00
Sebastian Dröge
773a8bfb6c tiger: Change name of the subtitle sink template and classification
This will make sure that subtitleoverlay can work with tiger.
2009-11-03 14:51:04 +01:00
Jan Schmidt
f7b832d19b resindvd: Fix an oversight from updating the copy of basesrc
Plugins need gst-i18n-plugin.h, not gst-i18n-lib.h
2009-11-02 10:22:41 +00:00
Tim-Philipp Müller
4eec7e8947 pitch: remove pointless gst_element_no_more_pads() 2009-11-02 09:15:39 +00:00
Jan Schmidt
bc331df7f5 resindvd: Use gst_base_src_new_seamless_segment()
When switching to a new seamless segment, use the new
gst_base_src_new_seamless_segment() function, because elements can't
send themselves seek events from the streaming thread.
2009-11-02 02:54:23 +01:00
Jan Schmidt
d0e4331648 resindvd: Add gst_base_src_new_seamless_segment() to GstBaseSrc copy
Add a new function to the internal copy of GstBaseSrc for starting a new
seamless segment.
2009-11-02 02:54:23 +01:00
Jan Schmidt
3e72e7b48b resindvd: Update the base source copy
This breaks seamless segment updates, causing deadlocks,
to be fixed in subsequent commits.
2009-11-02 02:54:23 +01:00
Stefan Kost
63734cbb3c lv2: fix pad direction for ungrouped ports
Classic copy'n'paste bug.
2009-10-27 22:01:09 +02:00
Jan Schmidt
4a394cd8cf resindvd: Remove extra new-segment in rsnstreamselector. Send discont.
All the input pads for the resin stream selectors have the same source,
and receive/send the same segment info, so there's no need to send a
segment when switching and activating a different pad. Removing it makes
on-the-fly audio track switching work properly.

After switching audio track, mark the next buffer discont.
2009-10-27 12:23:26 +00:00
Jan Schmidt
1b03e576e1 resindvd: Avoid a deadlock. Improve chapter seek.
Avoid a potential deadlock that happens when a call to
gst_clock_id_wait_async() immediately calls the callback.
Improve previous chapter seeking slightly by avoiding 'segment
start != -1' assertions when there is no previous chapter and
the seek therefore fails.
2009-10-27 12:23:26 +00:00
Jan Schmidt
0c7d5bb1d8 resindvd: lower a debug message to log level. 2009-10-27 12:23:25 +00:00
Jan Schmidt
b5caf70b41 resindvd: Add a keypress mapping for switching audio track
For debugging purposes, make keys 1-8 switch audio track.
2009-10-27 12:23:25 +00:00
Jan Schmidt
f33a906157 resindvd: Set the new initial-identity property on autoconvert
https://bugzilla.gnome.org/show_bug.cgi?id=599469
2009-10-27 12:23:24 +00:00