Commit graph

2512 commits

Author SHA1 Message Date
Sebastian Dröge
af4c066bc3 rtmp: All read return values smaller than zero are failures 2010-06-23 22:19:33 +02:00
Sebastian Dröge
c15487961b rtmpsrc: Do some sanity checks before accepting an URI
Fixes bug #622369.
2010-06-23 21:46:42 +02:00
Stefan Kost
4536c54469 wildmidi: fix previous commit
We were leaking the element refcount and not the pad one.
2010-06-21 23:50:54 +03:00
Stefan Kost
f876bd0658 wildmidi: don't leak the element refcount 2010-06-21 22:35:01 +03:00
Sebastian Dröge
351bb1bbb6 vp8enc: Implement multipass encoding
Fixes bug #621348.
2010-06-15 11:51:41 +02:00
Sebastian Dröge
0679c76b64 vp8enc: Set VP8E_SET_CPUUSED to 0
This setting controls how much CPU can be used by the encoder, specified
in fractions of 16. Negative values mean strict enforcement of this
while positive values are adaptive.

The default value is -4, which means that we're not running as fast
as possible and probably are wasting some quality. 0 is the recommended
default by libvpx upstream.
2010-06-14 15:56:24 +02:00
Sebastian Dröge
c2809e6843 vp8enc: Use VPX defines for REALTIME, GOOD/BEST quality deadlines instead of our own
These are the values used for the speed property.
2010-06-14 15:52:28 +02:00
Mark Nauwelaerts
268636c880 dtsdec: prevent compiler warning if orc not present 2010-06-14 15:48:34 +02:00
Sebastian Dröge
12856e52fd dtsdec: Call orc_init() before trying to get target flags 2010-06-14 15:32:26 +02:00
Sebastian Dröge
8474fd9518 dtsdec: Use orc for CPU feature detection 2010-06-14 14:51:31 +02:00
Sebastian Dröge
63081c815b xvid: Don't use deprecated 15/16 bit RGB masks 2010-06-13 08:28:05 +02:00
David Schleef
0e89bc8d54 cog: use glib instead of stdint types 2010-06-10 10:58:54 -07:00
Sebastian Dröge
f0e7bd298c rtmpsrc: Fix timestamps after a seek 2010-06-09 20:49:10 +02:00
Sebastian Dröge
5417900a0e rtmpsrc: Remove page-url and swf-url properties
It's possible to include all those options in the URL already
by appending the options and separating them by spaces, e.g.
rtmp://somewhere/something opt1=val1 opt2=val2
2010-06-07 17:39:07 +02:00
Sebastian Dröge
6aa4a71604 rtmpsrc: Fix memory leaks 2010-06-07 17:31:40 +02:00
Thiago Santos
80e531a3c7 kate: Run gst-indent on .c files
kate plugin has some indentation problems, run gst-indent on them
and fix it
2010-06-07 07:38:33 -03:00
Sebastian Dröge
370a5049ba rtmpsrc: Add some braces to improve readability 2010-06-06 15:32:39 +02:00
Sebastian Dröge
d0ce1ff675 rtmpsrc: Improve timestamp handling a bit 2010-06-06 15:29:34 +02:00
Sebastian Dröge
827ecadb81 rtmpsrc: Add support for seeking 2010-06-06 15:24:23 +02:00
Sebastian Dröge
fdf1598173 rtmpsrc: Handle timestamps and the position query
This is not very accurate but better than nothing. The demuxer
after the source knows more accurate timestamps.
2010-06-06 13:57:06 +02:00
Sebastian Dröge
21f976066c rtmpsrc: Allocate and free the RTMP instance in start/stop 2010-06-06 08:30:09 +02:00
Sebastian Dröge
d289105409 rtmpsrc: Add properties for setting the swfUrl and pageUrl properties
These are required for some streams unfortunately.
2010-06-05 18:02:39 +02:00
Sebastian Dröge
c3d10ed72a rtmpsrc: Major cleanup and reorganization 2010-06-05 18:02:39 +02:00
Sebastian Dröge
547f037ea4 rtmp: Move to ext and drop internal librtmp copy
We really don't want this in gst-plugins-bad because of
legal complexities around RTMP and possible problems
for distributions.

Add README that explains how to build librtmp to be suitable
for linking to the GStreamer plugin.
2010-06-05 18:02:39 +02:00
Tim-Philipp Müller
f49f4c0bd4 vp8enc: fix printf format warning in log message
gstvp8enc.c:564: error: format ‘%d’ expects type ‘int’, but argument 8 has type ‘size_t’
gstvp8enc.c:744: error: format ‘%d’ expects type ‘int’, but argument 8 has type ‘size_t’
2010-06-03 10:49:40 +01:00
Tim-Philipp Müller
9b1ee36328 basevideo, vp8: 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.

Merging previous commit into current codebase.
2010-06-02 19:28:15 -07:00
Olivier Crête
6aa3eea8aa mimdec: Clear adapter when flushing 2010-06-02 21:03:54 -04:00
Olivier Crête
80bc16f1e2 mimdec: Stop decoding if can't push 2010-06-02 21:03:54 -04:00
Olivier Crête
456456401a mimdec: Flush adapter right ater using it 2010-06-02 21:03:54 -04:00
Olivier Crête
fd9f049bf2 mimenc: No need to do a try allocation 2010-06-02 21:03:54 -04:00
Olivier Crête
8fa5f01100 mimenc: Document paused-mode property 2010-06-02 21:03:54 -04:00
Olivier Crête
4ffede5d87 mimic: Use log loglevel for messages that are shown on every frame 2010-06-02 21:03:54 -04:00
Olivier Crête
791710a92f mimdec: Remove object lock usage, stream lock is enough 2010-06-02 21:03:54 -04:00
Olivier Crête
59547d6eed mimdec: Output framerate is unknown 2010-06-02 21:03:54 -04:00
Olivier Crête
cf866e11ae mimdec: Remove local state variable from instance 2010-06-02 21:03:54 -04:00
Olivier Crête
d05df5500f mimdec: Remove useless variable 2010-06-02 21:03:54 -04:00
Olivier Crête
b559cfbf66 mimdec: Make caps a lot stricter 2010-06-02 21:03:53 -04:00
Olivier Crête
deb13169b3 mimenc: Set delta_unit flag on intra frames 2010-06-02 21:03:53 -04:00
Olivier Crête
fe7fe29221 mimic: Initialize encoder/decoders in state change and setcaps where possible 2010-06-02 21:03:53 -04:00
Olivier Crête
2eee0091f3 mimic: Fix element details 2010-06-02 21:03:53 -04:00
Olivier Crête
092a5b798c mimic: Hold element lock while accessing the clock 2010-06-02 21:03:53 -04:00
Olivier Crête
140a3038c5 mimic: Refactor tcp header creation to not make a separate buffer 2010-06-02 21:03:53 -04:00
Olivier Crête
0ba7742cc1 mimic: Function can't fail 2010-06-02 21:03:53 -04:00
Olivier Crête
ee313094c3 mimic: Remove C++ style comments 2010-06-02 21:03:53 -04:00
Olivier Crête
a5b3b27d70 mimic: Use GST_ELEMENT_ERROR when returning a flow error 2010-06-02 21:03:53 -04:00
Olivier Crête
d9d27a4a54 mimic: Fix GST_MIM_*_CLASS macros 2010-06-02 21:03:53 -04:00
Olivier Crête
50fe356373 mimic: Warn if paused-mode is toggled while playing 2010-06-02 21:03:52 -04:00
Olivier Crête
81a055f20d mimic: Add GST_DEBUG_FUNCPTR where appropriate 2010-06-02 21:03:52 -04:00
Olivier Crête
b8e86cc8ad mimic: Rename functions/macros to match class names 2010-06-02 21:03:52 -04:00
David Schleef
6961d82039 cog: use common/orc.mak 2010-06-02 00:01:14 -07:00
Sebastian Dröge
0f6d3e7b4f schro: Fix segfault on EOS 2010-06-02 00:01:14 -07:00
David Schleef
69a5d3c067 schro: fix for base video updates 2010-06-02 00:01:14 -07:00
Sebastian Dröge
8dddd8e633 dirac: Fixes for base video encoder changes 2010-06-02 00:01:14 -07:00
David Schleef
bdb5926cda basevideo: Move base video from vp8 to gst-libs 2010-06-02 00:01:10 -07:00
Sebastian Dröge
443af97a41 vp8: Use VPX_PLANE_* instead of PLANE_* 2010-06-01 11:19:46 +02:00
Sebastian Dröge
637a12a028 vp8: Add compatilibity defines to work with older versions of libvpx too 2010-06-01 11:19:46 +02:00
Philip Jägenstedt
4c552be9d9 vp8dec: s/IMG_FMT_I420/VPX_IMG_FMT_I420/
This corresponds to upstream libvpx commit 6cd4a10e167203d1deb79abf60ee72599e97891b
2010-06-01 11:19:46 +02:00
Sebastian Dröge
b43afeffd7 vp8enc: Allow a maximum keyframe distance of 0, i.e. all frames are keyframes 2010-06-01 11:19:46 +02:00
Sebastian Dröge
24027dd9f2 vp8dec: Set decoder deadline from the QoS information 2010-06-01 11:19:45 +02:00
Sebastian Dröge
e9c48d1671 vp8enc: Move debug output one line above where the packet is still valid 2010-05-28 16:35:50 +02:00
Sebastian Dröge
1e1d52f4fc vp8enc: Correctly ignore non-frame packets from the encoder
Fixes bug #619916.
2010-05-28 15:01:15 +01:00
Руслан Ижбулатов
71b8d4b5ce mplex: add MPLEX_LDFLAGS variable
So mingw32 users can hack around a compiler/linker bug.

Fixes #617145
2010-05-25 15:48:10 +01:00
David Schleef
e601988ddd cogcolorspace: resample YUV->YUV conversions
Fixes a segfault (bug #618044).
2010-05-22 10:40:52 +01:00
Sebastian Dröge
179555c45b basevideodecoder: Take the frame duration into account when calculating the earliest time
This formula is used in many other elements too.

Fixes bug #619318.
2010-05-22 11:01:13 +02:00
Sebastian Dröge
71ebf1add6 basevideodecoder: Reset QoS values when necessary 2010-05-22 11:01:06 +02:00
Sebastian Dröge
2fa8d69d82 vp8enc: Use GST_VIDEO_CAPS_YUV(I420) instead of handwritten I420 caps for the pad template
Fixes bug #619344.
2010-05-22 11:00:44 +02:00
Philip Jägenstedt
0285cff300 vp8dec: drop late frames after decoding them
This saves a memcpy, which is always something.
2010-05-21 22:23:27 +02:00
Philip Jägenstedt
7ce969720f vp8enc: threads property
Increasing from 1 to 2 threads on an Thinkpad X60s decreased encode time
in a test from ~24 s to ~19 s, so this is quite useful.

Ideally we should let 0 be the default and automatically match the number
of CPU cores (or something).
2010-05-21 22:23:13 +02:00
Philip Jägenstedt
17ab21dae3 vp8enc: add mode property to switch between CBR/VBR
Always using CBR when bitrate is used isn't that great, VBR mode
can produce meaningful results too.
2010-05-21 22:23:04 +02:00
Sebastian Dröge
b740f4c8dd vp8dec: Only enable postprocessing if the decoder supports it 2010-05-21 10:54:57 +02:00
Philip Jägenstedt
c01e89d07e vp8: typo: s/HAVE_VP8_DECODER/HAVE_VP8_ENCODER/
Fixup for bug #619172.
2010-05-21 10:18:31 +02:00
Philip Jägenstedt
54e6f65ef3 vp8: move #ifdef HAVE_VP8_ENCODER/DECODER
Otherwise we'll try including e.g. <vpx/vp8cx.h> which doesn't exist.
2010-05-21 08:27:06 +02:00
Sebastian Dröge
d0f09279ed vp8enc: Write GStreamer element and version in the vorbiscomment vendor string 2010-05-20 20:06:09 +02:00
Sebastian Dröge
d3c9d84fdf vp8: Only enable the encoder or decoder if it's available in libvpx
Fixes bug #619172.
2010-05-20 16:49:55 +02:00
Philip Jägenstedt
e428c10605 vp8: exlcude dec/enc based on CONFIG_VP8_DECODER/ENCODER
This may not be very autotoolish, but works with libvpx in the state
that libvpx is actually in. Moved the debug init to the elements
themselves to minimize amount of #ifdefs
2010-05-20 16:49:55 +02:00
Philip Jägenstedt
2f4ea3b734 vp8enc: Limit max-latency to 25 to match libvpx
From libvpx/vp8/encoder/onyx_int.h:
 #define MAX_LAG_BUFFERS (CONFIG_REALTIME_ONLY? 1 : 25)

While we don't need to be tied to what libvpx does internally, it
doesn't make sense to pretend to support longer frame lags than are
actually possible.
2010-05-20 10:37:24 +02:00
Sebastian Dröge
fd77b419a4 vp8: Undef HAVE_CONFIG_H before including libvpx headers
A public libvpx header includes private headers if this is
defined, causing compilation failures because the private headers
are not installed of course.
2010-05-20 09:56:25 +02:00
Sebastian Dröge
973267747c vp8enc: Some more minor adjustments for the Ogg mapping 2010-05-20 08:55:44 +02:00
David Schleef
c3d4977761 Split out GST_PLUGINS_BAD_CFLAGS from GST_CFLAGS
Move include directives for gst-libs into GST_PLUGINS_BAD_CFLAGS,
and fix all the Makefiles that use it.  This is so that all the
include directories are added in the proper order: first the
directories in srcdir/builddir, then gst-plugins-base dirs, then
gstreamer dirs.  If the order is wrong, installed headers may be
used instead of local headers and/or uninstalled headers from -base.
2010-05-19 18:24:02 -07:00
Sebastian Dröge
e3925075f9 vp8dec: Fix memory leak 2010-05-19 23:04:07 +02:00
Sebastian Dröge
9b0cd2ef95 vp8enc: Adjust Ogg mapping for the changes 2010-05-19 21:34:42 +02:00
Sebastian Dröge
5dd5a8292a vp8dec: Add properties to control the VP8 decoder post processing feature
This is disabled by default for now.
2010-05-19 19:24:04 +02:00
Sebastian Dröge
28736fa1d4 vp8enc: Rename keyframe-interval to max-keyframe-distance
And use default settings for buffer sizes until we expose this
somehow.
2010-05-19 19:24:04 +02:00
Sebastian Dröge
ab14c8cf5a vp8: Improve error handling and debug output 2010-05-19 19:24:04 +02:00
Sebastian Dröge
31d603b3c9 vp8: Use correct strides and plane offsets for GStreamer 2010-05-19 19:24:03 +02:00
Sebastian Dröge
10a02618c2 vp8enc: Implement GstTagSetter interface 2010-05-19 19:24:03 +02:00
Sebastian Dröge
09c879ea21 vp8enc: Fix setting of the keyframe flag on encoded frames 2010-05-19 19:24:03 +02:00
Sebastian Dröge
dd97378702 vp8enc: Post an error message on the bus if encoder initialization fails 2010-05-19 19:24:03 +02:00
Sebastian Dröge
66844e24d1 vp8dec: Fix memory leaks and fail if initializing the decoder fails 2010-05-19 19:24:03 +02:00
David Schleef
95ddcc24fd vp8enc: Set timebase
Also misc cleanup.
2010-05-19 19:24:03 +02:00
Sebastian Dröge
557fe5c0e4 vp8dec: Fix decoding of invisible frames 2010-05-19 19:24:03 +02:00
Sebastian Dröge
53c47c361d vp8enc: Update the latency when initializing the encoder 2010-05-19 19:24:03 +02:00
Sebastian Dröge
ac7cba4ac2 vp8dec: Correctly initialize stream info before peeking at the stream
Otherwise peeking will fail and we'll get invalid values
2010-05-19 19:24:03 +02:00
Sebastian Dröge
16f6ed7195 vp8dec: Make sure to pass a keyframe as first frame to the decoder, copy output frames only once and require width/height/etc on the input caps 2010-05-19 19:24:02 +02:00
Sebastian Dröge
29328031ad vp8enc: Add support for invisible frames and the Ogg mapping 2010-05-19 19:24:02 +02:00
David Schleef
bf8ae5a18e vp8dec: Fix reset after seeking
Also remove some unused code.
2010-05-19 19:24:02 +02:00
Sebastian Dröge
45011174e7 vp8enc: Set frame numbers as buffer offsets 2010-05-19 19:24:02 +02:00
Sebastian Dröge
3c2c565fff vp8enc: Always get as many frames as possible from the encoder 2010-05-19 19:24:02 +02:00
Sebastian Dröge
620e31efab vp8enc: Fill the oldest pending frame instead of the newest 2010-05-19 19:24:02 +02:00
Sebastian Dröge
370ba5cac7 vp8enc: Correctly set delta unit flag for non-keyframes 2010-05-19 19:24:02 +02:00
David Schleef
4991d5fef3 vp8: Add encoder/decoder 2010-05-19 19:24:02 +02:00
Tim-Philipp Müller
f994f51a2c Remove unused polyp audio plugin code
polypaudio was renamed to pulseaudio ages ago.

Fixes #618867.
2010-05-17 12:17:26 +01:00
Sebastian Dröge
e0cb4fba52 resindvd: Check for dvdnav and dvdread libraries 2010-05-15 15:42:59 +02:00
Wim Taymans
d4f6a94b93 jacksrc: make sure we always read nframes
Error out when we are asked to read a different size that what was configured as
the jack period size because that would mean something else is wrong.

Fixes #618409
2010-05-13 12:55:29 +02:00
Tristan Matthews
7f172b2b96 jack: improve process_cb 2010-05-13 12:42:39 +02:00
Olivier Crête
f1a88ed76b mimdec: Don't try to re-send the same event more than once 2010-05-07 19:15:31 -04:00
Olivier Crête
8f8d9f6c63 mimic: Push out newsegment from current timestamp if the incoming ts is valid
Push out newsegment event with the timestamp from the incoming buffer if
the incoming buffers have a valid timestamp but no valid newsegment event
has been through.
2010-05-06 13:51:22 -04:00
Jan Schmidt
491a202d5c resindvd: Apply caps to generated buffers
Avoid the new warning from the core about not being able to apply caps
to NAV packet buffers, where resindvdsrc holds a ref.
2010-05-06 22:39:05 +10:00
Sebastian Dröge
0a2a0fc344 mmssrc: Use the escaped location for the RTSP redirect message
gst_uri_get_location() unescapes the location, which could result in
an invalid RTSP URI.
2010-05-06 09:51:15 +02:00
Sebastian Dröge
42ac5097a0 mmssrc: Check URI for validity and work around URI parsing bugs in libmms
Fixes bug #617650.
2010-05-06 09:48:00 +02:00
Sebastian Dröge
7275c01c54 mmssrc: Some random cleanup 2010-05-06 08:08:06 +02:00
Tristan Matthews
01c5a78f0b jack: implement multichannel support correctly for jackaudiosrc
Fixes parts of bug #616541.
2010-04-30 10:05:08 +03:00
Руслан Ижбулатов
5f25780b02 Fix printf format strings for gcc 4.5
Done on Windows/MinGW.

Fixes #617146
2010-04-29 10:17:56 +02:00
Stefan Kost
259841d71f jack: remove empty dispose and finalize methods 2010-04-27 11:21:16 +03:00
Stefan Kost
58eb164642 jack: don't leak caps
Add dispose methods to clear caps.
2010-04-27 10:59:00 +03:00
Stefan Kost
63a31d3a87 jack: don't use GST_DEBUG_FUNCPTR for gobject vmethods 2010-04-27 10:34:24 +03:00
Stefan Kost
67c21b18f4 ladspa,lv2: don't fail in plugin_init when having 0 elements
If we fail, the plugin scanner will blacklist us.
2010-04-26 15:07:16 +03:00
Sebastian Dröge
49a85930c5 resindvdbin: Use GST_FLOW_CUSTOM_SUCCESS instead of some integer
Fixes compiler warnings with gcc 4.5.

This is the same as commit 5a51dbd.
2010-04-16 19:45:16 +02:00
Sebastian Dröge
cd890c6846 Revert "resindvdbin: Apply gcc 4.5 compiler warning workaround to the mpegpsdemux copy"
This reverts commit 65b0f75d1b.
2010-04-16 19:41:46 +02:00
Sebastian Dröge
4196f9290f metadata: Another workaround for enum values that are not actually member of the enum 2010-04-15 21:44:23 +02:00
Sebastian Dröge
65b0f75d1b resindvdbin: Apply gcc 4.5 compiler warning workaround to the mpegpsdemux copy
Same as a331228ecc.
2010-04-15 21:40:19 +02:00
Tim-Philipp Müller
12f561bca8 soundtouch: use $(LIBM) in Makefile.am instead of -lm 2010-04-08 08:48:35 +01:00
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 &quot; 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
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
Jan Schmidt
a5fbb123ca resindvd: Send a title tag when we change chapter/menu/angle
Allow apps like Totem to display a nicer title that reflects the current
position on the disc.
2009-05-06 21:26:25 +01:00
Jan Schmidt
f7fad4a88b resindvd: Don't send highlight-reset messages when not needed
Fix a small bug that results in the SPU highlight being reset more often
than is necessary - ie, clearing it when it's already cleared.
2009-05-06 21:21:42 +01:00
Jan Schmidt
491583b648 resindvd: send angles-changed messages when appropriate
When the current angle changes, or the number of available angles changes,
send an angles-changed message to let the app know.
2009-05-06 21:21:37 +01:00
Jan Schmidt
874549b536 resindvd: Make the next/prev angle switching cycle at the ends
When the current angle is 1 and prev_angle is requested, loop to the
maximum angle and vice versa for next_angle
2009-05-06 20:19:48 +01:00
Sebastian Dröge
44f0d31ba3 celt: Implement preset interface 2009-05-04 12:37:31 +02:00
Sebastian Dröge
f3105eccd2 dirac: Implement preset interface 2009-05-04 12:36:17 +02:00
Sebastian Dröge
c53e4b8efc jp2kenc: Implement preset interface 2009-05-04 12:34:59 +02:00
Sebastian Dröge
e9e52d0a9d mpeg2enc: Implement Preset interface 2009-05-04 12:33:41 +02:00
Sebastian Dröge
296caf4660 xvid: Implement Preset interface 2009-05-04 12:31:58 +02:00
Sebastian Dröge
42d24ab5fb faac: Implement preset interface 2009-05-04 12:30:26 +02:00
Mark Nauwelaerts
c63fd7a123 mms: extend BaseSrc query handling rather than overriding 2009-05-03 14:46:59 +02:00
Tim-Philipp Müller
ac7cda4b3b dtsdec: cosmetic fix to header structure to make gtk-doc happy 2009-05-01 14:28:44 +01:00
Stefan Kost
d3ac465ec1 x264enc: add preset support
Add preset iface and a (dummy) preset file as a starting point.
2009-04-30 00:07:37 +03:00
Jan Schmidt
e62dc2c1ab resindvd: Convert some g_print to GST_LOG_OBJECT and friends, remove some others
Trim down the g_print verbosity.
2009-04-29 21:31:21 +01:00
Jan Schmidt
febe0c15d0 resindvd: Add DVDFASTSTART env var to making some testing easier 2009-04-29 21:02:16 +01:00
Jan Schmidt
243f58f2fc resindvd: Remove redundant modulo operation in the demuxer 2009-04-29 21:02:16 +01:00
Jan Schmidt
eedf313156 resindvd: Map audio and subpicture logical streams to physical.
The logical audio and subpicture stream number doesn't always correspond
with the physical substream it is coming from. When configuring the demuxer
pads, use the mapping table provided in each PGC to get the layout and
ensure the demuxer creates the correct pads.
2009-04-29 21:02:15 +01:00
Mark Nauwelaerts
9a0c38e01e x264enc: add some documentation on profile 2009-04-29 19:43:40 +02:00
LRN
d4ff7292fd modplug: Use correct header file
modplug's sndfile.h conflicts with libsndfile's sndfile.h, so
we'll access it directly using modplug/sndfile.h.  Fixes #573849

Signed-off-by: David Schleef <ds@schleef.org>
2009-04-21 18:55:05 -07:00
LRN
bc29123723 mpeg2enc: Get number of processors on win32
Fixes #573848.

Signed-off-by: David Schleef <ds@schleef.org>
2009-04-21 18:55:05 -07:00
Edward Hervey
a025f156a5 mmssrc: If the connection fails, emit a redirection msg to the rtsp equivalent.
This should help fix the issue with Windows Media Server using rtsp... but
still declaring the stream with mms://
2009-04-21 16:48:39 +02:00
Janin Kolenc
dde471ab49 x264enc: add force keyframe event handling
Use the GstForceKeyUnit event to force a keyframe.
Fixes #578112.
2009-04-09 23:53:39 +02:00
Tim-Philipp Müller
788fed202d bz2: fix some refcount mistakes and do some cleaning up
No need to unref buffers if pad_push returns something non-FLOW_OK.
In fact, this will cause assertions or crashes. However, we do need
to unref the input buffer whenever we don't pass it downstream. Also,
a non-OK flow return is not an error, so don't post error messages on
the bus - the pipeline may just be shutting down. Miscellaneous other
clean-ups and crack removal. Plenty of work left for those who feel
like it.
2009-04-04 19:00:18 +01:00
Tim-Philipp Müller
e55f069fe6 resindvd: require libdvdnav >= 4.1.2 for dvdnav_get_current_time()
Fixes #577864.
2009-04-03 18:13:00 +01:00
Jan Schmidt
70bdf00200 resindvd: Send both the logical and physical substream ID in the stream change.
When sending the stream change message(s) to the demuxer, also include the
logical stream id along with the physical ID, so that the demuxer can remap
logical->physical MPEG stream ID.
2009-04-02 14:49:54 +01:00
Jan Schmidt
0cf5e27b5b resindvd: Use new GstNavigation functionality.
Handle the new DVD commands, so that we can handle commands from a player
to change angle, jump to menus etc. Use the new GstNavigation event parsing
functions, instead of hand-rolled stuff.

Send GstNavigation notification messages when the mouse enters a button
or leaves it, so UI can turn the mouse cursor to a hand icon.
2009-04-02 14:49:39 +01:00
Jan Schmidt
97a1f14fc0 resindvd: Switch to using a hard-coded mpeg2dec, and change pad blocking a bit.
Change the pad blocking behaviour during startup, and use a hard-coded mpeg2dec (for the moment), in order to make things work with playbin2.
2009-04-02 14:49:24 +01:00
Jan Schmidt
1c6529e93e resindvd: Add newline to debug g_print statement 2009-04-02 14:49:20 +01:00
Jan Schmidt
b9c4db5d53 resindvd: Make highlights work when jumping into menus
Make the highlights re-appear correctly when jumping back into menus
by making sure to set the flushing_seek flag for user-action initiated
seeks.
Fiddle some debug related to tracking down the issue.
2009-04-02 14:49:20 +01:00
Jan Schmidt
85db327e82 resindvd: Support multiangle titles.
Add a workaround for an apparent libdvdnav bug where it loses nav packets
during multiangle titles, and add some keypress bindings to switch the angle.
2009-04-02 14:49:19 +01:00
Jan Schmidt
5f789d3075 resindvd: Add back in support for using hardcoded a52dec 2009-04-02 14:49:04 +01:00
Jan Schmidt
2e4c08fbbe resindvd: Add some debug when creating the output pads in the demuxer 2009-04-02 14:48:23 +01:00
Jan Schmidt
4a320ec12a resindvd: More hacking on the audio decoder. 2009-04-02 14:48:12 +01:00
Jan Schmidt
12625af8d8 resindvd: Trim back the g_print debug - convert to GST_DEBUG and GST_LOG 2009-04-02 14:48:09 +01:00
Jan Schmidt
09b41120e4 resindvd: Extend the Resin audio decoder element, and switch rsndvdbin to use it 2009-04-02 14:48:00 +01:00
Jan Schmidt
7d33cf22a9 resindvd: First part of the re-plugging audio decoder 2009-04-02 14:46:54 +01:00
Jan Schmidt
093f844640 resindvd: remove unused code path from the bin 2009-04-02 14:46:54 +01:00
Jan Schmidt
b6b2677857 resindvd: Indent some things 2009-04-02 14:46:53 +01:00
Jan Schmidt
15792ae809 resindvd: Switch GST_BOILERPLATE to G_DEFINE_TYPE for no real reason. 2009-04-02 14:46:53 +01:00
Jan Schmidt
8244a3d688 resindvd: Add faststart, and work around some multi-angle issues
Add a 'fast-start' property to the rsndvdsrc element, that attempts to
jump directly to the DVD menu when starting. Doesn't work correctly on all
titles yet.

Add workarounds for issues with multiple angles in libdvdnav: Use a heuristic
to avoid detecting discontinuities during multiple-angle titles, it seems
caused by libdvdnav losing some NAV packets in multiangle titles. Fix
seeking in multi-angle titles by aligning our sector calculation logic
with libdvdnav's. Also, use libdvdnav's dvdnav_get_current_time() method
to determine the logical position of the current cell when it changes, as the
cell_start value in the cell_change event provides a number that doesn't
compensate for angle cell blocks.
2009-04-02 14:46:35 +01:00
Jan Schmidt
160bf21e9d resindvd: Small debug output change in the source element 2009-04-02 14:46:23 +01:00
Sebastian Dröge
3eba30d509 jp2enc: Unref peer caps after usage to fix a memory leak 2009-04-02 13:05:11 +02:00
Mark Nauwelaerts
d2f9546369 mpeg2enc: fix bitrate property settings
Align bitrate property interpretation with usual mpeg2enc behaviour.
Fixes #575736.
2009-03-30 22:06:55 +02:00
Tim-Philipp Müller
a81d8ca777 jp2kdec: implement basic QoS
Don't try to decode frames that are going to be late anyway.
2009-03-27 19:55:19 +00:00
Sebastian Dröge
6f62242c5f Merge branch 'mxfmux' 2009-03-26 08:13:10 +01:00
Stefan Kost
ebefc41614 ladspa: comment signalprocessor class more and do minor code cleanups 2009-03-25 23:04:13 +02:00
Wim Taymans
13bc8b8c03 jack: Add new connection mode
Add a new connection mode to jacksrc and jacksink. In this new auto-force
connection mode jack will create as many ports as requested/needed in the
pipeline and will then connect as many physical ports as possible, possibly
leaving some ports unconnected.

Also get rid of some leftover g_print.

Fixes #575284.
2009-03-23 17:07:16 +01:00
Alessandro Decina
276228da80 celtenc: build with celt 0.5. 2009-03-23 12:16:52 +01:00
Stefan Kost
5540ec23ec metdata: more logging and code cleanups
Sprinkle more debug log statements into the code. Move some repeaded string
constant into header files and use sizeof instead of manually counted bytes. Add
comments.
2009-03-22 21:02:45 +02:00
Stefan Kost
4b3e2b6e4c metadata: fix muxing jfifless jpeg. Fixes #574401
Don't error out when to be muxed jpeg has no jfif, as we can easily
add it.
2009-03-22 21:02:45 +02:00
Stefan Kost
80caa6bf70 metadata: fix include guards 2009-03-22 21:02:45 +02:00
Stefan Kost
fd0f7487dd metadata: rework doc comment 2009-03-22 21:02:45 +02:00
Sebastian Dröge
86719f194f jp2kenc: Add width/height/fourcc to the pad template caps 2009-03-21 10:19:47 +01:00
Tim-Philipp Müller
375263c946 dfbvideosink: include stdlib.h for abs() 2009-03-10 21:39:00 +00:00
Jan Schmidt
ba53f2ff3b Moved twolame from Bad to Ugly 2009-03-10 01:03:41 +00:00
Stefan Kost
772f8f6a8a metadata: cleanup, fix the test, add comments
First do not build the plugin, if we have none of the backend, as it won't work
then. Fix the miniobject_unref error in the test. Sprinkle a first handful of
debug logs into the element code.
2009-03-06 23:38:45 +02:00
Edward Hervey
bdc9c5618a faad: Use the public headers if faad2 >= 2.7. Fixes #573369
Since faad2-2.7, the public function prototypes are in sync with the
actual function prototypes used internally in libfaad.
2009-03-06 12:42:50 +01:00
Wim Taymans
1546625294 ladspa: fix compilation when LRDF is missing
--
2009-03-06 11:08:18 +01:00
Stefan Kost
b31fa28906 ladspa: remove -ldl as we now use glibs gmodule. 2009-03-05 22:55:17 +02:00
Stefan Kost
eae238a125 ladspa: add initial liblrdf support.
Get classification from rdf metadata.
2009-03-05 22:37:52 +02:00
Stefan Kost
1b7a9ca6c5 mplex: fix required version
With this version it builds on opensuse 11.1.
2009-03-05 22:04:48 +02:00
Stefan Kost
070ffb6940 ladspa: add LIBDIR/ladspa to search path and make path more portable
Use glib defines for searchpath separators. Filter searchpath to avoid scanning
path entries twice. Fix the return in ladspa_plugin_directory_search to return
wheter we found a plugin.
2009-03-04 15:10:30 +02:00
Stefan Kost
86c5975ebe ladspa: rewrite the directory scanning, fixes first part of #573370
Move the two function from search.c into gstladspa.c and make them static.
Remove non needed arguments from function prototypes. Use glib api for
simplicity and portability.
2009-03-04 15:10:30 +02:00
LRN
ccaa8de5aa faad: use gint8 instead of int8_t
Use gint8 instead of int8_t to fix compilation.
Fixes #573851.
2009-03-04 11:14:18 +01:00
LRN
b5d4c2a7bf gsmdec: Use G_BYTE_ORDER to fix Windows compile
gstgsmdec relies on BYTE_ORDER, which is not available on Windows. Use
G_BYTE_ORDER instead.
Fixes #573850.
2009-03-04 11:07:52 +01:00
Olivier Crête
6dbf8906b5 Add Doc for mimic plugin 2009-03-03 16:55:12 -05:00
Olivier Crête
288c11c0ed Move mimic to -bad 2009-03-03 14:34:07 -05:00
Olivier Crête
bc4ef4ab62 Re-indent to GST style 2009-03-03 14:34:07 -05:00
Olivier Crete
2451f95e0f [MOVED FROM GST-P-FARSIGHT] Only output a newsegment if the incoming newsegment isnt a time segment
20080725224726-3e2dc-f82b993c0fbfe8bd487d2f1962fec1d0b6564ebc.gz
2009-03-03 14:34:07 -05:00
Olivier Crete
a6c725572e [MOVED FROM GST-P-FARSIGHT] Remove unused member variables
20080725222648-3e2dc-24649782a39462c7c3fef9d6270b3db4c4ace1bb.gz
2009-03-03 14:34:07 -05:00
Olivier Crete
9439baafec [MOVED FROM GST-P-FARSIGHT] Send out the right segment and use stored timestamps directly
20080725222448-3e2dc-e119bf09ede1cf187581d59176c8b35bafb731ae.gz
2009-03-03 14:34:07 -05:00
Olivier Crete
3e785ea2de [MOVED FROM GST-P-FARSIGHT] Skip non-keyframes before we get a keyframe
20080725194833-3e2dc-583df57c8ebce4b149a01768ed7d3737136a208f.gz
2009-03-03 14:34:07 -05:00
Olivier Crete
ca53565719 [MOVED FROM GST-P-FARSIGHT] Ignore upstream newsegment events in mimdec
20080725193358-3e2dc-7c0f22386e0208a45eae9c1d7eb62e86f61d14ba.gz
2009-03-03 14:34:07 -05:00
Olivier Crete
a66cd25919 [MOVED FROM GST-P-FARSIGHT] emit the right timestamp in the newsegment event
20080725192530-3e2dc-a3cc0ce73fca181caee323d699d8576df916e8d3.gz
2009-03-03 14:34:07 -05:00
Olivier Crete
4e2d96596d [MOVED FROM GST-P-FARSIGHT] Use video/x-mimic as the caps type
20080725190849-3e2dc-38e4acc9d4ad8231ed22f6cc4d7d8c2a8b5668e9.gz
2009-03-03 14:34:07 -05:00
Olivier Crete
50d366b0f5 [MOVED FROM GST-P-FARSIGHT] Add proper locking to mimenc
20080704220713-3e2dc-6a22d1a423716e8b84bc3bda9986a1b4ff0c0d37.gz
2009-03-03 14:34:06 -05:00
Olivier Crete
6c6a95130b [MOVED FROM GST-P-FARSIGHT] Remove useless implementation of getcaps from mimdec
20080704220318-3e2dc-d81bc59b2308c5ad0d3144030c5650295e99f3c6.gz
2009-03-03 14:34:06 -05:00
Olivier Crete
c57073ea3d [MOVED FROM GST-P-FARSIGHT] Add proper locking to mimdec
20080704220243-3e2dc-71c157d82999dfb41bd62b4064b1887ab22e84c1.gz
2009-03-03 14:34:06 -05:00
Olivier Crete
7b80bac3ab [MOVED FROM GST-P-FARSIGHT] Remove leak
20080704215936-3e2dc-22d992f98c9931f062662fc05f1ce65bc97f619a.gz
2009-03-03 14:34:06 -05:00
Olivier Crete
7d52a6fc1a [MOVED FROM GST-P-FARSIGHT] Reset the gst timestamp if the time different is too large
20080704215550-3e2dc-76eb3f600f2b977e916f7e1f654529ddaff06ac9.gz
2009-03-03 14:34:06 -05:00
Olivier Crete
9e7cada4a9 [MOVED FROM GST-P-FARSIGHT] Use the timestamp from the first buffer as the base
20080704215208-3e2dc-5822771f2694deda4a7cd5cdd3c38ab9eff7fa2d.gz
2009-03-03 14:34:06 -05:00
Olivier Crete
749e12bb15 [MOVED FROM GST-P-FARSIGHT] Store the timestamp in the header
20080704214935-3e2dc-90ec73df3225b41baa681ab691fb8bd47e17c780.gz
2009-03-03 14:34:06 -05:00
Olivier Crete
10d0e46524 [MOVED FROM GST-P-FARSIGHT] Re-indent mimdec
20080704211943-3e2dc-def1e0dacc4a45fe2b4afdcb903a1328c95117ac.gz
2009-03-03 14:34:06 -05:00