Commit graph

1555 commits

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