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