Commit graph

363 commits

Author SHA1 Message Date
Tim-Philipp Müller
be369ff630 riff: use GST_TAG_DATE_TIME instead of GST_TAG_DATE here as well 2012-07-15 00:22:38 +01:00
Edward Hervey
2817bdadc9 libs: Remove "Since" markers and minor doc fixups 2012-07-13 12:11:06 +02:00
Mark Nauwelaerts
edbd1784bf riff: rename field in gst_riff_strf_auds
... which is supposed to align with WAVEFORMATEX, but has confusing
names compared to the last 2 fields in the latter (and still
misses 1 field compared to the latter).
2012-07-09 12:27:56 +02:00
Mark Nauwelaerts
713b80f191 riff: fixup 0.11 port mishap in reading extra data length field
Fixes #679437.
2012-07-06 15:05:31 +02:00
Sebastian Rasmussen
b7b123964b gst-libs: make pkg-config get path to pkg-config dirs from configure
When --with-pkg-config-path is supplied to configure this path is now
explicitly propagated to pkg-config.

https://bugzilla.gnome.org/show_bug.cgi?id=673377
2012-05-05 23:26:20 +01:00
Sebastian Dröge
69b18ab09d gst-libs: Remove interfaces libs and mixer/tuner interfaces
The navigation interface is now in the video library.
2012-04-13 13:14:13 +02:00
Sebastian Dröge
65307dd132 gst: Update versioning 2012-04-04 14:55:15 +02:00
Sebastian Dröge
9e13d70b2c Merge remote-tracking branch 'origin/0.10'
Conflicts:
	gst-libs/gst/video/video-overlay-composition.c
	tests/check/libs/video.c
2012-03-29 15:00:22 +02:00
Tim-Philipp Müller
f17b8cbbc3 riff: map ISBJ tag to GST_TAG_ALBUM_ARTIST
http://www.bass.radio42.com/help/html/7e1a8908-88bd-d54b-77d7-f0d08466284c.htm
2012-03-24 00:18:17 +00:00
Wim Taymans
32bd12dba9 Merge branch 'master' into 0.11
Conflicts:
	.gitignore
	common
	configure.ac
	ext/vorbis/gstvorbisdeclib.h
	gst-libs/gst/audio/gstaudioencoder.c
	gst-libs/gst/riff/riff-read.c
	gst/playback/gstplaysink.c
	gst/playback/gstplaysinkconvertbin.c
	tests/check/libs/video.c
2012-03-22 11:35:13 +01:00
Tim-Philipp Müller
fe0e2d65e1 riff: map IPRD ("product") tag to GST_TAG_ALBUM
http://www.bass.radio42.com/help/html/7e1a8908-88bd-d54b-77d7-f0d08466284c.htm

https://bugzilla.gnome.org/show_bug.cgi?id=670286
2012-03-18 22:56:58 +00:00
Wim Taymans
dfb8e7cb2c don't pass random pointers to pull_range 2012-03-16 21:46:47 +01:00
Tim-Philipp Müller
b2d066f49c riff: extract track number and album artist tags from INFO chunks
https://bugzilla.gnome.org/show_bug.cgi?id=670286
2012-03-09 20:57:02 +00:00
Tim-Philipp Müller
5cb1cd2d54 riff: when reading tags from INFO chunk, accept lower-case IDs as well 2012-03-09 20:53:27 +00:00
Tim-Philipp Müller
6cd3faaa65 riff: fix compilation on big-endian
Update to new gst_buffer_map() API
2012-02-22 21:22:06 +00:00
Wim Taymans
d2ea46cdbf Merge branch 'master' into 0.11
Conflicts:
	tests/examples/seek/seek.c
2012-02-21 10:01:30 +01:00
David Schleef
0b3f956277 riff: Add v210, r210 formats 2012-02-18 17:38:05 -08:00
Wim Taymans
fcdc385aa1 port to new map API 2012-01-25 12:30:53 +01:00
Wim Taymans
1317811af6 riff: don't use NULL arrays 2012-01-05 12:31:51 +01:00
Sebastian Dröge
c52b50a517 riff: Return a channel reorder map for raw audio when creating the caps 2012-01-05 10:34:25 +01:00
Sebastian Dröge
7cd0659032 riff: Add the layout field to the raw audio caps 2012-01-05 10:34:24 +01:00
Sebastian Dröge
ee80a97a2a riff: Port to the new multichannel caps 2012-01-05 10:34:24 +01:00
Stefan Sauer
d0a5cb8c01 riff-media: port GST_BUFFER_DATA to 0.11 in conditional code branch 2011-12-14 11:31:31 +01:00
Tim-Philipp Müller
32b14c6ed3 Merge remote-tracking branch 'origin/master' into 0.11
Conflicts:
	ext/vorbis/gstvorbisenc.c
	gst/playback/gstdecodebin2.c
	gst/playback/gstplaysinkconvertbin.c
	gst/videorate/gstvideorate.c
2011-11-26 12:12:59 +00:00
Edward Hervey
d94535832b gst-libs: Add --warn-all to introspection scanner
And let's get fixing those docs :)
2011-11-25 10:31:38 +01:00
Vincent Penquerc'h
44ec58b41b libgstriff: add a couple tags that need skipping
Found in a sample in the wild, appears to be ID3 tag.

https://bugzilla.gnome.org/show_bug.cgi?id=660249
2011-11-24 17:04:19 +00:00
Tim-Philipp Müller
5ee51e47a1 ext, gst, gst-libs, tests: update for tag list API changes 2011-10-31 14:22:39 +00:00
Wim Taymans
06311362e9 fix compilation 2011-10-27 17:26:58 +02:00
Wim Taymans
f1088ed647 update for UNEXPECTED -> EOS flowreturn 2011-10-10 11:39:52 +02:00
Wim Taymans
33196cdd2c audio: change audio format syntax a little
Remove the _ in front of the endianness prefix.
Remove the _3 postfix for the 24 bits formats.
Add a _32 postfix after the formats that occupy extra space beyond their
natural size.
The result is that the GST_AUDIO_NE() macro can simply append the endianness
after all formats and that we only specify a different sample width when it is
different from the natural size of the sample. This makes things more consistent
and follows the pulseaudio conventions instead of the alsa ones.
2011-09-06 12:06:39 +02:00
Wim Taymans
6854f2bbf1 multichannel: add some more channels 2011-08-24 18:39:47 +02:00
Wim Taymans
c81c62d03a fourcc: remove fourcc
Remove fourcc in caps.
Fix pbutils descriptions.
Add more video macros
Fix some unit test
2011-08-22 12:22:02 +02:00
Wim Taymans
0213407fbc audio: rename INT -> INTEGER
Spell INTEGER fully instead of using the int abreviation.
Remove some old functions.
2011-08-20 10:49:17 +02:00
Wim Taymans
5e90085ca2 riff: port to new audio caps 2011-08-19 16:01:08 +02:00
Josep Torra
5629ed74b3 Fix debug statements
Fixes build on MacOSX

Signed-off-by: Edward Hervey <edward.hervey@collabora.co.uk>
2011-08-10 11:15:41 +02:00
Tim-Philipp Müller
4bf26ba5d2 Add -DGST_USE_UNSTABLE_API to the compiler flags to avoid warnings 2011-07-05 10:07:08 +01:00
Sebastian Dröge
bf08ca7020 Merge branch 'master' into 0.11 2011-05-26 13:54:09 +02:00
Stefan Kost
a11f6d4a73 riff: remove the g_return_if_fail as we test it below
We don't want to return without setting taglist=NULL if asserts are on and with
setting taglist=NULL otherwise.
2011-05-25 15:06:19 +03:00
Sebastian Dröge
c8792778f8 Merge branch 'master' into 0.11 2011-04-16 16:06:26 +02:00
Tim-Philipp Müller
1d05e81435 libs: gobject-introspection scanner doesn't need to scan or update plugin info
Make sure the scanner doesn't load or introspect or check any plugins,
(especially not outside the build directory).
2011-04-16 11:01:53 +01:00
Wim Taymans
6e160bed3d Merge branch 'master' into 0.11
Conflicts:
	android/alsa.mk
	android/app.mk
	android/app_plugin.mk
	android/audio.mk
	android/audioconvert.mk
	android/decodebin.mk
	android/decodebin2.mk
	android/gdp.mk
	android/interfaces.mk
	android/netbuffer.mk
	android/pbutils.mk
	android/playbin.mk
	android/queue2.mk
	android/riff.mk
	android/rtp.mk
	android/rtsp.mk
	android/sdp.mk
	android/tag.mk
	android/tcp.mk
	android/typefindfunctions.mk
	android/video.mk
2011-04-11 11:37:51 +02:00
Alessandro Decina
030f639a8e android: make it ready for androgenizer
Remove the android/ top dir
Fixe the Makefile.am to be androgenized

To build gstreamer for android we are now using androgenizer which generates the
needed Android.mk files.
Androgenizer can be found here:
http://git.collabora.co.uk/?p=user/derek/androgenizer.git
2011-04-11 07:23:21 +02:00
Tim-Philipp Müller
45b6bda76c libs: make sure gobject-introspection scanner calls gst_init()
Cherry-picked from 0.11, since it's the right thing to do (we
now silently rely on various _get_type() working without
gst_init() having been called).
2011-03-30 21:08:29 +01:00
Tim-Philipp Müller
a818fe7381 libs: replace 0.10 with @GST_MAJORMINOR@ in Makefile.am
For easier cherry-picking/merging later.
2011-03-30 20:57:32 +01:00
Wim Taymans
248ab2d064 Fix for latest API changes 2011-03-30 16:50:45 +02:00
Wim Taymans
3d25a4b470 libs: port to new data API 2011-03-27 13:55:15 +02:00
Tim-Philipp Müller
842911d241 libs: make sure gobject-introspection scanner calls gst_init()
Fixes introspection failures caused by type assertions/warnings.
Since we now moved from _get_type() functions to external GType
variables in a couple of places, we actually have to call gst_init()
to make sure these are set when we use GST_TYPE_FOO.
2011-03-09 12:17:14 +00:00
Wim Taymans
c6dd11981d Merge branch 'master' into 0.11
Conflicts:
	configure.ac
	gst-libs/gst/pbutils/Makefile.am
2011-02-28 11:47:44 +01:00
Edward Hervey
7faf92511a riff: Add support for video/x-camstudio 2011-01-24 18:27:30 +01:00
Tim-Philipp Müller
0ed757db33 gobject-introspection: use same PKG_CONFIG_PATH for g-ir-compiler as for g-ir-scanner
Make sure to use the PKG_CONFIG_PATH set at configure time instead of
just relying on an env-var set one. This makes sure both g-ir-compiler
and g-ir-scanner use the same PKG_CONFIG_PATH for determining include
paths etc.
2011-01-08 02:10:03 +00:00
Wim Taymans
eee6bc7dc9 more 0.10 -> 0.11 changes 2010-12-06 17:09:10 +01:00
Mark Nauwelaerts
7c4fcf776f riff: document omitted field in _gst_riff_strf_auds
(aka WAVEFORMATEX)
2010-12-03 13:53:51 +01:00
Evan Nemerson
8fb2c27ed0 introspection: Add information on exported packages to GIRs
https://bugzilla.gnome.org/show_bug.cgi?id=635392
2010-11-21 00:44:37 +00:00
Arun Raghavan
33e6fe44b2 build: Fix include path order for gir generation
This makes sure that the built girs are picked up over installed girs
where this is currently the case.
2010-10-04 09:59:35 +01:00
Thijs Vermeir
3a04b08437 riff: add support for 2vuy
It is the apple alternative for Microsofts UYVY.
(http://ntta.szm.com/Tutors/FourCC.htm)
Only use the UYVY for the caps to enable support in other
gstreamer elements.

https://bugzilla.gnome.org/show_bug.cgi?id=627924
2010-08-25 19:12:21 +02:00
Tim-Philipp Müller
e776699036 build: use new AG_GST_PKG_CONFIG_PATH m4 macro from common
Sets up a GST_PKG_CONFIG_PATH variable for use in Makefile.am
(avoids trailing ':' in PKG_CONFIG_PATH used).
2010-08-14 19:12:37 +01:00
Tim-Philipp Müller
b61b83376a introspection: set PKG_CONFIG_PATH so that our in-tree libs come first when calling scanner
When calling gobject-introspection scanner, make sure our own
freshly-built libs within the source tree (well, build dir) come
first in the PKG_CONFIG_PATH. May or may not help to make sure
that it doesn't pick up older external plugins-base libs (or
.gir files) from outside the source tree / build directory as
dependencies of the introspected lib instead of using the
stuff we just built in a sibling directory.

https://bugzilla.gnome.org/show_bug.cgi?id=623698
2010-08-14 19:11:48 +01:00
Tim-Philipp Müller
524c977c18 riff: add FLV4 fourcc and map it to video/x-vp6-flash
Fixes #623176.
2010-06-30 21:20:37 +01:00
Edward Hervey
1d21ce0da2 riff: Add support for VP6F (On2 VP6 Flash variant) 2010-06-09 22:35:52 +02:00
Sebastian Dröge
0a4eaa7f60 riff: Add support for On2 VP8 2010-05-19 19:23:07 +02:00
Wim Taymans
9696af170f riff: relax width and height constraints
Increase the acceptable video sizes from [16,4096] to [1, MAX].

See #618392
2010-05-13 12:06:41 +02:00
Vincent Untz
764c899215 libs: point gobject-introspection scanner to .la files
Point g-ir-scanner to the .la file of our library, which hopefully
makes it find the right dependencies in all cases (ie. our locally
built libgstreamer and not the system-installed one). This is also
how it's done in Gtk+ and how it's documented in the wiki, see
http://live.gnome.org/GObjectIntrospection/AutotoolsIntegration

Fixes #603710.
2010-04-03 14:03:45 +01:00
Tim-Philipp Müller
b37c993e4e gst-libs: more gobject-introspection fixes
Use right .pc file variable for compiler includes this time:
g-ir-compiler wants the girdirs not the typelibdirs as includes.
2010-03-30 23:46:10 +01:00
Tim-Philipp Müller
64cfa6bf73 gst-libs: fix up gobject-introspection some more
Use new girdir and typlibdir from core .pc files, so we can figure
out the right includes to pass to the gobject-introspection tools,
whether core is installed in the same prefix as gobject-introspection
or in a different prefix or uninstalled. This also keeps us from adding
bogus paths to the includes that only work if core is uninstalled.

Also add some missing includes/pkgs where needed.
2010-03-30 19:56:56 +01:00
Mark Nauwelaerts
9b227f17c8 riff: add some more fourcc for MPEG-4 video 2010-03-23 11:02:07 +01:00
Rob Clark
5075d57b9d riff: add mapping for On2 VP7 fourccs
Fixes #612968.
2010-03-16 00:49:35 +00:00
Rob Clark
a73bbb63ac riff: add mapping for On2 VP62 fourcc
See #612968.
2010-03-16 00:47:21 +00:00
Benjamin Otte
43b1683421 Add -Wmissing-declarations -Wmissing-prototypes to warning flags
Includes all the fixes necessary to make stuff compile again.
2010-03-11 13:50:31 +01:00
Sebastian Dröge
d5a4ca9962 build: Make some more rules silent if requested 2010-03-09 21:01:38 +00:00
Tim-Philipp Müller
5a2ae53bae riff: treat JUNQ chunks like JUNK chunks 2010-02-12 14:24:22 +00:00
Stefan Kost
9334069fd2 riff: add a variant of the JUNK tag that several adobe products produce
JUNQ has same semantics as JUNK.
2010-02-12 14:21:11 +02:00
Edward Hervey
dde84e4c4b riff: Add mapping for Zip Block Motion Video 2010-01-23 15:34:54 +01:00
Edward Hervey
52ec4f4394 riff: YUNV is a fourcc which is also used for YUY2 raw video 2010-01-23 15:26:37 +01:00
Edward Hervey
de736fb1d1 riff: vp61 and VP61 are also valid On2 VP6 fourcc 2010-01-23 15:13:45 +01:00
Edward Hervey
5dff488a26 riff: Add mapping for On2 VP5 2010-01-23 15:10:45 +01:00
Edward Hervey
b5367b89ed riff: Add mapping for Sigma-Designs MPEG4
It's actually a xvid-compatible stream. both xviddec and ffmpeg handle it.
2010-01-23 15:04:35 +01:00
Edward Hervey
554b4a6c25 riff: Add mapping for LOCO Lossless codec 2010-01-23 14:35:16 +01:00
Edward Hervey
444e7a68aa riff: Add support for YV12 / Uncompressed packed YVU 4:2:2 2010-01-23 14:08:39 +01:00
Edward Hervey
2795591247 riff: Add mapping for Autodesk Animator Codec 2010-01-23 13:50:09 +01:00
Mark Yen
140283c12b riff-media: handle 32 bit raw RGB video. 2010-01-06 18:31:22 -08:00
Sebastian Dröge
df9b8b57b3 introspection: Build pkgconfig before all libraries and set PKG_CONFIG_PATH
This way g-ir-scanner can find the gstreamer-*-0.10 pkg-config files.
2009-09-13 11:19:50 +02:00
Sebastian Dröge
7e90e0846c introspection: Strip Gst prefix from all types/functions 2009-09-05 12:31:47 +02:00
Sebastian Dröge
7794caf9f8 introspection: Fix build if gir-repository is not installed 2009-09-05 11:49:41 +02:00
Sebastian Dröge
6ebc9414b6 riff: Add gobject-introspection support 2009-09-05 11:23:13 +02:00
Sebastian Dröge
72f3587f04 riff: Add support for AVF files
AVF is valid RIFF but has AVF0 has first fourcc instead of RIFF.

Fixes bug #593117.
2009-08-26 09:10:19 +02:00
Mark Nauwelaerts
87e6775844 riff: align API doc of gst_riff_parse_chunk with reality 2009-08-12 13:39:14 +02:00
Edward Hervey
9329b8be72 gst-libs: Remove dead assignments and resulting unused variables. 2009-08-08 15:54:57 +02:00
Elliott Sales de Andrade
132fb5c050 riff: add siren to the RIFF parser
Add siren7 caps to the RIFF parser.
2009-07-13 18:22:55 +02:00
Jan Schmidt
a9097080a3 riff-media: Fix the fourcc caps property for VC-1/WMVA
The caps property for carrying fourccs is 'format', not 'fourcc'
2009-06-29 14:01:33 +01:00
René Stadler
41b7504e9c riff: prevent crash if rounded up tag size exceeds data size
When rounding up `tsize' exceeds the remaining buffer size, `size' underflows
and an invalid read past the buffer data follows.
2009-06-27 01:22:52 +03:00
Michael Smith
8f6399f109 riff: support UYVY raw 4:2:2 in riff. 2009-05-11 14:04:16 -07:00
Edward Hervey
a3c88fb32b Riff: Add mapping for Fraps video codec.
Found through insanity testrun. Confirmed mapping in libavformat.
2009-03-09 10:03:13 +01:00
Edward Hervey
b870b61c00 riff: Add the 'DVR ' mapping for mpeg2video.
Found this in 3 files from the insanity suite and mapping is also present
in libavformat.
2009-03-09 09:08:00 +01:00
Wim Taymans
d998f6097b riff: add theora mapping
Add theora mappings. See #574169.
2009-03-06 18:54:57 +01:00
Edward Hervey
6f73427aa6 riff: Add more codec mappings.
This comes mostly from a review of ffmpeg/libavformat/riff.c
2009-02-28 12:41:28 +01:00
Tim-Philipp Müller
3d88a5b985 riff: add fourcc for mpeg2-in-avi (as produced by mencoder)
Fixes: #565777
2009-02-25 11:13:01 +00:00
Edward Hervey
e57073b6f9 Riff: Add fourcc for mpeg1-in-avi (as produced by mencoder) 2009-02-25 08:05:58 +01:00
Edward Hervey
02f9079d6b Add some more mappings for h264 in riff 2009-02-19 13:24:39 +01:00
Tim-Philipp Müller
1fedfec220 riff: error out on nonsensical chunk sizes instead of aborting
When encountering a nonsensical chunk size such as (guint)-1, error out cleanly instead of
continuing and trying to g_memdup() 4GB of data that doesn't exist, which will either abort
in g_malloc() or crash.

Fixes #553295, crash with fuzzed AVI file.
2009-02-11 16:58:18 +00:00
Wim Taymans
a7f2540f77 Add more codec ids for RIFF formats
Handle codec ID for various other AAC formats.
Sync the list of possible codec ids with that of ffmpeg.
Fixes #567255
2009-01-23 11:33:29 +01:00