Commit graph

508 commits

Author SHA1 Message Date
Sebastian Dröge
ec1e20ffe5 audio: Add helper object for audio discontinuity detection and sample alignment
This is the same code that is in decklinkaudiosrc, audioringbuffer,
audiomixer and various other places. Have it once instead of copying it
everywhere.

https://bugzilla.gnome.org/show_bug.cgi?id=787560
2017-09-28 14:06:05 +03:00
Mathieu Duponchelle
877d6faeea [API]: gst_audio_channel_mixer_new_with_matrix
+ Refactor previous constructor to call on that new constructor

+ Reimplement is_passthrough to strictly check whether the matrix
  is an identity matrix, comparing channel-masks was incorrect:
  the mixer may be remixing from a list of positions to the same
  list of positions, but ordered differently, and reciprocally,
  the mixer may be remixing from a list of positions to another
  list of positions identically ordered

+ Remove unused tmp field, must have been a refactoring leftover

https://bugzilla.gnome.org/show_bug.cgi?id=785471
2017-09-22 16:19:58 +02:00
Sebastian Dröge
24fe473a01 libs: Export boxed type copy/free functions for the remaining types 2017-06-20 10:06:17 +03:00
Wim Taymans
173396d524 Revert "update def files"
This reverts commit 2e6dba8114.
2017-06-01 17:02:24 +02:00
Wim Taymans
2e6dba8114 update def files 2017-06-01 16:40:40 +02:00
Sebastian Dröge
8b468c3c36 audio: Generate audiobasesink/src and audiocdsrc GLib enums automatically
And ensure that GstAudioBaseSrcSlaveMethod's re-timestamp stays
re-timestamp and doesn't become retimestamp.
2017-04-09 11:49:50 +03:00
Georg Lippitsch
b3df5786a9 videotimecode: Init from GDateTime
Add a function to init the time code from a GDateTime

https://bugzilla.gnome.org/show_bug.cgi?id=778702
2017-02-23 19:50:39 +02:00
Tim-Philipp Müller
267b7a8cf1 win32: dist all .def files 2017-02-14 19:43:47 +00:00
Edward Hervey
7dbc1ba81b win32: update def file 2017-01-11 08:22:52 +01:00
Tim-Philipp Müller
eaf235082d win32: update .def file for new video API 2017-01-09 19:45:25 +00:00
Thibault Saunier
bf42420436 Update win32 def files 2017-01-06 12:56:00 -03:00
Evan Nemerson
98064ed9bf audioringbuffer: add set_callback_full() for g-i
https://bugzilla.gnome.org/show_bug.cgi?id=678301
2016-12-22 15:34:58 +00:00
Tim-Philipp Müller
e0742b8759 rtsp: add boxed types for new authentication credential API
To make the structs usable in bindings, and fix

gstrtspmessage.c:1188: Warning: GstRtsp:
gst_rtsp_message_parse_auth_credentials: return value: Invalid
non-constant return of bare structure or union; register as
boxed type or (skip)

https://bugzilla.gnome.org/show_bug.cgi?id=774416
2016-12-13 22:45:02 +00:00
Tim-Philipp Müller
88469fdb76 win32: update .def file for new audioconverter API
Fixes distcheck.
2016-11-28 20:25:54 +00:00
Sebastian Dröge
90b24d34b3 rtsp: Add gst_rtsp_message_parse_auth_credentials() to parse authentication credentials
https://bugzilla.gnome.org/show_bug.cgi?id=774416
2016-11-21 09:39:21 +02:00
Sebastian Dröge
828c8604dd rtsp: Add gst_rtsp_generate_digest_auth_response() to calculate digest auth response
https://bugzilla.gnome.org/show_bug.cgi?id=774416
2016-11-21 09:39:21 +02:00
Tim-Philipp Müller
5b4010c7b5 win32: remove copies of generated headers 2016-11-20 15:43:42 +00:00
Patricia Muscalu
f1562053fe appsink: add support for buffer lists
https://bugzilla.gnome.org/show_bug.cgi?id=752363
2016-11-16 02:06:40 +11:00
Sebastian Dröge
64eed87d7e win32: Update exports for new API 2016-11-04 18:55:44 +02:00
Tim-Philipp Müller
a0e2f24f18 win32: add new API to .def file
Fixes make check and make distcheck
2016-11-03 21:34:45 +00:00
Sebastian Dröge
79809633de video-info: Add optional field-order caps field for interlaced-mode=interleaved
Usually this information is static for the whole stream, and various
container formats store this information inside the headers for the
whole stream.

Having it inside the caps for these cases simplifies code and makes it
possible to express these requirements more explicitly with the caps.

https://bugzilla.gnome.org/show_bug.cgi?id=771376
2016-11-01 20:40:07 +02:00
Sebastian Dröge
9c3043470e Release 1.10.0 2016-11-01 17:53:24 +02:00
Sebastian Dröge
45a04f9d8b Release 1.9.90 2016-09-30 13:01:53 +03:00
Sebastian Dröge
5eee006667 win32: Update exports 2016-09-01 17:56:40 +03:00
Sebastian Dröge
47b7c8dc75 Release 1.9.2 2016-09-01 12:26:20 +03:00
Sebastian Dröge
c95f2e5b23 win32: Update libgstvideo.def 2016-08-25 11:56:11 +03:00
Sebastian Dröge
7f7d667e0f videotimecode: Add to docs and exports list 2016-08-04 19:06:45 +03:00
Joan Pau Beltran
c6722c06a0 appsink: add _pull_sample/preroll() variants with timeout
The _pull_sample() and _pull_preroll() functions block
until a sample is available, EOS happens or the pipeline
is shut down (returning NULL in the last two cases).

This adds _try_pull_sample() and _try_pull_preroll()
functions with a timeout argument to specify the maximum
amount of time to wait for a new sample.

To avoid code duplication, wait forever if the timeout is
GST_CLOCK_TIME_NONE and use that to implement
_pull_sample/_pull_preroll with the original behavior.

Add also corresponding action signals "try-pull-sample"
and "try-pull-preroll".

https://bugzilla.gnome.org/show_bug.cgi?id=768852
2016-07-18 16:55:16 +01:00
Sebastian Dröge
08f993d090 Release 1.9.1 2016-07-06 13:06:06 +03:00
Sebastian Dröge
dc8120f298 appsrc: Add duration property for providing a duration in TIME format
https://bugzilla.gnome.org/show_bug.cgi?id=766229
2016-05-10 16:50:32 +03:00
Tim-Philipp Müller
de60d195c0 win32: update .def for new API 2016-04-15 17:48:26 +01:00
Guillaume Desmottes
3cb08304da gst-audio: add gst_audio_channel_positions_to_string()
We currently don't log much about channel positions making debugging
harder as it should be. This is the first step in my attempt to improve
this.

https://bugzilla.gnome.org/show_bug.cgi?id=763985
2016-04-12 14:48:30 -04:00
Sebastian Dröge
4a9be62ec6 win32: Add new libgstaudio symbols 2016-04-05 14:26:55 +03:00
Sreerenj Balachandran
1f03a7e41e win32: Update exports for new video formats
Update win32 exports for P010_10BE and P010_10LE
video formats.
2016-03-29 11:28:09 +03:00
Wim Taymans
58dcd0587d audio-resampler: add more functions
Use some macros to generate more functions
2016-03-28 13:25:51 +02:00
Wim Taymans
ed747492ef audio-resampler: add reset function
Add a function to reset the audio-resampler.
Use new function in audio-converter
Use the new functions in gstaudioresample and fixup drain functions.
2016-03-28 13:25:51 +02:00
Wim Taymans
d5d1ac6f56 defs: update 2016-03-28 13:25:50 +02:00
Jan Schmidt
5cc88fe610 win32: update win32 exports for new API 2016-03-25 01:13:54 +11:00
Jimmy Ohn
65f721b326 codec-utils: Add utilities for AAC and the AACHead header
Add utilities about the channels and sample rate for AAC.

https://bugzilla.gnome.org/show_bug.cgi?id=749110
2016-03-24 14:27:21 +02:00
Haakon Sporsheim
d8e9a711a0 rtcpbuffer: Add profile-specific extension API.
https://bugzilla.gnome.org/show_bug.cgi?id=761950
2016-03-24 14:22:54 +02:00
Sebastian Dröge
d67525d594 Release 1.8.0 2016-03-24 12:19:23 +02:00
Sebastian Dröge
a730be9cbd Release 1.7.91 2016-03-15 12:02:20 +02:00
Nirbheek Chauhan
747bf12959 win32: Add a module definitions file for gstfft 2016-03-10 09:51:56 +00:00
Sebastian Dröge
48f584e663 Release 1.7.90 2016-03-01 18:14:54 +02: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
97e108beba Release 1.7.2 2016-02-19 11:48:30 +02:00
Wim Taymans
03566e5002 audio-converter: add reset function 2016-01-26 17:19:34 +01:00
Sebastian Dröge
385ee7c5d8 win32: Update exports 2016-01-18 15:51:16 +02:00
Sebastian Dröge
2f7cd8608a audio: Update exported symbols list 2016-01-08 21:27:16 +02:00
Wim Taymans
40f4c5e352 audio: GstAudioChannelMix -> GstAudioChannelMixer
Rename the GstAudioChannelMix object to GstAudioChannelMixer because it
looks better and to avoid a conflict with a library in -bad.
2016-01-08 16:41:17 +01:00