Commit graph

1795 commits

Author SHA1 Message Date
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
Robert Swain
7f12cab9de faac: Use definitions for default values
Makes changing the defaults easier and more fool-proof in the future.

Fixes #598552
2009-10-27 12:56:12 +01:00
Robert Swain
1d08ea9f10 faac: Change default AAC Profile to Low Complexity (LC) as this is more widely supported 2009-10-27 12:55:08 +01:00
Robert Swain
cf11e3b168 faac: Change the param_spec default value for allowed block types to match the gst_faac_init value of 'normal' as this is better 2009-10-27 12:54:41 +01:00
Stefan Kost
3333ab473c gitignore: ignore more 2009-10-24 15:14:26 +03:00
Stefan Kost
65a2e3c605 wildmidi: use G_DIR_SEPARATOR_S instead of hardcoded slashes 2009-10-24 15:14:26 +03:00
Stefan Kost
c4190684c5 ladspa: don't reference freed pointer when building portnames 2009-10-24 15:14:25 +03:00
David Schleef
277699bd2a cog: Add color matrix to RGB->YCbCr conversion 2009-10-24 11:38:42 -07:00
David Schleef
a4c24b9222 cog: Add color matrix selection to cogcolorspace
Eventually hook it up to caps via gstvideo
2009-10-24 11:38:42 -07:00
David Schleef
4ee3afc051 cog: Improve RGB<->YCbCr matrixing
YCbCr->RGB now has a 'bits' setting, which controls the number
of bits used for the matrix coefficients.  Choices are 6 or 8.
6 is low quality, but faster.
RGB->YCbCr now works.  Always works in 8 bit, since it's the same
speed as 6 bit.
2009-10-24 11:38:42 -07:00
David Schleef
26ab6d772a cog: Fix AYUV unpacking 2009-10-24 11:38:41 -07:00
David Schleef
907dc1b271 cog: hacking to improve matrix quality 2009-10-24 11:38:41 -07:00
Kaj-Michael Lang
8dfb55eec2 Fix start/stop typo 2009-10-23 12:11:11 -03:00
Edward Hervey
e56b3ba6dc schroenc: Use guint64 instead of uint64_t. Fixes #599355 2009-10-23 11:18:53 +02:00
Sebastian Dröge
9cc424117c faac: Link with libgstbase for GstAdapter
Fixes bug #599272.
2009-10-22 11:10:28 +02:00
Jan Schmidt
da26d728ac dtsdec: Use gst_buffer_ref/unref, not gst_object_ref/unref
properly fixes: #598274
2009-10-16 11:09:15 +01:00
Jan Schmidt
68621dfa56 resindvd: Re-send audio stream select on re-configuration
When the layout of the audio streams changes, re-send the current
audio stream selection event, in order to trigger switching to the
new stream properly.

https://bugzilla.gnome.org/show_bug.cgi?id=575568
2009-10-16 11:09:14 +01:00
Jan Schmidt
53bc4d1803 resindvd: Fix a small flaw - if any audio stream exists, use it
Don't create a dummy audio stream if only non-AC3 tracks exist.
2009-10-16 11:09:14 +01:00
Jan Schmidt
cb2d8b984d resindvd: Fix decoder pad template to allow LPCM
The pad template in the new switching decoder is too restrictive,
preventing the LPCM decoder from being selected.

https://bugzilla.gnome.org/show_bug.cgi?id=575568
2009-10-15 22:35:40 +01:00
Jan Schmidt
30845f1118 resindvd: Don't leak a reference to the parent in rsnaudiomunge
Don't leak a reference to the pad parent in the sink pad event handler
in rsnaudiomunge.

https://bugzilla.gnome.org/show_bug.cgi?id=598263
2009-10-13 15:10:09 +01:00
Jan Schmidt
61eebb8cb5 dtsdec: Fix reference leak on all input buffers in 'dvd mode'
https://bugzilla.gnome.org/show_bug.cgi?id=598274
2009-10-13 15:10:09 +01:00
Peter Christoffersen
7eb553e2de faad2: Don't leak element reference in the setcaps function
Fixes bug #598139.
2009-10-13 16:01:26 +02:00
Josep Torra
d1f931630d faad: fixes warning in macosx snow leopard 2009-10-12 12:30:22 +02:00
Stefan Kost
a2be08d74c jack: ensure segtotal is at least 2
Not only adjust buffer-time and avoid segtotal=0, but instead ensure segtotal is
atleast 2. Do same change on jacksrc. We could also check the latency and buffer
time configured by the client and adjust buffer-time so that we get to the same
number of segments.
2009-10-12 09:06:37 +03:00
Stefan Kost
0b08651664 jack: don't crash in ringbuffer with SIGFPE on small buffer-times
Jack overrides user-specified latency-time with the one it gets from jack
itself. It also needs to adjust buffer-time somewhat to avoid segtotal being 0
2009-10-12 00:51:27 +03:00
Stefan Kost
c1c0a4b143 metadata: init variables
metadatamux_exif_get_exif_from_tag() does not neccesarily init the passed
variables.
2009-10-11 22:10:04 +03:00
Josep Torra
c3b3ca4be2 soundtouch: fixes warnings on macosx snow leopard 2009-10-11 14:10:59 +02:00
Josep Torra
14a83f3b3d schroedinger: fix warnings on macosx snow leopard 2009-10-11 14:02:26 +02:00
Josep Torra
1826b6a93c metadata: fix warnings in macosx snow leopard 2009-10-11 13:56:43 +02:00
Josep Torra
71ce98d106 mms: fixes warning in macosx snow leopard 2009-10-11 13:51:58 +02:00
Josep Torra
5f646b2b48 dirac: fix warning in macosx snow leopard 2009-10-11 13:46:00 +02:00
Sebastian Dröge
3b32d37dd4 assrender/dvdspu: Increase ranks to PRIMARY 2009-10-09 13:18:31 +02:00
Sebastian Dröge
7f7ad5fad1 assrender: Make classification a bit more accurate
Change from "Filter/Effect/Video" to "Mixer/Video/Overlay/Subtitle"
2009-10-09 09:21:06 +02:00
David Schleef
6212f91a2b schro: remove unused include of liboil.h 2009-10-07 16:31:30 -07:00
Stefan Kost
27683ead16 metadata: don't copy trailing NULL of strings in xmp metadata
Also useing g_strdup, fixes the malloc <-> g_free mismatch.
2009-10-07 15:43:22 +03:00
Stefan Kost
b7b8b7f407 build: fprintf, sprintf, sscanf need stdio.h 2009-10-07 15:26:12 +03:00
Olivier Crête
1d2d68e050 mimenc: Remove invalid todo 2009-10-06 18:08:36 -04:00
David Schleef
1beac5913d dirac: various fixes
- Work around BaseEncoder bug not tracking frame index early.
 - Fix conversion of UYVY, YUY2, AYUV to internal format.
2009-10-05 17:07:46 -07:00
Jan Schmidt
38b949fe6f diracenc: Fix caps unlinked negotiation
move caps related code to gst_dirac_enc_set_format, and
use the source pad template to get allowed caps when there is
no peer pad.
2009-10-05 21:13:41 +01:00
Jan Schmidt
f80e4a7181 schroenc: When the source pad isn't linked, use the pad template
For negotiation, use the source pad pad template when it doesn't
have a peer.
2009-10-05 21:13:40 +01:00
Alessandro Decina
2c81532f29 schroenc: move caps related code to gst_schro_enc_set_format. 2009-10-05 16:42:27 +02:00
Jan Schmidt
caf67cbb4f Use GST_CXXFLAGS and GST_CFLAGS to pull in local gst-libs includes.
Move the GST_CXXFLAGS and GST_CFLAGS to the start of the includes set
to pull in the local gst-libs from there first, instead of listing
it explicitly.
2009-10-05 11:47:01 +01:00
Jan Schmidt
8ad360670d Fix CFLAGS and LDFLAGS for dirac/schrodinger
Include the local headers and libs before ones outside this
module.
2009-10-05 11:02:16 +01:00
David Schleef
1ee3b51ee0 dirac: convert to BaseVideoEncoder 2009-10-02 22:10:07 -07:00
David Schleef
75131a35d9 cog: hacking
Add RGB to YCbCr matrixing
Add tiny color management system (CMS) for video
Add quality level for colorspace
2009-10-02 22:07:03 -07:00
David Schleef
3c870a7a6c cog: reset cache instead of returning NULL
Returning NULL makes things crash.  Resetting the cache
makes things run slow.  Still an underlying bug somewhere,
but not critical.
2009-10-02 21:58:26 -07:00
David Schleef
05a1e071b9 celtdec: Handle lookahead, discont 2009-10-02 21:58:26 -07:00
Stefan Kost
2390d3a31c build: add missing stdlib include to fix the build 2009-10-02 19:12:32 +03:00
Alessandro Decina
553ec8c005 Fix schroenc for refcount change in GstBaseVideoEncoder. 2009-10-02 12:14:06 +02:00
Alessandro Decina
1584fd3f3a Make gst_schro_enc_handle_frame return GstFlowReturn. 2009-10-02 12:14:06 +02:00
Stefan Kost
f55eefd22c zbar: post a message instead of printing the code to stdout
Docment the message format that we sent. Add a property to turn message sending off.
2009-10-02 13:02:31 +03:00
Stefan Kost
0ac7f9fcd9 zbar: cleanups
Use start/stop to manage the cache. Few code cleanups and comments.
2009-10-02 11:22:48 +03:00
Stefan Kost
c22b45b4b2 zbar: add new plugin to the build here too 2009-10-02 10:37:43 +03:00
Stefan Kost
7f26eaf9c5 zbar: wrap zbar library as a image analyzer
zbar is a bar code scanner library.
2009-10-01 23:58:19 +03:00
Tommi Myöhänen
a1aac3ea77 metadata: change XMP location tags to start with capitals 2009-10-01 18:06:55 +03:00
Sebastian Dröge
5df38440d0 resindvdbin: If no suitable audio decoder is found play the DVD without audio 2009-10-01 15:09:27 +02:00
Sebastian Dröge
5d74676294 resindvdbin: Also post missing element messages if any other element is missing 2009-10-01 14:54:43 +02:00
Sebastian Dröge
b67bc258c8 resindvdbin: Post missing decoder messages if one is missing
For video this is an error, for audio only a warning.
2009-10-01 14:52:06 +02:00
Sebastian Dröge
02fbd5b42a resindvdbin: Use the new video decoder
This makes resindvdbin work with other MPEG video decoders than
mpeg2dec, for example the FFMPEG or Fluendo MPEG decoders.
2009-10-01 14:42:36 +02:00
Sebastian Dröge
157a6a7856 resindvdbin: Rename files 2009-10-01 14:37:43 +02:00
Sebastian Dröge
e998a22d0c resindvdbin: Refactor audio decoder and add a (MPEG) video decoder 2009-10-01 14:36:23 +02:00
Sebastian Dröge
3fe4b2106d rsnaudiodec: Get desired sink caps from the pad template 2009-10-01 13:29:03 +02:00
Sebastian Dröge
f760ad2dfc rsvg: Unpremultiply Cairo's ARGB to match GStreamer's 2009-10-01 10:54:15 +02:00
Sebastian Dröge
d96defb164 resindvdbin: Create external srcpads from the static pad templates 2009-09-30 15:49:02 +02:00
Sebastian Dröge
0171e32944 resindvdbin: Use gst_caps_can_intersect() because it's faster 2009-09-26 17:25:59 +02:00
Sebastian Dröge
bf1b64fab0 rsnaudiodec: Use ghost pads and always forward application/x-gst-dvd events immediately
Fixes bug #582779.
2009-09-26 17:25:59 +02:00
Jan Schmidt
e6165520b9 resindvdbin: Use autoconvert in rsnaudiodec and build a list of possible decoders
Partially fixes bug #582779.
2009-09-26 17:25:58 +02:00
Sebastian Dröge
07f9536476 rsnstreamselector: Use new single object iterator for the internally linked pads
This prevents an ugly deadlock.
2009-09-25 11:07:49 +02:00
Sebastian Dröge
a9e05725d2 resindvdbin: Don't block the external ghost pads but only their targets 2009-09-25 10:51:45 +02:00
David Schleef
1ab20212d2 cog: use BUILT_SOURCES instead of temp library 2009-09-24 11:27:21 -07:00
Stefan Kost
ac3ed46d71 Revert "LV2 preset support."
This reverts commit c95f59cd2d.
2009-09-22 13:44:14 +03:00
Stefan Kost
f82a4fa622 Revert "Fix property index when setting preset."
This reverts commit 0a6b22b191.
2009-09-22 13:43:57 +03:00
Stefan Kost
dbbd0778a5 cog: fix the build
Add a uninstalled convinience libtool library containing the generated sources.
Add that as a dependency to the plugin.
2009-09-22 13:23:25 +03:00
Dave Robillard
0a6b22b191 Fix property index when setting preset. 2009-09-22 09:44:07 +03:00
Dave Robillard
c95f59cd2d LV2 preset support. 2009-09-22 09:44:06 +03:00
David Schleef
960f418378 cog: Add quality setting to cogscale 2009-09-21 11:46:25 -07:00
David Schleef
06c3d2e93c cog: (re-)implement 1/2/4-tap scaling 2009-09-21 11:46:18 -07:00
David Schleef
213cc0b06d cog: Fix the virtual frame line cache 2009-09-21 10:03:44 -07:00
David Schleef
e34ea433d5 celtenc: VBR requires celt-0.6.0 2009-09-21 10:01:49 -07:00
David Schleef
de0ceb1178 celtenc: Add complexity, cbr, and max-bitrate properties 2009-09-19 14:13:26 -07:00
David Schleef
e4a2eb1d6f cog: autogenerate code, colorspace improvements 2009-09-19 14:13:26 -07:00
David Schleef
bc25896579 cog: remove // comments 2009-09-19 14:13:25 -07:00
David Schleef
f367e5fbde cog: fixes to make cog work inside -bad 2009-09-18 19:11:40 -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
e3d9e9d98b celtenc: don't limit bit rate 2009-09-17 17:03:40 -07: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
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
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
Sebastian Dröge
5a8e9cd080 signalprocessor: Fix various build/dist issues
Install the headers, version the library with @GST_MAJORMINOR@,
add all required libraries to _LIBADD instead of _LDFLAGS,
and add GST_*_LDFLAGS to _LDFLAGS.

Fixes bug #594715.
2009-09-10 07:56:25 +02:00
Mark Nauwelaerts
4082652c4d faac: add some debug statements for discrepancy cases and plug memleak 2009-09-08 22:32:28 +02:00
Mark Nauwelaerts
ef72172247 faac: sprinkle some more G_(UN)LIKELY 2009-09-08 22:32:27 +02:00
Mark Nauwelaerts
2c0dd62abb faac: enforce sync between wrapper view of data and encoder returned data 2009-09-08 22:32:27 +02:00
Mark Nauwelaerts
ceb6792447 faac: add some documentation 2009-09-08 22:32:27 +02:00
Marc-André Lureau
90ae1ac35e assrender: Fix compilation with libass = 0.9.6
Fixes bug #594382.
2009-09-08 09:27:52 +02:00
Sebastian Dröge
b3ce1e03fb wildmidi/timidity: Add audio/riff-midi to the src pad template caps 2009-09-04 19:17:06 +02:00
Wim Taymans
f874e30998 wildmidi: cleanups and fix seeking
Remove time_per_frame, it's too inaccurate.
Fix convert for -1 values.
Use scaling to convert samples to time.
Fix segment handling.
Fix seeking.
Fix buffer clipping (not yet enabled)
Protect the WildMidi library with the object lock to avoid races when changing
properties.
Fix offsets on output buffers, for raw audio the offset contains the sample
position not byte position.
Add better DISCONT handling.

Fixes #519001
2009-09-04 17:32:15 +02:00
Josep Torra
806746a388 neonhttpsrc: handle all redirection http status codes 2009-09-04 13:13:39 +02:00
Mark Nauwelaerts
f5295555db faac: refactor slightly and remove superfluous code 2009-09-01 10:50:22 +02:00
Mark Nauwelaerts
9a8d62a775 faac: freshen up caps negotiation
Perform sink and src caps negotiation during caps negotation,
and also cater for re-negotiation.
2009-09-01 10:50:22 +02:00
Mark Nauwelaerts
f81b1e7a4a faac: rewrite data caching and timestamp handling
Also fixes #593348.
2009-09-01 10:49:58 +02:00
Wim Taymans
d806622622 wildmidi: cleanup error handler 2009-08-31 18:48:04 +02:00
Wim Taymans
dd1b692561 wildmidi: free the adapter 2009-08-31 18:48:04 +02:00
Wim Taymans
5c6ddc8ff2 wildmidi: cleanups 2009-08-31 18:48:04 +02:00
Wim Taymans
42b9415024 wildmidi: allow for push mode operation
Fixes #586929
2009-08-31 18:48:04 +02:00
Wim Taymans
53f654150b wildmidi: use state machine
Use a state machine to keep track of the current state.
Add chain function and event function on the sinkpad.
Remove some unused code.
2009-08-31 18:48:04 +02:00
Wim Taymans
2127cf3e8c wildmidi: remove useless function calls 2009-08-31 18:48:04 +02:00
Wim Taymans
25caf9f743 wildmidi: set caps on pad
Set the caps on the pad and use those caps instead of keeping a separate caps
pointer around.
Fix some whitespace.
2009-08-31 18:48:03 +02:00
Wim Taymans
4ef773164a wildmidi: fix whitespace 2009-08-31 18:48:03 +02:00
Tim-Philipp Müller
ead987e47d kate: fix typo in Makefile.am
GST_PLUGIN_BASE_LIBS should be GST_PLUGINS_BASE_LIBS. Fixes #593683.
2009-08-31 16:08:05 +01:00
Tim-Philipp Müller
10d67eda7a GstAdapter is not a GstObject and should be freed with g_object_unref() 2009-08-31 13:14:02 +01:00
Sebastian Dröge
de1f057725 rsvg: Add RSVG SVG decoder plugin
This supports
  - decoding single SVG images and a stream of SVG images with a given framerate
  - lossless scaling of SVG images
  - ARGB output
2009-08-31 09:13:53 +02:00
Sebastian Dröge
55cdea8e7a assrender: Fix compilation with libass >= 0.9.7 and fix aspect ratio setting
Fixes bug #575261.
2009-08-31 09:11:34 +02:00
Sebastian Dröge
07bd0d87aa rsnstreamselector: Use iterate internal links instead of deprecated get internal links 2009-08-31 08:14:10 +02:00
Arek Korbik
f1c4bdf5be schroenc: set right OFFSET and OFFSET_END on header buffers to make oggmux happy
Without this oggmux will just keep buffering output pages in some cases.

Fixes #593024.
2009-08-26 00:26:42 +01:00
Руслан Ижбулатов
09b2abf87b resindvd, rawparse: fix LDFLAGS for gst-plugins-base libs
Fixes #593063.
2009-08-25 23:55:41 +01:00
Tim-Philipp Müller
d652fff690 amrwbenc: use different element GType name to avoid conflict with previous plugin
Use a different GType name for the element to avoid 'cannot register existing type'
warnings when running 'make check' in the unpacked tarball with the old amrwb plugin
also installed as system plugin under the old name (it used to be called 'amrwrb'
and now it's 'amrwbenc').
2009-08-24 18:20:32 +01:00
Olivier Crête
4f3363af4d mimenc: Write FOURCC as 32bit 2009-08-18 15:48:09 -04:00
Olivier Crête
4f61f46f07 mimenc: USE GST_WRITE_*_LE macros 2009-08-12 17:35:14 -04:00
Olivier Crête
6001c6b5c0 mimenc: Refuse to go playing in paused-mode without clock
Only try to use the clock in if paused-mode is set and refuse to go playing
in paused-mode without it.

Fixes bug #591538
2009-08-12 17:35:14 -04:00
Tim-Philipp Müller
20a4c32a0b kateenc: error out if category has not been set and check for obviously wrong values 2009-08-11 12:42:28 +01:00
Tim-Philipp Müller
e591dcd64c spc: fix typo in Makefile.am and build the right plugin (spc not gme) 2009-08-10 13:26:13 +01:00
Sebastian Dröge
531ce4228d spc: Lower rank to SECONDARY to make the gme plugin the default 2009-08-08 21:20:30 +02:00
Sebastian Dröge
8ad3f14873 spc: Add the OpenSPC spc plugin again
The gme plugin obsoletes it but it might still be useful
for users that don't have gme yet or prefer openspc for some reason.
2009-08-08 21:20:30 +02:00
Tim-Philipp Müller
24217ee31a kate: some minor clean-ups
Print flow return as string in log message; if we check the return
value of gst_buffer_new_and_alloc() we should use the _try() function
that might actually return NULL. Post error message when returning
GST_FLOW_ERROR. Use portable GLib macros to print 64-bit integers.
Don't use 0LL, that's also not portable (and unneeded here).
2009-08-08 12:49:01 +01:00
Sebastian Dröge
782965be9f gmedec: Use GstAdapter instead of many buffer joins
This reduces the number of reallocations and memcpys drastically.

Also free the input data as soon as it's complete and passed to GME
as it's not needed anymore.
2009-08-07 14:47:30 +02:00
Sebastian Dröge
27efe0067c gmedec: Add caps for all supported file formats to the srcpad template 2009-08-07 09:21:04 +02:00
Sebastian Dröge
9d9fa0a31d gme: Don't add empty string tags 2009-08-07 07:23:07 +02:00
Sebastian Dröge
cf0c65b72c gme: Fix caps name again 2009-08-07 07:01:11 +02:00
Sebastian Dröge
359c780830 gme: Rename everything from SPC to GME 2009-08-07 06:59:55 +02:00
Sebastian Dröge
7ddfae8a4a spc: Really remove old SPC code 2009-08-07 06:59:41 +02:00
Sebastian Dröge
e3cc127692 gme: Use gme for tags and duration parsing 2009-08-07 06:56:54 +02:00
Sebastian Dröge
c57eca3f0b spc: Rename SPC plugin to GME
as preparation for enabling support for non-SPC gaming console sound files.
2009-08-07 06:41:43 +02:00
Sebastian Dröge
e268bd6e28 spcdec: Forward all unknown src events upstream and don't restrict to SPC 2009-08-06 21:42:02 +02:00
Sebastian Dröge
de03453f6d spc: Make the SPC plugin work with the latest libgme release
gme_enable_accuracy() was added in SVN trunk and is not yet
in any release.
2009-08-04 10:18:46 +02:00
Michael Pyne
4394b1a61c spc: Use the portable libgme instead of x86-only OpenSPC library
This will later allow us to play other gaming console files
that are supported by libgme.

Fixes bug #576800.
2009-08-04 10:06:54 +02:00
Sebastian Dröge
d6bb14dade amrwbenc: Fix compilation 2009-07-27 20:02:37 +02:00
Iago Toral
29e3908032 amrwb: Remove AMR-WB parser and decoder and rename encoder plugin from amrwb to amrwbenc
Partially fixes bug #584890.
2009-07-27 20:02:37 +02:00
Tim-Philipp Müller
a20d86f1f5 kate: break up macros into multiple lines 2009-07-25 12:19:07 +01:00
Vincent Penquerc'h
aaed93e126 kate: use GST_ELEMENT_ERROR for error reporting
See #525743.
2009-07-25 12:13:40 +01:00
Sebastian Dröge
7de65d974e musepackdec: Implement SEEKING query 2009-07-24 07:41:57 +02:00
Olivier Crête
e8c8725efe mimdec: Lock element before unlocking 2009-07-22 15:58:02 -04:00
Olivier Crête
22b95ab4cd mimdec: Fix leaks
Use gst_pad_new_from_static_template() to not leak the pad template
Also properly chain up the finalize to the parent
2009-07-22 15:58:02 -04:00
Olivier Crête
8f1301390d mimenc: Use gst_pad_new_from_static_template
Prevents leak found by valgrind
2009-07-22 15:58:01 -04:00
Olivier Crête
a99348170e mimenc: Unref clockid 2009-07-22 15:58:01 -04:00
Olivier Crête
297ab50ca1 mimdec: Don't overwrite valid timestamps 2009-07-22 15:57:59 -04:00
Olivier Crête
5fe455e28f Revert "mimdec: Ignore the timestamps inside the buffers"
This reverts commit 5e051fa98a.
2009-07-22 14:54:00 -04:00
Olivier Crête
b61f931d87 mimenc: Ignore errors pushing out new segments
The following buffer push will return more valuable information.
2009-07-22 14:19:18 -04:00
Stefan Kost
87a97e24d4 docs: add docs for ladspa and update plugin docs
Add also inspect files for lv2 and frei0r (no docs yet).
2009-07-22 18:04:18 +03:00
Stefan Kost
60fa2e2cce make: remove whitespace after trailing backslash 2009-07-21 17:52:32 +03:00
Vincent Penquerc'h
65b873df34 kate: fix time conversion from DVD style timestamps. 2009-07-21 12:57:31 +01:00
Tim-Philipp Müller
af54a9afba kate: use new GST_TAG_SUBITLE_CODEC tag instead of GST_TAG_CODEC 2009-07-21 01:06:19 +01:00
Tim-Philipp Müller
ced14a1ff7 katedec: only put primary language tag in GST_TAG_LANGUAGE
Only put primary language into GST_TAG_LANGUAGE, and convert to lower case,
ie. only use "en" of "en_GB". This is per our tag documentation and hence
what apps expect. Also add example to kateenc property description so people
know a language code is wanted here.
2009-07-21 01:02:06 +01:00
Tim-Philipp Müller
b04587f4f7 katedec: add comment why we dont' support application/x-kate here for now 2009-07-21 00:04:28 +01:00
Vincent Penquerc'h
7ae5022cee katedec: create SPU format images from suitable background images
Make katedec fabricate dvd-style subpictures for subtitle overlay
bitmaps, for easier playbin2 integration (#588638).
2009-07-21 00:01:17 +01:00
ogg.k.ogg.k
265b75ca38 kate: fix some minor memory leaks
Makes 'make check-valgrind' work for the kate unit test (#525743)
2009-07-20 23:45:47 +01:00
Stefan Kost
51e022d288 metadata: don't dereference the pointer before the validity check 2009-07-20 16:42:43 +03:00
Vincent Penquerc'h
a7c64556ff kateenc: also recognise the new recommended 'SUB' category
Move the check for 'simple' subtitles category to a separate routine
and add in the new recommended SUB category (#525743).
2009-07-20 13:25:11 +01:00
Vincent Penquerc'h
9db1323d31 kateenc: keep bitmap/palette/region around when on the spot encoding is not possible due to an unknown end time
Fixes valgrind unitialized value report. See #525743.
2009-07-20 11:59:40 +01:00
Tim-Philipp Müller
4728d7f18e kate: add some FIXMEs 2009-07-19 23:35:05 +01:00
Tim-Philipp Müller
faf2d04696 katedec: demote to GST_RANK_NONE for now
There are still some autoplugging issues to sort out, and it needs
some testing.
2009-07-19 23:32:07 +01:00
Tim-Philipp Müller
3f347c7edd kate: make sure to free some more stuff 2009-07-19 23:16:07 +01:00
Tim-Philipp Müller
71efbb1e73 kate: fix up for additional subtitle/x-kate media type 2009-07-19 22:29:19 +01:00
Tim-Philipp Müller
71e6bbd19f kate: remove local kate typefinder, use the one in -base 2009-07-19 16:04:33 +01:00
Tim-Philipp Müller
ce0d40b634 kate: change media type to subtitle/x-kate and update define accordingly 2009-07-19 16:04:32 +01:00
Vincent Penquerc'h
e88984ccbd add new Kate plugin, for Kate overlay streams
katedec: Kate decoder (text only)
kateenc: Kate encoder (text and DVD SPU only)
katetag: Kate tagger
kateparse: Kate parser
tiger: Kate renderer using the Tiger rendering library

Fixes #525743.
2009-07-19 16:04:32 +01:00
Stefan Kost
4307be631d metadata: reset state if there is something to reset
The condition was wrong and as such the element was writing the same tags on subsequent
images if reused.
2009-07-17 15:50:19 +03:00
Olivier Crête
ff907b11b6 mimenc: Don't pretend to be ML20 if paused 2009-07-16 17:27:09 -04:00
Olivier Crête
5e051fa98a mimdec: Ignore the timestamps inside the buffers 2009-07-16 16:06:26 -04:00
Olivier Crête
cee75e2c89 mimdec: Don't try to parse the header before dropping the paused frames 2009-07-16 15:47:08 -04:00
Olivier Crête
8eac8701ff mimdec: Print the incoming fourcc on errors 2009-07-16 15:47:08 -04:00
Zeeshan Ali (Khattak)
1b246c72d1 Add more debug output to metadatamux 2009-07-16 18:15:31 +03:00
Jan Schmidt
4109c2193f metadata: Fix some compiler warnings
Cast some debug string parameters so that they don't cause mismatched
type warnings.
2009-07-15 18:28:47 +01:00
Stefan Kost
b3232301da metadata: fix copy'n'paste in tag description 2009-07-14 10:46:05 +02:00
David Schleef
969fbce46e schro: Add enum types for schroedinger settings 2009-07-13 18:04:14 -07:00
Jan Schmidt
6fd890d65f resindvd: Don't send empty language code strings
Ignore empty language codes on some poorly coded DVDs, rather than
setting empty strings into our outgoing taglist.
2009-07-13 19:30:50 +01:00
Olivier Crête
d607daaf18 mimenc: Only enable paused mode if the property is true 2009-07-10 21:42:19 +01:00
Tim-Philipp Müller
011e9c10f0 ivorbis: extract vorbis comments
Fixes #575818.
2009-07-10 13:03:54 +01:00
Olivier Crête
89e3049296 mimenc: Send pause frames when paused 2009-07-07 19:22:06 +01:00
Olivier Crête
f410614403 mimdec: Ignore pause frames 2009-07-07 19:21:45 +01:00
Olivier Crête
316236761c mimenc: Put keyframe/paused flags in tcp header 2009-07-07 19:21:45 +01:00
Olivier Crête
4bf9fe969e mimenc: Put timestamp on the header buffer 2009-07-07 19:21:45 +01:00
Olivier Crête
a97e0f0a94 mimenc: Retimestamp to the running time 2009-07-07 19:21:40 +01:00
Olivier Crête
39b8f24866 mimenc: Save the segment 2009-07-07 19:20:41 +01:00
Olivier Crête
62619e9d03 mimenc: Add property for the paused mode 2009-07-07 19:19:52 +01:00
Tim-Philipp Müller
6a763f6a47 basevideo, schroedinger: guard unstable API with GST_USE_UNSTABLE_API
Add some guards and fat warnings to the header files with still unstable
API, so people who just look at the installed headers know that it
actually is unstable API.
2009-07-03 16:08:38 +01:00
David Schleef
cf2b2b017f basevideo: move from -base
Also move schroedinger plugin.  This creates a new library,
gstbasevideo-0.10, which will probably be merged back into
gstvideo-0.10 when this is moved back to -base.
2009-07-01 10:56:24 -07:00
Jan Schmidt
8d46d67d64 dist: Add lv2 plugin to the dist 2009-06-29 21:46:29 +01:00
Andoni Morales
f1e88bde0f sdl: only include sys/time.h when we have it
Fixes #586956
2009-06-29 12:24:42 +02:00
Dave Robillard
78a12a37a3 Use GST_WARNING instead of fprintf. 2009-06-26 00:09:36 +03:00
Dave Robillard
72ae74e889 Add LV2 quick start README. 2009-06-26 00:09:34 +03:00
Mark Nauwelaerts
da11b1672f xvidenc: also allow video/mpeg on output caps. Fixes #377784. 2009-06-23 18:28:51 +02:00
Stefan Kost
a2a0322df9 signalprocessor: use $(top_builddir) instead of relative paths 2009-06-22 23:50:49 +03:00
Dave Robillard
ea184d72f5 Working LV2 plugin discovery.
- Separate gstsignalprocessor into a separate library (not sure if this
  is in the right place, but it works for now anyway)
- Create LV2 element based on LADSPA element, port most discovery
  functionality
2009-06-22 22:25:03 +03:00
Dave Robillard
1d464a7edd Fix inconsistent style (trivial test commit). 2009-06-22 22:24:48 +03:00
Stefan Kost
d5b302ffc4 metadata: map more tags and fix reading of xmp tags
Register xmp schemas for photoshop and iptc. Map a few location tags there.
Add more dc tags. Fix reading xmp tag by iteration over known schemas. Add
some more debug logging.
2009-06-22 18:35:21 +03:00
Stefan Kost
f096d6406e metadata: fix conversion of geo coordinates
Coordinate conversion has been verified with exiv2 and some webpages.
Minutes wher totally off and seconds were not used at all.
2009-06-22 13:33:32 +03:00
Tim-Philipp Müller
98292e9efd Fix previous commit so that things still work with debug logs enabled 2009-06-19 17:04:48 +01:00
Tim-Philipp Müller
6eb167a176 Make build without warnings with debugging disabled 2009-06-19 16:21:28 +01:00
Jan Schmidt
10e4d6c74d apexsink: Fix compiler warnings
Fix compile warnings on solaris from bzero not being declared (use
memset instead), and strict-aliasing warnings (use a temporary
variable).
2009-06-06 13:17:49 +01:00
Jan Schmidt
271788c9ae Moved 'x264enc' from -bad to -ugly 2009-06-05 19:52:40 +01:00
Wim Taymans
6f88e17f67 celtenc: correct framesize range
A CELT framesize can be between 64 and 512 samples.
Fix a typo in the bitrate property description.
2009-06-05 16:48:04 +02:00
Tim-Philipp Müller
25efd30e64 dirac: use GST_CXXFLAGS instead of GST_CFLAGS for c++ compilers
Fixes compiler message about passing -Wdeclaration-after-statement
to the C++ compiler.
2009-06-02 01:09:32 +01:00
Stefan Kost
a0898363d9 jack: when stopping playback, do one more cycle to flush the port. Fixes #582167
The gst_jack_audio_client_set_active() flags the port as deactivating and uses
a GCond to wait until the jack_process_cb() has run once more and cleared the
flag. This way the client zero's the buffer. This happens if one manyally go
to PAUSED and then to READY, while leting the mainloop run inbetween.
2009-05-28 10:15:50 +03:00
Jan Schmidt
4d5a48db97 resindvd: Create all the audio streams of all formats
Enable creation of the demuxer pads for all audio streams, even types we
don't yet support. This means that unsupported types (LPCM, DTS) are output,
but not linked to anything yet. If only unsupported streams are available,
the user hears silence instead of having the pipeline not pre-roll correctly.

This is a prerequisite for hooking up the automatic decoder switching.
2009-05-27 22:57:03 +01:00
Jan Schmidt
8f70498c89 resindvd: LPCM streams are only from 0xa0 to 0xaf.
Fix the same bug as the previous commit, but in resindvd's copy of
mpegdemux.
2009-05-26 21:07:47 +01:00
Jan Schmidt
19d450a164 resindvd: Fix subpicture timing in some cases
Make sure we send events to all pads. Unmark the notlinked flag on
freshly selected pads to ensure they get data.
2009-05-26 15:31:53 +01:00
Jan Schmidt
59a3abfdf3 resindvd: Try a different approach to segment filling.
Restore the old segment update behaviour, and instead extend the
close segment stop time if the SCR (last_stop) overruns the calculated
stop position.
2009-05-26 15:31:52 +01:00
Jan Schmidt
462419f279 resindvd: Minor change to inline a function in the demuxer 2009-05-26 15:31:52 +01:00
Mathias Hasselmann
46b4d226ca neonhttp: add property to support SS cerificates
Add a property to support self-signed certificates in neonhttpsrc. This property
is FALSE by default.
Fixes #511097
2009-05-25 17:24:32 +02:00
Wim Taymans
43b755312b x264enc: add multipass-cache-file property
Fixes #583627
2009-05-25 11:18:57 +02:00
Jan Schmidt
b6e891bbda dtsdec: Reconcile element code with a52dec changes
Re-work the dtsdec element code to unify it with changes made it a52dec,
including support for reverse playback and dynamic channel negotiation
on the source pad.
2009-05-21 21:37:33 +01:00
Jan Schmidt
e62b64f1d3 resindvd: Fix the argument order in a debug statement
Make the debug statement correctly show the 'old' and 'new' button
coordinates, instead of the wrong way around.
2009-05-14 11:28:15 +01:00
Jan Schmidt
13694cd654 resindvd: Make segment updates less aggressive.
When updating a pad, send the update to half a second behind the SCR,
which avoids ever updating the start time for a pad to beyond the end of
the cell. Also, remember the last actual new-segment start time for each
pad, and use it when closing the segment.
2009-05-14 11:28:15 +01:00
Jan Schmidt
cae9db0d8c resindvd: Rework button highlight calculation slightly
When the current button number is higher than the number of available
buttons, switch to the highest numbered button rather than the lowest.

Also, don't throw errors when we fail to retrieve some button info
from libdvdnav, just reset the highlight.
2009-05-14 11:28:15 +01:00
Jan Schmidt
73f77c04aa resindvd: Send commands-changed on button change and handle commands query
Send the commands-changed navigation message when the set of available
DVD menu button actions changes, and handle the commands navigation
query so that (e.g.) Totem can know about the available navigation
commands.
2009-05-14 11:28:14 +01:00
Jan Schmidt
d9fef92ea0 resindvd: Fix a leak of the DVD title string 2009-05-14 11:28:14 +01:00
Jan Schmidt
b769f22404 resindvd: Fix raciness in rsndvdbin when initially creating pads
Protect pad exposure with a preroll lock to avoid situations
where no-more-pads is fired more than once, or fired just before
the last pad is actually added.
2009-05-14 11:28:14 +01:00
Jan Schmidt
11a7e37325 resindvd: Modify the segment update logic
Send segment updates to the audio and subpicture pads more frequently,
but less often to the video pad, where timestamps appear less often.
This helps with gap filling on some DVDs.
2009-05-11 17:50:41 +01:00
Jan Schmidt
d7cabb0801 resindvd: Increase the amount of filler audio generated
When creating a filler audio buffer in rsnaudiomunge, generate
a bit more, as audio sinks don't seem to preroll otherwise. This
needs a better algorithm in general, to intelligently fill the
gap, rather than hard-coding a value.
2009-05-11 17:04:10 +01:00
Jan Schmidt
4204b644ef resindvd: Manage timed still sequences better
Make timed still frames work better by extending the current segment
when needed, and restarting the still sequence with the correct
remaining duration when the wait it interrupted by activation of a
highlight NAV packet.
2009-05-11 17:04:10 +01:00
Jan Schmidt
79f653fde8 resindvd: Change the audiomunge debug output.
Make sure we always show information about the segment events passing through,
even when pre-roll audio buffers aren't going to be needed.
2009-05-11 17:04:09 +01:00
Jan Schmidt
64b6d247d4 resindvd: Rename the audio munger debug category
Rename a debug category: rsn_audiomunge -> rsnaudiomunge.
2009-05-11 17:04:08 +01:00
Jan Schmidt
c0854113a1 resindvd: Ensure we send a title tag in the first play section. 2009-05-11 17:04:08 +01:00
Jan Schmidt
f2f79cd410 resindvd: Simplify some stuff. Remove an unnecessary LOG message.
Skip attempting to schedule a nav block unless we're in PLAYING. Take a lock
slightly later, when we actually need it. Remove a noisy LOG message.
2009-05-11 17:04:07 +01:00
Jan Schmidt
9f01bd6434 resindvd: Remove per-menu description from the TITLE tag
The part number reported while in a menu doesn't reflect the selected
menu, so it's pointless to use it to report which menu we're in (Audio,
Angle etc). Just report "DVD Menu" in the title tag instead.
2009-05-11 17:04:07 +01:00
Jan Schmidt
86d908589c resindvd: Send title info message when current angle is switched.
Make sure we send an update title tag when the current angle or available
angles changes.
2009-05-11 17:04:07 +01:00
Jan Schmidt
270cd7c421 resindvd: Implement navigation command change message and query
Send messages when the available DVD navigation commands changes, and
handle navigation commands and angles queries.
2009-05-11 17:04:06 +01:00
Christian Schaller
028efb726c Remove wrong stuff from preset file 2009-05-09 23:47:39 +01:00
Christian Schaller
3c073e45c0 Add a more representative example preset file for x264 2009-05-09 12:43:15 +01:00
Christian Schaller
67dd3c11f4 Add ranks to various muxers and encoders in -bad 2009-05-07 17:53:42 +01:00
Jan Schmidt
77aefd5870 resindvd: Don't open all VTS ifo at the start
Load each VTS ifo the first time the disc enters that VTS,
rather than scanning them all at the start.
2009-05-06 21:48:30 +01:00