Nirbheek Chauhan
a9cab426d0
meson: Maintain macOS ABI through dylib versioning
...
Requires Meson 0.48, but the feature will be ignored on older versions
so it's safe to add it without bumping the requirement.
Documentation:
https://github.com/mesonbuild/meson/blob/master/docs/markdown/Reference-manual.md#shared_library
2018-08-31 14:40:43 +05:30
Antoine Jacoutot
c765649505
libs: g-ir-scanner: do not hardcode libtool path
...
https://bugzilla.gnome.org/show_bug.cgi?id=726571
2018-05-18 13:41:25 +02:00
Tim-Philipp Müller
3b9768ebaa
riff: GST_EXPORT -> GST_RIFF_API
...
We need different export decorators for the different libs.
For now no actual change though, just rename before the release,
and add prelude headers to define the new decorator to GST_EXPORT.
2018-03-13 12:16:42 +00:00
Edward Hervey
ee55f94ac0
riff-media: Handle strf_data being NULL
...
Instead of trying to get the size of a NULL buffer :)
2017-11-02 09:19:21 +01:00
Havard Graff
43985b363d
meson: remove vs_module_defs
...
GST_EXPORT should handle it.
2017-10-05 13:53:14 +01:00
Tim-Philipp Müller
a1ec342b77
riff: mark symbols explicitly for export with GST_EXPORT
2017-05-16 15:22:42 +01:00
Tim-Philipp Müller
60e9629860
g-i: no need to load registry in g-i scanner
2017-05-04 23:55:20 +01:00
Rico Tzschichholz
07a427b403
meson: Pass --c-include accordingly to GIR builds
2017-04-13 12:23:32 +01:00
Thibault Saunier
099ac9faf2
docs: Convert gtkdoc comments to markdown
...
Modernizing the documentation, making it simpler to read an
modify and allowing us to possibly switch to hotdoc in the
future.
2017-03-10 18:19:17 -03:00
Sebastian Dröge
5d505d1088
riff-media: Don't divide block align by zero channels
...
https://bugzilla.gnome.org/show_bug.cgi?id=777525
2017-01-20 12:41:16 +02:00
Sebastian Dröge
ef55c8a6b7
riff-media: Don't recurse in for nested WAVEFORMATEX
...
There was already a check for that, but it failed because
subformat_guid[0] is a guint32 and that is then casted implicitely to a
guint16 when recursing... just that we checked the uncasted value.
This caused an infinite recursion and thus stack overflow.
https://bugzilla.gnome.org/show_bug.cgi?id=777265
2017-01-18 13:11:07 +02:00
Sebastian Dröge
81d3ba3fa2
riff-media: Check for valid channels/rate before using the values
...
Otherwise we might divide by zero or otherwise create invalid caps.
https://bugzilla.gnome.org/show_bug.cgi?id=777262
2017-01-15 18:32:34 +01:00
Sebastian Dröge
19ece085ac
riff-media: Fix up last commit
2016-12-20 13:00:59 +02:00
Nicola Murino
a75be73471
riff: add ADPCM_G722 support
...
https://bugzilla.gnome.org/show_bug.cgi?id=746574
2016-12-20 12:48:32 +02:00
Sebastian Dröge
0846eb5b27
riff-media: Check if caps are NULL before using them for the first time, not afterwards
...
Otherwise we'll get a g_critical() before erroring out cleanly on
https://samples.mplayerhq.hu/A-codecs/ATRAC3/SND0.AT3
2016-11-26 13:54:41 +02:00
Sebastian Dröge
088aebfda9
riff: Extract bpp from the strf for vnmc
...
Needed for avdec_vnmc to work.
2016-11-16 20:49:11 +02:00
Thibault Saunier
6917cb629e
meson: Generate girs
...
https://bugzilla.gnome.org/show_bug.cgi?id=773944
2016-11-09 18:06:19 -03:00
Nirbheek Chauhan
5c4f4ac1bd
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:09:51 +01:00
Carlos Rafael Giani
9adaeb0a71
riff: Remove sample rate and channel count boundaries in caps
...
WAV is too generic to impose more-or-less arbitrary boundaries on the
sample rate and channel count caps. For example, there are 384 kHz WAV
files. Another example: it is in theory possible that somebody puts DSD
data into a WAV file, which will then have a sample rate of ~2.8 MHz.
For this reason, get rid of the rate and channel caps unless they are
fixed values. Downstream anyway usually knows the limitations better.
https://bugzilla.gnome.org/show_bug.cgi?id=761514
2016-08-02 15:25:53 +03:00
Tim-Philipp Müller
d52a74f32e
g-i: pass compiler env to g-ir-scanner
...
It's what introspection.mak does as well. Should
fix spurious build failures on gnome-continuous.
2016-05-24 00:44:21 +01:00
Tim-Philipp Müller
ddfe7a2808
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-20 10:05:17 +00:00
Sebastian Dröge
4d1726fddd
riff: Add missing closing parenthesis to GST_RIFF_WAVE_FORMAT_ANTEX_ADPCME
...
Apparently this #define is unused.
2016-01-03 10:33:53 +02:00
Stefan Sauer
f4ae53144e
riff-ids: remove trailing whitespace
2016-01-02 23:29:43 +01:00
Stefan Sauer
adb24a54ca
riff-ids: fix two swapped ids
...
For these fourcc ids the name and value is swapped. This was causing a warning
when registering the avi ids.
2016-01-02 23:29:43 +01:00
Luis de Bethencourt
055ed65d92
riff: add FourCC aliases
...
Support media using the aliases defined in http://www.fourcc.org/ that are
exact duplicates of already known codes.
2015-12-12 20:22:44 +00:00
Luis de Bethencourt
98e93ec5ee
riff: use defined FourCC
...
Make gst_riff_create_video_caps() use the FourCC available in riff-ids.h,
like gst_riff_create_audio_caps() does.
2015-12-12 20:22:09 +00:00
Edward Hervey
27f2328348
riff: 'DXSA' is the same as 'DXSB'
...
Which is subpicture/x-xsub
2015-12-02 16:37:50 +01:00
Nicolas Dufresne
c101452a4a
gi: Use INTROSPECTION_INIT for --add-init-section
...
This new define was added to common. The new init section fixed
compilation warning found in the init line that was spread across
all files.
2015-06-16 18:04:57 -04:00
Nicolas Dufresne
49912b3313
gi: Don't produce gir and typlib for GstRiff
...
The API does not follow the type naming convention. Re-enable
only if one take the time to box and rename (see (rename-to SYMBOL)
annotation) all types.
2015-06-16 15:16:33 -04:00
Tim-Philipp Müller
c680e324bc
Remove obsolete Android build cruft
...
This is not needed any longer.
2015-04-26 18:42:34 +01:00
Edward Hervey
3eb35c77cc
introspection: Don't use g-ir-scanner cache at compile time
...
It pollutes user directories and we don't need to cache it
https://bugzilla.gnome.org/show_bug.cgi?id=747095
2015-03-31 11:21:43 +02:00
David Schleef
8b0329c45d
riff: Add FLLR tag
2015-03-26 18:03:12 -07:00
Sebastian Dröge
c1776a9dd3
riff-media: Error out early if we observe an invalid audio format
2014-12-18 13:25:01 +01:00
Sebastian Dröge
5ecbc9eea2
riff: Also handle invalid block aligns for raw audio
...
Fixes audio playback of
http://demo.archermind.com/Test%20Sample/Video/MPEG%204/Divx3/Low-Motion/576-320.avi
Audio and video together is still broken because of other issues.
2014-12-18 13:25:01 +01:00
Peter G. Baum
7b211bf6b3
riff-media: allow more channel_masks
...
Allow partial valid channel masks.
Set channel mask to 0 for non-valid channel masks.
https://bugzilla.gnome.org/show_bug.cgi?id=733405
2014-10-14 10:29:56 +02:00
Peter G. Baum
b9a54fcabe
riff: Recognize RF64 as RIFF file
...
https://bugzilla.gnome.org/show_bug.cgi?id=735631
2014-08-29 11:47:24 +03:00
Sebastian Rasmussen
7807e2e6fd
riff: 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=732697
2014-07-03 19:37:18 +02:00
Nicola Murino
26e3c92093
riff: Fix G726 caps creation
...
https://bugzilla.gnome.org/show_bug.cgi?id=720995
2014-01-19 10:34:57 +01:00
Nicola Murino
3a8c1b3550
riff: Add G726 ADPCM support
...
https://bugzilla.gnome.org/show_bug.cgi?id=720995
2014-01-08 09:45:14 +01:00
Stefan Sauer
28ce2c4053
riff: remove new parse_ncdt api again
...
This chunk is avi specific, no need to expose this as public api.
2014-01-05 21:39:52 +01:00
Stefan Sauer
1fee60277d
riff: fix indentation messup from previous commit
2014-01-04 21:54:10 +01:00
Stefan Sauer
f653aa8c85
riff: add support for nikon tags
...
Nikon cameras store metadata in a custom format. Add parsing of the chunk and
extract some initial data.
API: gst_riff_parse_ncdt()
Fixes #636143
2014-01-04 21:35:29 +01:00
Stéphane Cerveau
9f3becdf52
riff: Add id3 tag
...
Add id3 tag for wavparse
https://bugzilla.gnome.org/show_bug.cgi?id=721241
2013-12-31 10:38:44 +01:00
Stefan Sauer
bc8213e21e
riff: add two chunk-ids for samples instruments
...
Wav files can have 'smpl' and 'inst' chunks.
2013-12-30 14:40:35 +01:00
Edward Hervey
213596cc85
riff-media: Fix array read
...
nbchannels ranges from 1 to 8, therefore use '- 1' to get the proper
array value.
2013-12-30 13:46:34 +01:00
Matej Knopp
2976866348
riff: Add support for TechSmith Screen Capture 2
...
https://bugzilla.gnome.org/show_bug.cgi?id=707878
2013-09-11 11:04:30 +02:00
Josep Torra
f20972c6a9
riff: Provide correct media type for MSS1 and MSS2
...
Windows Media Video Screen (WMV Screen) are video formats that
specilise in screencast content. This provides a correct media type
for them instead of just video/x-asf-unknown.
2013-08-30 14:55:49 +02:00
Olivier Crête
1ed1792560
riff-media: Add 'png ' fourcc
...
On top of mpng, MPNG, PNG, there is also png it seems
https://bugzilla.gnome.org/show_bug.cgi?id=704291
2013-07-15 17:09:16 -04:00
Reynaldo H. Verdejo Pinochet
0a914f8fe2
riff: Provide correct media type for XSub
...
Xsub (fourcc DXSB) is a subpicture stream used for embeded
subtitles on divx files. This provides a correct media type
for them instead of just video/x-avi-unknown.
2013-07-11 12:42:48 -04:00
Julien Moutte
6f9006c9b9
riff: Manually calculate bitrate of ADPCM streams
...
Some ADPCM encoding tools like Oxelon generate WAV files with
wrong format header declaring an invalid bitrate.
As wavparse uses the average bitrate to calculate timestamps
and duration the decoder can be confused by receiving timestamps
completely out of sync with the decoded samples.
ADPCM is a CBR audio codec so we can calculate the average bitrate
instead of trusting the format header.
https://bugzilla.gnome.org/show_bug.cgi?id=636245
2013-05-07 15:01:05 +02:00