Commit graph

130 commits

Author SHA1 Message Date
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
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
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
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
Olivier Crête c4d00d06a7 resindvd: Fix set-but-unused warnings 2011-07-12 18:18:30 -04: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
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