Jan Schmidt
8f719fea02
resindvd: Plug a video parser in front of decoder
...
Seems to make playback both better and worse. The parser needs some
fixing, it seems :-/
2012-08-31 14:22:59 -07:00
Jan Schmidt
211828979b
resindvd: Add some GAP event stuff to make still-frames start to work
...
And remove the dead audiomunge element. It isn't needed now, we just
send GAP events
2012-08-31 13:12:41 -07:00
Jan Schmidt
1218cff3dc
resindvd: Initial partial port to 0.11
2012-08-31 12:46:29 -07:00
Tim-Philipp Müller
2483c82bd7
video/x-dvd-subpicture -> subpicture/x-dvd
2012-08-20 23:37:00 +01:00
Tim-Philipp Müller
489b102a43
gst_tag_list_free -> gst_tag_list_unref
2012-08-04 16:31:30 +01:00
Vincent Penquerc'h
afba4ce869
resindvd: rename the lib from libresindvd to libgstresindvd
...
For consistency.
2012-06-14 15:33:29 +01:00
Vincent Penquerc'h
54f7ab5cf6
resindvd: guard against not finding some data on a DVD
...
May possibly help with a particular DVD.
https://bugzilla.gnome.org/show_bug.cgi?id=673118
2012-06-14 15:32:11 +01:00
Sebastian Dröge
cda192b3b7
gst: Update for GST_PLUGIN_DEFINE() API changes
2012-04-05 18:02:56 +02:00
Sebastian Dröge
1318a97e0a
gst: Update versioning
2012-04-04 14:44:34 +02:00
Sebastian Dröge
860ccd414d
Merge remote-tracking branch 'origin/0.10'
...
Conflicts:
NEWS
RELEASE
common
configure.ac
docs/libs/gst-plugins-bad-libs-sections.txt
docs/plugins/gst-plugins-bad-plugins.args
docs/plugins/gst-plugins-bad-plugins.hierarchy
docs/plugins/gst-plugins-bad-plugins.interfaces
docs/plugins/inspect/plugin-adpcmdec.xml
docs/plugins/inspect/plugin-adpcmenc.xml
docs/plugins/inspect/plugin-assrender.xml
docs/plugins/inspect/plugin-audiovisualizers.xml
docs/plugins/inspect/plugin-autoconvert.xml
docs/plugins/inspect/plugin-bayer.xml
docs/plugins/inspect/plugin-bz2.xml
docs/plugins/inspect/plugin-camerabin2.xml
docs/plugins/inspect/plugin-celt.xml
docs/plugins/inspect/plugin-dataurisrc.xml
docs/plugins/inspect/plugin-debugutilsbad.xml
docs/plugins/inspect/plugin-dtmf.xml
docs/plugins/inspect/plugin-dtsdec.xml
docs/plugins/inspect/plugin-dvbsuboverlay.xml
docs/plugins/inspect/plugin-dvdspu.xml
docs/plugins/inspect/plugin-faac.xml
docs/plugins/inspect/plugin-faad.xml
docs/plugins/inspect/plugin-gsm.xml
docs/plugins/inspect/plugin-h264parse.xml
docs/plugins/inspect/plugin-mms.xml
docs/plugins/inspect/plugin-modplug.xml
docs/plugins/inspect/plugin-mpeg2enc.xml
docs/plugins/inspect/plugin-mpegdemux2.xml
docs/plugins/inspect/plugin-mpegtsdemux.xml
docs/plugins/inspect/plugin-mpegvideoparse.xml
docs/plugins/inspect/plugin-mplex.xml
docs/plugins/inspect/plugin-pcapparse.xml
docs/plugins/inspect/plugin-rawparse.xml
docs/plugins/inspect/plugin-rtpmux.xml
docs/plugins/inspect/plugin-rtpvp8.xml
docs/plugins/inspect/plugin-scaletempo.xml
docs/plugins/inspect/plugin-schro.xml
docs/plugins/inspect/plugin-sdp.xml
docs/plugins/inspect/plugin-segmentclip.xml
docs/plugins/inspect/plugin-shm.xml
docs/plugins/inspect/plugin-videomaxrate.xml
docs/plugins/inspect/plugin-videoparsersbad.xml
docs/plugins/inspect/plugin-vp8.xml
docs/plugins/inspect/plugin-y4mdec.xml
ext/celt/gstceltdec.c
ext/dts/gstdtsdec.c
ext/modplug/gstmodplug.cc
ext/opus/gstopusenc.c
gst-libs/gst/video/gstbasevideocodec.c
gst-libs/gst/video/gstbasevideocodec.h
gst-libs/gst/video/gstbasevideodecoder.c
gst-libs/gst/video/gstbasevideodecoder.h
gst-libs/gst/video/gstbasevideoencoder.c
gst-libs/gst/video/gstbasevideoencoder.h
gst/adpcmdec/Makefile.am
gst/audiovisualizers/gstbaseaudiovisualizer.c
gst/h264parse/gsth264parse.c
gst/mpegdemux/mpegtsparse.c
gst/mpegtsdemux/mpegtsbase.c
gst/mpegtsdemux/mpegtspacketizer.c
gst/mpegtsdemux/mpegtsparse.c
gst/mpegtsdemux/tsdemux.c
gst/mpegtsdemux/tsdemux.h
gst/mxf/mxfdemux.c
gst/rawparse/gstaudioparse.c
gst/videoparsers/gsth263parse.c
gst/videoparsers/gsth264parse.c
sys/d3dvideosink/d3dvideosink.c
sys/decklink/gstdecklinksink.cpp
sys/dvb/gstdvbsrc.c
sys/shm/gstshmsrc.c
sys/vdpau/h264/gstvdph264dec.c
sys/vdpau/mpeg/gstvdpmpegdec.c
tests/examples/opencv/gst_element_print_properties.c
win32/common/config.h
2012-03-29 17:41:53 +02:00
Vincent Penquerc'h
9ebacafc6a
rsndvdsrc: post a message with title number and durations
...
https://bugzilla.gnome.org/show_bug.cgi?id=672165
2012-03-16 11:27:17 +00:00
Wim Taymans
3fae1ff05d
use gst_caps_merge instead of gst_caps_union
2012-03-13 09:54:14 +01:00
Stefan Sauer
b84271faa6
resindvd: send duration message on duration updates
...
When we know a new duration, report it. Add more logging.
2012-03-04 19:57:14 +01:00
Wim Taymans
1119f6ee41
Merge branch 'master' into 0.11
...
Conflicts:
ext/chromaprint/gstchromaprint.c
ext/mpeg2enc/Makefile.am
ext/voaacenc/gstvoaacenc.c
gst/dvbsuboverlay/gstdvbsuboverlay.c
gst/mpegtsdemux/mpegtsbase.c
gst/sdp/gstsdpdemux.c
gst/videoparsers/gsth264parse.c
sys/d3dvideosink/d3dvideosink.c
tests/examples/camerabin/gst-camera-perf.c
tests/examples/camerabin/gst-camerabin-test.c
tests/examples/camerabin2/gst-camerabin2-test.c
tests/examples/mxf/mxfdemux-structure.c
tests/examples/scaletempo/demo-main.c
2012-02-10 16:46:50 +01:00
Wim Taymans
de1f89bf07
GST_FLOW_WRONG_STATE -> GST_FLOW_FLUSHING
2012-02-08 16:37:13 +01:00
Vincent Penquerc'h
7a9fff74c6
resindvd: fix wedge in preroll when playbin2 deinterlacing is enabled
...
When deinterlacing is enabled, an extra colorspace element is added.
Colorspace is a basetransform, and is then the only basetransform
element on the video path. A while ago, basetransform started delaying
events till caps were set on its source pad. These things conspired
to end up sending the DVD highlight events onto a blocked pad on
subtitleoverlay.
Ensuring these highlight events are only sent once we're in playing
mode fixes the issue.
https://bugzilla.gnome.org/show_bug.cgi?id=668762
2012-02-01 12:05:26 +00:00
Vincent Penquerc'h
8147669971
plenty: fixup glib deprecations
2012-01-27 15:47:07 +00:00
Sebastian Dröge
a2a4300241
Merge branch 'master' into 0.11
...
Conflicts:
configure.ac
ext/kate/gstkateenc.c
gst/colorspace/colorspace.c
gst/mpegvideoparse/mpegvideoparse.c
2012-01-25 13:22:43 +01:00
Vincent Penquerc'h
4a1ce3f8d2
resindvd: fix caps refcount error
...
/me bad monkey.
2012-01-23 22:20:40 +00:00
Vincent Penquerc'h
1c0ccc45f4
resindvd: fix preroll on titles with no audio track
...
https://bugzilla.gnome.org/show_bug.cgi?id=599469
2012-01-23 11:04:26 +00:00
Vincent Penquerc'h
27eb76bf45
rsndvdsrc: fix leak
2012-01-23 11:04:26 +00:00
Vincent Penquerc'h
35c96af778
resindvdbin: fix video/audio mixup in error message
2012-01-23 11:04:26 +00:00
Vincent Penquerc'h
dbad02437c
rsnaudiomunge: keep the object ref longer
...
Since we do not get a ref to the pad, I'm not certain it's safe
to drop the object and use the pad later, so hold the object ref
till we're done with the pad.
2012-01-23 11:04:26 +00:00
Edward Hervey
f70a623418
Merge remote-tracking branch 'origin/master' into 0.11-premerge
...
Conflicts:
docs/libs/Makefile.am
ext/kate/gstkatetiger.c
ext/opus/gstopusdec.c
ext/xvid/gstxvidenc.c
gst-libs/gst/basecamerabinsrc/Makefile.am
gst-libs/gst/basecamerabinsrc/gstbasecamerasrc.c
gst-libs/gst/basecamerabinsrc/gstbasecamerasrc.h
gst-libs/gst/video/gstbasevideocodec.c
gst-libs/gst/video/gstbasevideocodec.h
gst-libs/gst/video/gstbasevideodecoder.c
gst-libs/gst/video/gstbasevideoencoder.c
gst/asfmux/gstasfmux.c
gst/audiovisualizers/gstwavescope.c
gst/camerabin2/gstcamerabin2.c
gst/debugutils/gstcompare.c
gst/frei0r/gstfrei0rmixer.c
gst/mpegpsmux/mpegpsmux.c
gst/mpegtsmux/mpegtsmux.c
gst/mxf/mxfmux.c
gst/videomeasure/gstvideomeasure_ssim.c
gst/videoparsers/gsth264parse.c
gst/videoparsers/gstmpeg4videoparse.c
2011-12-30 11:41:17 +01:00
Sebastian Dröge
780d774a5d
rsndec: Don't use the initial-identity property on autoconvert
...
It was removed, see bug #599469 , #665205
2011-12-07 13:50:19 +01:00
Vincent Penquerc'h
7521b597f4
various: fix pad template ref leaks
...
https://bugzilla.gnome.org/show_bug.cgi?id=662664
2011-11-28 13:08:27 +00:00
Tim-Philipp Müller
357d7bdfed
Update for GstURIHandler get_protocols() changes
2011-11-13 23:55:56 +00:00
Wim Taymans
dbdaa23742
Merge branch 'master' into 0.11
...
Conflicts:
gst/colorspace/colorspace.c
2011-11-09 12:19:04 +01:00
Vincent Penquerc'h
cabc01f107
resindvdsrc: do not try to seek before the first chapter
...
https://bugzilla.gnome.org/show_bug.cgi?id=589064
2011-11-07 11:55:59 +00:00
Wim Taymans
eaad7e58b0
more template fixes
2011-11-04 12:31:19 +01:00
Wim Taymans
c8adc4f8c8
make request pads take _%u
2011-11-04 12:22:37 +01:00
Wim Taymans
ad06ac2b4b
Merge branch 'master' into 0.11
...
Conflicts:
ext/resindvd/rsnwrappedbuffer.c
2011-08-25 12:49:26 +02:00
Vincent Penquerc'h
04f7876f94
rsndvd: ensure metadata is writable when writing to it
...
https://bugzilla.gnome.org/show_bug.cgi?id=657250
2011-08-24 16:37:30 +01:00
Wim Taymans
01b9b5002f
Merge branch 'master' into 0.11
...
Conflicts:
common
configure.ac
gst/colorspace/colorspace.c
gst/colorspace/colorspace.h
gst/colorspace/gstcolorspace.c
2011-08-04 09:36:07 +02:00
Olivier Crête
c4d00d06a7
resindvd: Fix set-but-unused warnings
2011-07-12 18:18:30 -04:00
Wim Taymans
a2b7a672b8
Merge branch 'master' into 0.11
...
Conflicts:
android/aacparse.mk
android/amrparse.mk
android/h264parse.mk
android/metadata.mk
android/qtmux.mk
android/sdpelem.mk
configure.ac
gst/qtmux/gstqtmux.c
win32/common/config.h
2011-06-15 16:06:36 +02:00
Tim-Philipp Müller
5d6bdf6052
Fix some unused-but-set-variable warnings with gcc 4.6
2011-04-15 00:24:47 +01:00
Wim Taymans
d0e2f7f2dc
meta: update for new API
2011-03-08 17:03:22 +00:00
Wim Taymans
a5c1e5fd86
meta: fix for new metadata api
2011-02-28 12:06:57 +01:00
Wim Taymans
c6859960fa
miniobject: port rsndvd
2011-02-28 12:06:57 +01:00
Jan Schmidt
7e3472d772
resindvd: Defer pushing tag updates until streaming.
...
Push tag/title info updates in the streaming thread, avoiding
spurious losses of the downstream events when flushing.
See: https://bugzilla.gnome.org/show_bug.cgi?id=594222
2010-12-12 02:21:53 +11:00
Jan Schmidt
4810fa4c51
resindvd: Attempt to use glib language setting for DVD menus/audio
2010-12-12 02:21:53 +11:00
Jan Schmidt
c12fc9edda
resindvd: Fix silly typo in button state tracking.
2010-12-12 02:21:53 +11:00
Stefan Kost
0387a89cad
various (ext): add missing G_PARAM_STATIC_STRINGS flags
...
Canonicalize property names as needed.
2010-10-19 17:13:26 +03:00
Tim-Philipp Müller
887fc8e6e7
resindvdsrc: improve error messages on read erros
...
Provide i18n-ed error messages when a read error happens,
and point out that the error could be happening because the
DVD is scrambled.
https://bugzilla.gnome.org/show_bug.cgi?id=613633
2010-09-26 20:43:43 +01: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
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
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
65b0f75d1b
resindvdbin: Apply gcc 4.5 compiler warning workaround to the mpegpsdemux copy
...
Same as a331228ecc
.
2010-04-15 21:40:19 +02:00
Benjamin Otte
33c2f5fb01
Add -Wwrite-strings
...
and fix its warnings
2010-03-22 13:16:33 +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
Benjamin Otte
775c7584fd
gst_element_class_set_details => gst_element_class_set_details_simple
2010-03-18 22:46:41 +01: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
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
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
Tim-Philipp Müller
02c5942325
resindvd: printf format fixes
2009-11-05 21:47:05 +00: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
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
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
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
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
Stefan Kost
b7b8b7f407
build: fprintf, sprintf, sscanf need stdio.h
2009-10-07 15:26:12 +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
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
Sebastian Dröge
07bd0d87aa
rsnstreamselector: Use iterate internal links instead of deprecated get internal links
2009-08-31 08:14:10 +02:00
Руслан Ижбулатов
09b2abf87b
resindvd, rawparse: fix LDFLAGS for gst-plugins-base libs
...
Fixes #593063 .
2009-08-25 23:55:41 +01: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
Tim-Philipp Müller
6eb167a176
Make build without warnings with debugging disabled
2009-06-19 16:21:28 +01: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
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