Commit graph

141 commits

Author SHA1 Message Date
Guillaume Desmottes
887416db4b dvdreadsrc: fix uninitialized warning
Variable is always set in actual code paths but let's keep gcc happy.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/51>
2020-05-27 09:13:17 +02:00
Stéphane Cerveau
a47b6b5f3c ugly: use of g_value_dup_string
Use helper method to get string from GValue.
2019-12-18 16:09:42 +01:00
Tim-Philipp Müller
3cd445a490 Remove autotools build system 2019-10-13 14:19:11 +01:00
Thibault Saunier
21ac37c61a docs: Port documentation to hotdoc 2019-05-13 17:00:00 -04:00
Sebastian Dröge
8c994a632b meson: Always require the gmodule dependency
It's needed by the dvdread plugin but also by the x264 plugin in certain
circumstances. As it's part of GLib and always available, simply move it
as a hard dependency to the top-level meson.build.
2019-04-22 12:51:33 +03:00
Sebastian Dröge
aebb6bd9f3 dvdreadsrc: Work around GCC9 compiler warning
It's technically true but not for this specific type.

dvdreadsrc.c:394:65: error: taking address of packed member of ‘struct <anonymous>’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
  394 |       gst_dvd_read_src_make_clut_change_event (src, src->cur_pgc->palette);
      |                                                     ~~~~~~~~~~~~^~~~~~~~~
2019-02-12 18:08:59 +02:00
Nirbheek Chauhan
c5cddfcec4 Add feature options for all plugins
The only automagic dependency left is C++ availability detection.

https://bugzilla.gnome.org/show_bug.cgi?id=795107
2018-07-27 19:34:01 +05:30
Xavier Claessens
6b01999087 Meson: Generate pc file for all plugins in ugly
https://bugzilla.gnome.org/show_bug.cgi?id=794568
2018-04-25 11:07:39 +01:00
Satya Prakash Gupta
861cff5da1 dvdreadsrc: Fix string memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=785388
2017-07-25 11:23:38 +03:00
Nicolas Dufresne
d02e7d8029 Remove plugin specific static build option
Static and dynamic plugins now have the same interface. The standard
--enable-static/--enable-shared toggle are sufficient.
2017-05-16 14:07:56 -04:00
Mark Nauwelaerts
aab716ac40 dvdreadsrc: dvd-spu-clut-change is a sticky custom event 2016-11-20 20:55:17 +01:00
Nirbheek Chauhan
c8260a1545 Add support for Meson as alternative/parallel build system
https://github.com/mesonbuild/meson

With contributions from:

Tim-Philipp Müller <tim@centricular.com>
Jussi Pakkanen <jpakkane@gmail.com> (original port)

Highlights of the features provided are:
* Faster builds on Linux (~40-50% faster)
* The ability to build with MSVC on Windows
* Generate Visual Studio project files
* Generate XCode project files
* Much faster builds on Windows (on-par with Linux)
* Seriously fast configure and building on embedded

... and many more. For more details see:

http://blog.nirbheek.in/2016/05/gstreamer-and-meson-new-hope.html
http://blog.nirbheek.in/2016/07/building-and-developing-gstreamer-using.html

Building with Meson should work on both Linux and Windows, but may
need a few more tweaks on other operating systems.
2016-08-20 11:29:37 +01:00
Nirbheek Chauhan
5ae5b2d3c7 plugins: Use <stdint.h> instead of _stdint.h
_stdint.h is generated by Autotools and we don't really need it. All
supported platforms now ship with stdint.h. The only stickler was MSVC,
and since Visual Studio 2015 it also ships stdint.h now.
2016-08-19 13:03:29 +01:00
Vineeth TM
eacdaa56b3 ugly: use new gst_element_class_add_static_pad_template()
https://bugzilla.gnome.org/show_bug.cgi?id=763082
2016-03-24 14:38:13 +02:00
Jens Georg
7e1c64e846 dvdread: Fix seek starting at 0 for title != 1
Otherwise the playback would start at title 0

https://bugzilla.gnome.org/show_bug.cgi?id=762787
2016-02-28 23:34:00 +11:00
Reynaldo H. Verdejo Pinochet
7a7715e18c dvdread: remove broken link
Removing instead of updating as previously pointed-to page
(now http://dvd.sourceforge.net/dvdinfo/) is already linked
from dvd.sourceforge.net's homepage as: "Collection of
information on file formats/data structures relating to DVD
navigation/SPUs."
2015-09-29 14:16:07 -07:00
Jan Schmidt
5dfd112521 dvdread: Also reset the first_seek var in start()
Make the initial chapter seek work across reuse.

https://bugzilla.gnome.org/show_bug.cgi?id=453322
2015-05-12 22:06:15 +10:00
Jan Schmidt
bc7e8282d3 dvdread: Work around basesrc initial seek
Ignore the initial seek basesrc sends, as it
breaks starting from another chapter by
immediately seeking back to the start of the title
2015-05-12 21:52:24 +10:00
Tim-Philipp Müller
0a467495c2 Fix double semicolons 2015-03-10 09:32:51 +00:00
Vincent Penquerc'h
16a85fc664 dvdread: avoid intermediate promotion to signed
We should not reach the dangerous range here, though.

Coverity 206491, 206492, 1139856
2014-04-10 16:56:13 +01:00
Mark Nauwelaerts
d0502b0a52 dvdreadsrc: correctly determine last chapter's duration
This (mostly) reverts 683f5eeae7.
It worked just fine before ...
2013-07-09 22:04:51 +02:00
Sebastian Dröge
ef182de45f gst: Add better support for static plugins 2013-04-15 15:56:02 +02:00
Tim-Philipp Müller
2b814e4191 dvdread: link to libgmodule-2.0 since the g_module_* API is used
And the gmodule lib has been moved into the Requires.private
section of the pkg-config file in core.
2012-11-30 20:09:03 +00:00
Tim-Philipp Müller
9c690b2018 Fix FSF address
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-03 20:40:37 +00:00
Mark Nauwelaerts
f4248f002a dvdreadsrc: correctly set next cell when seeking to sector 2012-10-18 22:19:04 +02:00
Mark Nauwelaerts
c7272913d1 dvdreadsrc: update dvd event to enhanced approach
... in line with resindvdsrc.
2012-10-12 14:49:28 +02:00
Wim Taymans
49f5cb7d76 rename some caps and elements in examples 2012-09-14 16:28:54 +02:00
Tim-Philipp Müller
d6dbd2094e dvdreadsrc: mustn't drop queries like caps query if not started yet 2012-07-17 20:57:39 +01:00
Tim-Philipp Müller
b8beab38eb dvdreadsrc: set rank to NONE
It should never be autoplugged really, for DVD
playback there's rsndvd (or will be, realsoonnow).
2012-07-12 18:05:10 +01:00
Tim-Philipp Müller
ccc59fc924 dvdread: fix build after recent include reshuffling in core
Need to include gmodule.h ourselves now.
2012-04-30 21:27:52 +01:00
Tim-Philipp Müller
08d20e4da8 Use new gst_element_class_set_static_metadata() 2012-04-10 00:47:44 +01:00
Sebastian Dröge
29a893b494 gst: Update for GST_PLUGIN_DEFINE() API changes 2012-04-05 17:40:12 +02:00
Tim-Philipp Müller
ef64b43ac8 Merge remote-tracking branch 'origin/master' into 0.11
So 0.11 folks also get amr include fixes.

Conflicts:
	ext/a52dec/gsta52dec.c
	ext/mad/gstmad.c
2012-03-20 12:08:23 +00:00
Wim Taymans
7cd283ebc6 update for memory api changes 2012-03-15 13:38:16 +01:00
Sebastian Dröge
6e9a534223 dvdreadsrc: Use variable type with correct signedness 2012-03-06 14:28:15 +01:00
Sebastian Dröge
74de5954af Merge branch 'master' into 0.11
Conflicts:
	ext/a52dec/gsta52dec.c
2012-01-25 13:03:33 +01:00
Wim Taymans
56a07a14b5 port to new memory API 2012-01-25 11:57:07 +01:00
Vincent Penquerc'h
683f5eeae7 dvdreadsrc: fix off by one in cell calculation for the last chapter 2012-01-13 15:03:50 +00:00
Sebastian Dröge
31063f0098 Merge branch 'master' into 0.11
Conflicts:
	ext/a52dec/gsta52dec.c
	ext/a52dec/gsta52dec.h
	ext/lame/gstlame.c
	ext/lame/gstlame.h
	ext/lame/gstlamemp3enc.c
	ext/mad/gstmad.c
	ext/mad/gstmad.h
	gst/mpegaudioparse/gstmpegaudioparse.c
	gst/mpegstream/gstdvddemux.c
	gst/realmedia/rdtdepay.c
	po/es.po
	po/lv.po
	po/sr.po
2012-01-10 15:17:11 +01:00
Wim Taymans
f9d64ff495 GST_FLOW_UNEXPECTED -> GST_FLOW_EOS 2012-01-03 15:27:42 +01:00
Mark Nauwelaerts
20dcefd5c0 dvdreadsrc: map subtitle language tag to stream indicated in PGC data 2011-12-21 22:09:04 +01:00
Mark Nauwelaerts
692f6b5d95 dvdreadsrc: minor safety tweak to sector seeking 2011-12-21 22:07:23 +01:00
Wim Taymans
d701123063 fix for basesrc changes 2011-12-06 14:00:18 +01:00
Руслан Ижбулатов
895b88760f dvdreadsrc: Fix format string compiler warning
Fixes bug #665101.
2011-11-29 08:49:23 +01:00
Vincent Penquerc'h
213ce049ad various: fix pad template ref leaks
https://bugzilla.gnome.org/show_bug.cgi?id=662664
2011-11-28 13:10:01 +00:00
Tim-Philipp Müller
875c41011e ext: fix more printf format warnings in debug messages 2011-11-23 23:29:03 +00:00
Tim-Philipp Müller
074330bf16 Update for GstURIHandler get_protocols() changes 2011-11-13 23:47:46 +00:00
Tim-Philipp Müller
4db445cf84 dvdreadsrc, pnmsrc: update for GstURIHandler changes 2011-11-13 19:01:31 +00:00
Wim Taymans
6b709f4656 dvdread: port to 0.11 2011-10-10 12:38:02 +02:00
Vincent Penquerc'h
40274ad92f dvdreadsrc: take into account first sector of the current title
This fixes seeking on titles which do not start on a new file.

https://bugzilla.gnome.org/show_bug.cgi?id=659252
2011-09-19 09:53:26 +02:00