Commit graph

1656 commits

Author SHA1 Message Date
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
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