Commit graph

275 commits

Author SHA1 Message Date
Stéphane Cerveau
c3525ca78c realmedia: allow per feature registration
Split plugin into features including
dynamic types which can be indiviually
registered during a static build.

More details here:

https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/199
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/661

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/79>
2021-03-29 19:13:36 +00:00
Sebastian Dröge
3aba7d1e62 rmdemux: Make sure we have enough data available when parsing audio/video packets
Otherwise there will be out-of-bounds reads and potential crashes.

Thanks to Natalie Silvanovich for reporting.

Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/issues/37

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/74>
2021-03-15 12:36:42 +00:00
Jan Schmidt
ea945eb9c6 rmdemux: Don't ignore the return value of gst_segment_do_seek()
If gst_segment_do_seek() fails, fail the seek.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/45>
2020-07-27 07:26:37 +00:00
Tim-Philipp Müller
3cd445a490 Remove autotools build system 2019-10-13 14:19:11 +01:00
Aaron Boxer
3f24460e37 documentation: fix some typos 2019-09-02 09:33:15 -04:00
Thibault Saunier
21ac37c61a docs: Port documentation to hotdoc 2019-05-13 17:00:00 -04:00
Thibault Saunier
2df9f6e5ce docs: Port all docstring to gtk-doc markdown 2019-04-26 20:32:26 -04:00
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
38b198255f realmedia: fix leak in asmrules error code path
https://bugzilla.gnome.org/show_bug.cgi?id=787056
2017-08-31 19:27:02 +01:00
Satya Prakash Gupta
c3cf7ab5c4 realmedia: Fix Memory leak in error case
https://bugzilla.gnome.org/show_bug.cgi?id=787014
2017-08-30 17:20:41 +02: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
Nicolas Dufresne
c1e526a879 Rename plugin filenames to match plugin names
libgstrmdemux.so becomes libgstrealmedia.so

https://bugzilla.gnome.org/show_bug.cgi?id=779344
2017-03-08 20:04:25 -05:00
Sebastian Dröge
cddfdaab78 real: Fix compiler warnings with latest clang
realhash.c:295:11: error: implicit conversion from 'int' to 'char' changes value from 128 to -128 [-Werror,-Wconstant-conversion]
  *buf1 = 128;
        ~ ^~~

https://bugzilla.gnome.org/show_bug.cgi?id=775112
2016-11-25 23:51:23 +02:00
Thibault Saunier
3e27368ce3 Use the new API to post flow ERROR messages on the bus
https://bugzilla.gnome.org/show_bug.cgi?id=770158
2016-08-26 19:23:28 -03: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
Guillaume Desmottes
f52343fcf8 rdtmanager: fix clock leak
The clock returned by gst_system_clock_obtain() was never unreffed.

https://bugzilla.gnome.org/show_bug.cgi?id=766565
2016-05-20 12:01:19 +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
Tim-Philipp Müller
f1bb44460d win32: remove outdated build cruft
This hasn't been touched for generations, doesn't work,
and is just causing confusion. We also don't want to
maintain these files manually.
2016-02-21 10:11:12 +00:00
Vineeth TM
ecb6099b44 rmdemux: fix assertion error when freeing old tags.
Check if old_tags is present before calling gst_tag_list_unref

https://bugzilla.gnome.org/show_bug.cgi?id=753301
2015-08-06 01:59:56 -03:00
Tim-Philipp Müller
c12e5d1ad4 rmdemux: mark tag list as global scope 2015-07-21 11:13:27 +01:00
Tim-Philipp Müller
2be1874927 rmdemux: fix taglist leak
merge doesn't take ownership, so must unref the
old tags if we do merge.
2015-07-21 11:10:04 +01:00
Vineeth TM
868a885040 rmdemux: fix wrong unref when there are no tags
Tags should be appended to pending tags and unref'ed only if tags
are present. Else there is no need to append.

https://bugzilla.gnome.org/show_bug.cgi?id=752404
2015-07-21 10:52:54 +01:00
Vineeth T M
42dbce6d57 rmdemux: fix memory leaks during error cases
while adding stream, during error cases, only stream is
being freed. Adapter, pad, tags, subpackets, index are not being
freed resulting in memory leaks

https://bugzilla.gnome.org/show_bug.cgi?id=752404
2015-07-21 10:47:39 +01:00
Vineeth T M
c222f1942b rmdemux: fix tag memory leak
tags is not being freed after being merged to the
pending_tags.

https://bugzilla.gnome.org/show_bug.cgi?id=752404
2015-07-16 08:59:20 +01:00
Tim-Philipp Müller
f034f77b73 docs: update example pipelines in element docs
Mostly gst-launch -> gst-launch-1.0, but also
use autoaudiosink/autovideosink in more places
and update pipelines a little or flesh out
descriptions.
2015-05-10 11:34:33 +01:00
Luis de Bethencourt
9a18b9e4ce Rename property enums from ARG_ to PROP_
Property enum items should be nameed PROP_ for consistency and readability.
2015-04-27 10:57:12 +01:00
Tim-Philipp Müller
19fd6f240d Remove obsolete Android build cruft
This is not needed any longer.
2015-04-26 17:56:31 +01:00
Luis de Bethencourt
f209829d81 realmedia: remove unused enum item PROP_LAST 2015-04-24 17:05:20 +01:00
Mark Nauwelaerts
573ce40fad rmdemux: resurrect some flow return handling
https://bugzilla.gnome.org/show_bug.cgi?id=744572
2015-03-28 18:22:21 +01:00
Sebastian Rasmussen
e593ae2db6 rademux: Print invalid fourcc in error message in hex
Previously this was printed as characters which caused later processing
of the error message to sometimes warn about non-UTF-8 characters.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=732716
2014-07-04 08:41:13 +01:00
Thiago Santos
a71a239572 rmdemux: use GstFlowCombiner
Removes flow return combination code to use the newly added GstFlowCombiner

https://bugzilla.gnome.org/show_bug.cgi?id=709224
2014-06-03 10:04:01 -03:00
Sebastian Dröge
9953165336 rtspreal: Fix some memory leaks in an error path
CID 1212165.
2014-05-16 12:21:58 +02:00
Tim-Philipp Müller
441e4f33b6 docs: remove outdated and pointless 'Last reviewed' lines from docs
They are very confusing for people, and more often than not
also just not very accurate. Seeing 'last reviewed: 2005' in
your docs is not very confidence-inspiring. Let's just remove
those comments.
2014-04-27 00:29:16 +01:00
Sebastian Dröge
4b0f044151 gst: Don't swap start/stop for negative rates in the SEGMENT query 2013-07-29 12:13:17 +02:00
Sebastian Dröge
eb5dfd5436 real: Implement SEGMENT query 2013-07-29 10:57:38 +02:00
Edward Hervey
8f6e8ef56b rtspreal: Ensure output value has an assigned value
In the case where this macro was used, that dest was != NULL but that
the strncmp failed, we would end up with dest_len being undefined.
2013-07-26 16:47:48 +02:00
Sebastian Dröge
a8a32d1317 realmedia: Add support for group-id in the stream-start event 2013-07-22 16:02:46 +02:00
Edward Hervey
3c6a9d3e37 rmdemux: Mark demuxer as "running" in push-mode
Allows queries (and other code) to be answered when working in push-mode.

Running would only be set to TRUE accordingly when working in pull-mode
once it had read header/index.

Fixes #680185
2013-07-18 17:15:25 +02:00
Wim Taymans
a5fed6c261 rdt: forward sticky events 2013-06-25 14:20:37 +02:00
Sebastian Dröge
ef182de45f gst: Add better support for static plugins 2013-04-15 15:56:02 +02:00
David Schleef
f8bbe696f5 Use %03u instead of %u in gst_pad_create_stream_id_printf() 2013-03-25 18:58:36 -07: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
Scott Fan
bbe0cb0440 Makefile.am: Fix typos for generating the Android.mk files
Change libgstasfdemux to libgstasf, and change libgstrealmedia to libgstrmdemux.

The typos led to generate the incorrect Android.mk files for the asfdemux
and realmedia plugin.

https://bugzilla.gnome.org/show_bug.cgi?id=686748
2012-10-24 13:37:26 +01:00
Wim Taymans
c3b5d7e914 rmdemux: use DTS and PTS
Video uses DTS as timestamps. Set the DTS on the buffers and leave the PTS
undefined to make the decoder do the right thing. We can then remove the code
that tries to guess the PTS from the DTS.
2012-09-13 13:49:33 +02:00
Mark Nauwelaerts
f1a5ca10f4 gst: only activate in pull mode if upstream is seekable 2012-09-11 17:45:39 +02:00
Wim Taymans
414986e17b rademux: tags can be NULL 2012-09-11 11:28:06 +02:00
Tim-Philipp Müller
7f7b4522fa gst: silence some compiler warnings with -DG_DISABLE_ASSERT 2012-08-08 15:23:27 +01:00
Sebastian Dröge
87d9927126 gst: Add stream-id to stream-start events 2012-08-06 14:04:05 +02:00
Tim-Philipp Müller
c7fd90c842 gst_tag_list_free -> gst_tag_list_unref 2012-08-04 16:13:36 +01:00