Nirbheek Chauhan
248342f942
meson: Fix oss4 header checks
...
Otherwise, oss4 ends up getting built when force-disabled.
2018-08-01 03:18:58 +05:30
Nirbheek Chauhan
8f807477eb
meson: Add feature options for all plugins
...
Checks for GL, Qt5, and C++ are still automagic. FIXMEs have been
added for these so they can be fixed later.
https://bugzilla.gnome.org/show_bug.cgi?id=795107
2018-07-27 18:42:54 +05:30
Tim-Philipp Müller
2271fee77e
meson: build oss4 plugin
...
https://bugzilla.gnome.org/show_bug.cgi?id=784134
2017-06-23 19:36:03 +01:00
Nicolas Dufresne
b68d936ae0
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:41:19 -04:00
Nicolas Dufresne
ca0ed8a134
Fix plugin filenames to match plugin names
...
- libgstpulse.so becomes libgstpulseaudio.so
- libgstsouphttpsrc.so becomes libgstsoup.so
- libgstoss4audio.so becomes libgstoss4.so
https://bugzilla.gnome.org/show_bug.cgi?id=779344
2017-03-08 20:04:20 -05:00
Vincent Penquerc'h
81d2e9333d
oss4: remove dead mixer code
...
This was partly removed in the port to 0.11. If still needed,
it's still there in the history.
Coverity 1139687
2014-05-02 09:41:19 +01:00
Vincent Penquerc'h
1062992b4a
oss4: fix a missing unlock and a return-only-when-assertions-enabled
...
Spotted on the side while looking at another issue.
2014-05-02 09:33:51 +01:00
Edward Hervey
da39a0bae7
oss4: Maximum number of channels support is 8
...
Avoids doing potential overwrites in ch_layout (which only has 8
fields).
CID #1139826
2014-04-13 09:03:41 +02:00
Sebastian Dröge
4c01974ec1
oss4: Fix typo in header include guard
...
error: 'GST_OSS4_AUDIO_H' is used as a header guard here,
followed by #define of a different macro [-Werror,-Wheader-guard]
2014-02-08 17:25:27 +01:00
Tim-Philipp Müller
d506409af5
docs: get rid of 'Since: 0.10.x' markers
...
And some gtk-doc markup fixes.
2013-11-18 14:47:35 +00:00
Sebastian Dröge
b0b0557c48
gst: Add better support for static plugins
2013-04-15 15:54:11 +02:00
Tim-Philipp Müller
644c939fcb
oss4sink: notify "volume" property on open to make apps query initial volume
...
The initial volume might not be the property default, so
emit a notify on the volume property to make apps get
an up-to-date reading of the current volume.
https://bugzilla.gnome.org/show_bug.cgi?id=631053
2012-12-25 16:52:19 +00:00
Sebastian Dröge
0726b71ceb
ext/sys: Fix some compilation errors caused by circular includes
2012-12-12 17:35:04 +00:00
Tim-Philipp Müller
230cf41cc9
Fix FSF address
...
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-04 00:07:18 +00:00
Wim Taymans
497ff16355
update for audio base src api change
2012-09-10 11:32:25 +02:00
Tim-Philipp Müller
4bb52bbadf
docs: gst-launch -> gst-launch-1.0 and ffmpegcolorspace -> videoconvert
2012-08-27 21:20:30 +01:00
Tim-Philipp Müller
787c314ec3
Silence some 'variable may be used uninitialized' compiler warnings
...
When compiling with -DG_DISABLE_ASSERT
2012-08-08 11:31:59 +01:00
Wim Taymans
f65495d405
update for audio api change
2012-06-08 10:11:12 +02:00
Mark Nauwelaerts
a5ff454e6a
oss4: port to 0.11
2012-04-20 18:18:54 +02:00
Tim-Philipp Müller
e09ae5736d
Use new gst_element_class_set_static_metadata()
2012-04-10 00:51:41 +01:00
Sebastian Dröge
aa2cd462da
gst: Update for GST_PLUGIN_DEFINE() API changes
2012-04-05 17:36:38 +02:00
Sebastian Dröge
5cdd49bf25
gst: Update versioning
2012-04-04 14:37:47 +02:00
Wim Taymans
80dca40c35
fix for _do_simplify changes
2012-03-12 10:43:57 +01:00
Mark Nauwelaerts
f189f62b13
Merge branch 'master' into 0.11
...
Conflicts:
ext/wavpack/gstwavpackenc.c
tests/check/elements/audioiirfilter.c
tests/examples/v4l2/probe.c
2012-03-01 11:29:50 +01:00
Edward Hervey
9beda57c3a
Suppress deprecation warnings in selected files, for g_value_array_* mostly
2012-02-27 14:47:25 +01:00
Sebastian Dröge
10554b271f
Merge branch 'master' into 0.11
...
Conflicts:
ext/flac/gstflacdec.c
ext/jpeg/gstjpegenc.c
ext/pulse/pulsesink.c
sys/v4l2/gstv4l2src.c
2012-01-25 12:49:11 +01:00
Tim-Philipp Müller
7cb9b7ab9d
Use new GLib API unconditionally
2012-01-22 23:15:19 +00:00
Vincent Penquerc'h
f799fb2c90
oss4: fix caps leaks
2012-01-13 17:43:49 +00:00
Sebastian Dröge
93e3ed5a86
Merge branch 'master' into 0.11
...
Conflicts:
ext/cairo/gsttextoverlay.c
ext/pulse/pulseaudiosink.c
gst/audioparsers/gstaacparse.c
gst/avi/gstavimux.c
gst/flv/gstflvmux.c
gst/interleave/interleave.c
gst/isomp4/gstqtmux.c
gst/matroska/matroska-demux.c
gst/matroska/matroska-mux.c
gst/matroska/matroska-mux.h
gst/matroska/matroska-read-common.c
gst/multifile/gstmultifilesink.c
gst/multipart/multipartmux.c
gst/shapewipe/gstshapewipe.c
gst/smpte/gstsmpte.c
gst/udp/gstmultiudpsink.c
gst/videobox/gstvideobox.c
gst/videocrop/gstaspectratiocrop.c
gst/videomixer/videomixer.c
gst/videomixer/videomixer2.c
gst/wavparse/gstwavparse.c
po/ja.po
po/lv.po
po/sr.po
tests/check/Makefile.am
tests/check/elements/qtmux.c
tests/check/elements/rgvolume.c
2012-01-10 14:32:32 +01:00
Tim-Philipp Müller
330d984288
Use g_thread_try_new() instead of g_thread_crate() with newer glib versions
2011-12-12 09:46:27 +00:00
Tim-Philipp Müller
66f6e12888
Work around deprecated thread API in glib master
...
Add private replacements for deprecated functions such as
g_mutex_new(), g_mutex_free(), g_cond_new() etc., mostly
to avoid the deprecation warnings. We'll change these
over to the new API once we depend on glib >= 2.32.
2011-12-12 09:46:27 +00:00
Vincent Penquerc'h
c0e101e93f
various: fix pad template leaks
...
https://bugzilla.gnome.org/show_bug.cgi?id=662664
2011-11-28 13:30:27 +00:00
Stefan Sauer
2468492f02
interfaces: clean up the use of iface and class/klass
2011-10-21 14:58:41 +02:00
Wim Taymans
7555d0949f
Merge branch 'master' into 0.11
...
Conflicts:
android/apetag.mk
android/avi.mk
android/flv.mk
android/icydemux.mk
android/id3demux.mk
android/qtdemux.mk
android/rtp.mk
android/rtpmanager.mk
android/rtsp.mk
android/soup.mk
android/udp.mk
android/wavenc.mk
android/wavparse.mk
configure.ac
2011-04-18 10:23:45 +02:00
Robert Swain
75886ba63d
oss4: Address unused but set variables
...
GCC 4.6.x complains about such variable usage. Unused but set variables
were removed except that gst_oss4_mixer_slider_set_mute () now returns
the value from the call to gst_oss4_mixer_set_control_val ().
2011-04-16 13:14:57 +01:00
Stefan Kost
77b656eec1
various (sys): add a missing G_PARAM_STATIC_STRINGS flags
2010-10-13 17:39:36 +03:00
Sebastian Dröge
a88acc848e
oss4: Use g_ascii_strcasecmp() instead of the deprecated g_strcasecmp()
2010-06-14 13:48:28 +02:00
Sebastian Dröge
2ffcb159d7
sys: Don't use GST_DEBUG_FUNCPTR for GObject vfuncs
2010-06-06 17:57:03 +02:00
Tim-Philipp Müller
972631ae6d
oss4: add some comments for translators to clarify meaning of "Low"
...
"Low" etc. are quality settings here (e.g. for the internal resampler).
Some day when we use GLib's i18n functions we might want to use
NC_() and g_dpgettext2() here instead of the comments.
Fixes #555967 .
2010-06-03 20:23:48 +01:00
Tim-Philipp Müller
d56126931f
oss4: minor cleanup
...
Remove fixed FIXME, change finalise to finalize for consistency.
2010-05-11 19:05:08 +01:00
Brian Cameron
02a226f746
oss4sink: implement GstStreamVolume interface and add mute and volume properties
...
OSS4 supports per-stream volume control, so expose this using the right
API, so that playbin2 and applications like totem can make use of it
(instead of using a volume element for volume control).
Fixes #614305 .
2010-05-11 19:02:55 +01:00
Tim-Philipp Müller
719515126c
oss4: 8-bit PCM audio caps don't need an endianness field
2010-05-11 19:02:55 +01:00
Tim-Philipp Müller
4d658c188c
oss4: don't iterate the formats table twice for each entry
...
When iterating the formats table, we can just pass the whole
entry to our helper function, which avoids iterating the table
again to find the entry structure from the passed format id.
2010-05-11 19:02:55 +01:00
Tim-Philipp Müller
59120a0222
oss4: also accept formats not natively supported
...
Also accept formats that are not natively supported by the
hardware, OSS4 can convert them internally. List the native
formats first in the caps though, to express our preference
for the native formats. We need this in order to support the
case properly where the audio hardware supports only e.g.
little endian PCM, but the host is big endian, since many
audio elements only support native endianness and make the
reasonable assumption that any audiosink will be able to
handle audio in native endianness.
Based on patch by Jerry Tan <jerry.tan@sun.com>
Fixes #614317 .
2010-05-11 19:02:55 +01:00
Tim-Philipp Müller
3b1347260f
oss4: add comment for translators
...
Not that that will make these strings much better. Also remove i18n
marker where it doesn't make sense.
2010-05-11 19:02:54 +01:00
Benjamin Otte
ab5f546143
oss4: Refactor code to make it look more modern
...
A side effect is that it passes -Wformat-nonliteral and doesn't read
invalid memory in some cases, like when the mixer track contains
a % sign or there is a number but not a known mixer name.
2010-05-11 19:02:54 +01:00
Benjamin Otte
85124337dc
oss4: Avoid g_quark_to_string (g_quark_from_string ()) madness
...
We to the strdup inside gst_oss4_mixer_control_get_translated_name()
instead of in the only caller.
2010-05-11 19:02:54 +01:00
Benjamin Otte
6c916a144d
Add -Wmissing-declarations -Wmissing-prototypes to configure flags
...
And fix all warnings
2010-05-11 19:02:54 +01:00
Benjamin Otte
117485973a
Fix compiler warning about unused return value
2010-05-11 19:02:54 +01:00
Jan Schmidt
039604b11f
oss4: Attempt to fix a compiler warning
...
Don't store a const gchar * in a non-const gchar * local var.
Also, make the translation string function static since it's only
used in the one file.
2010-05-11 19:02:54 +01:00