Commit graph

1717 commits

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