Commit graph

2657 commits

Author SHA1 Message Date
Edward Hervey
d1203ca47c schrodec: We don't assume packetized input
Otherwise the parse vmethod nevers gets called
2012-05-28 16:10:17 +02:00
Edward Hervey
ee7afc71f8 schroedinger: Port to -base video classes
Conflicts:

	ext/schroedinger/Makefile.am
	ext/schroedinger/gstschrodec.c
	ext/schroedinger/gstschroenc.c

Back to 0.10 state, needs porting again.
2012-05-28 16:10:01 +02:00
Sebastian Dröge
1d3996325a vp8: Port to 0.11 again 2012-05-28 16:05:21 +02:00
Vincent Penquerc'h
34deb5b703 vp8enc: fix target bitrate config with libvpx 1.1.0
libvpx 1.1.0 disallows a bitrate of 0, which was used by
vp8enc as a default value.

Instead, we use the default libvpx bitrate, scaled to our
video size, if no bitrate was specified.

This fixes encoding VP8 video with libvpx 1.1.0.

https://bugzilla.gnome.org/show_bug.cgi?id=676245
2012-05-28 15:29:28 +02:00
Sebastian Dröge
f75a5ff893 vp8enc: Update for GstVideoCodecFrame API changes 2012-05-28 15:29:23 +02:00
Thiago Santos
1f34e79ffc vp8dec: Improve output_state handling
Avoid getting output_state for every buffer as that requires
getting the objectlock and doing reference counting. Store it locally
when it is created and use it.
2012-05-28 15:29:18 +02:00
Thiago Santos
44d22d3e82 vp8dec: Use outputstate when copying output buffer data
Using the input state was causing a crash because the strides/offsets
would be wrong. Fix it by using the output as we are dealing with
the decoded frame.
2012-05-28 15:29:13 +02:00
Edward Hervey
7fee866764 vp8: Port to -base video base classes
Conflicts:

	ext/vp8/Makefile.am
	ext/vp8/gstvp8dec.c
	ext/vp8/gstvp8enc.c

Back to 0.10 state for now, need to be ported again.
2012-05-28 15:28:53 +02:00
Vincent Penquerc'h
0c55e0d98b opusdec: do not assert on bad header, error out instead 2012-05-27 23:45:53 +01:00
Vincent Penquerc'h
6ea05840a4 opusparse: heed test vector framing to eat any padding
This fixes parsing on one particular test vector where payload
data is smaller than the actual audio payload.
2012-05-25 22:24:14 +01:00
Edward Hervey
150bdc7297 opusparse: Simplify check
Avoids a unset variable warning (for nframes) with gcc 4.7.0
2012-05-25 14:16:50 +02:00
Vincent Penquerc'h
e1488e5803 opus: reject major version number above what we grok 2012-05-24 22:59:09 +01:00
Vincent Penquerc'h
e8b25e819a opus: bump written version from 0 to 0x01
as per the spec update at https://wiki.xiph.org/OggOpus#ID_Header
2012-05-24 22:57:25 +01:00
Vincent Penquerc'h
69b19a7d47 opusdec: fix lost packet handling for FEC/PLC
The base audio decoder sends zero size packets, not NULL buffers,
to signal dropped packets.
2012-05-24 22:56:41 +01:00
Wim Taymans
bd49892d7e wayland: port to 0.11 2012-05-23 12:09:39 +02:00
Vincent Penquerc'h
332f715208 vp8enc: fix target bitrate config with libvpx 1.1.0
libvpx 1.1.0 disallows a bitrate of 0, which was used by
vp8enc as a default value.

Instead, we use the default libvpx bitrate, scaled to our
video size, if no bitrate was specified.

This fixes encoding VP8 video with libvpx 1.1.0.

https://bugzilla.gnome.org/show_bug.cgi?id=676245
2012-05-22 10:25:03 +01:00
Wim Taymans
f710f1250b curl: fix compilation
Don't use deprecated thread API
2012-05-14 09:15:55 +02:00
Sebastian Dröge
fc317b8dbb curl: Fix equality comparison with extraneous parantheses compiler warning
gstcurlhttpsink.c:411:27: error: equality comparison with extraneous parentheses
2012-05-13 15:24:52 +02:00
Sebastian Rasmussen
3f20bbdcf4 curl: new curlsmtpsink element
https://bugzilla.gnome.org/show_bug.cgi?id=653741
2012-05-12 11:59:01 +01:00
Patricia Muscalu
766dd8bb71 curl: new curlftpsink element
http://bugzilla.gnome.org/show_bug.cgi?id=653741
2012-05-12 11:53:25 +01:00
Patricia Muscalu
f139656bec curl: new curlfilesink element
https://bugzilla.gnome.org/show_bug.cgi?id=653741
2012-05-12 11:53:01 +01:00
Patricia Muscalu
ae39cbfa57 curl: refactor curlsink, rename to curlhttpsink
Split into base, tls and http classes.

https://bugzilla.gnome.org/show_bug.cgi?id=653741
2012-05-12 11:48:03 +01:00
Tim-Philipp Müller
b87f7345db Add WINSOCK2_LIBS, remove WIN32_LIBS, fix rtmp build on Windows some more
One way of passing -lws2_32 to plugins should be enough..
2012-05-05 18:20:33 +01:00
Arun Raghavan
c52882e15b android: Add support for the faac plugin 2012-04-25 16:01:28 +05:30
Sebastian Dröge
a04d8a0d42 rsvg: Stop using deprecated API when compiling with RSVG 2.35.0 or newer 2012-04-25 11:50:51 +02:00
Edward Hervey
c00bdd866b opus: Handle GstByteWriter return values 2012-04-25 10:30:53 +02:00
Sebastian Dröge
fe9db1dd2f sndio: Fix i18n initialization 2012-04-25 10:26:48 +02:00
Jacob Meuser
18b0bfc1f1 sndio: add sndio plugin for OpenBSD 2012-04-25 10:26:48 +02:00
Sebastian Dröge
635a7f1c5d mms: Use correct enum type 2012-04-24 14:57:11 +02:00
Руслан Ижбулатов
06b62e00ae Fix format (type is explicitly unsigned long)
Fixes #674244
2012-04-20 13:41:19 +02:00
Wim Taymans
5da5fef960 nas: Rework nassink a little
Based on patch from <ole.hellqvist at spray.se>
Create and destroy flow in prepare/unprepare
Remove some duplicate code from close and prepare that is now in unprepare.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=674130
2012-04-20 12:29:36 +02:00
Mark Nauwelaerts
06ac28eb81 voaacenc: plug caps leak 2012-04-10 17:29:12 +02:00
Mark Nauwelaerts
6cb77d0c7f opusdec: tweak caps negotiation
... so as to avoid leaking caps or manipulating NULL caps.
2012-04-10 17:29:11 +02:00
Mark Nauwelaerts
a38bf7788d mplex: avoid leaking pad template caps and superfluous copy 2012-04-10 17:22:04 +02:00
Mark Nauwelaerts
361d9d6f30 mplex: fix pad release and cleanup 2012-04-10 17:21:29 +02:00
Sebastian Dröge
cda192b3b7 gst: Update for GST_PLUGIN_DEFINE() API changes 2012-04-05 18:02:56 +02:00
Sebastian Dröge
1318a97e0a gst: Update versioning 2012-04-04 14:44:34 +02:00
Wim Taymans
c649050eb4 use transform_ip_on_passthrough 2012-04-02 11:13:25 +02:00
Wim Taymans
48ba9063b0 update for buffer api change 2012-03-30 18:15:36 +02:00
Mark Nauwelaerts
af14e951c1 opusenc: fixup merge 2012-03-30 17:09:34 +02:00
Sebastian Dröge
f473e02c09 celtenc: Fix compilation 2012-03-30 13:23:15 +02:00
Sebastian Dröge
0dee2b9cbb celtenc: Use new gst_audio_encoder_set_headers() API 2012-03-30 12:55:33 +02:00
Sebastian Dröge
e74c1d2414 ext: Update for GstAudioEncoder API changes 2012-03-30 12:22:48 +02:00
Sebastian Dröge
ad1b47c358 ext: Update for audio decoder API changes 2012-03-30 11:53:52 +02:00
Sebastian Dröge
860ccd414d Merge remote-tracking branch 'origin/0.10'
Conflicts:
	NEWS
	RELEASE
	common
	configure.ac
	docs/libs/gst-plugins-bad-libs-sections.txt
	docs/plugins/gst-plugins-bad-plugins.args
	docs/plugins/gst-plugins-bad-plugins.hierarchy
	docs/plugins/gst-plugins-bad-plugins.interfaces
	docs/plugins/inspect/plugin-adpcmdec.xml
	docs/plugins/inspect/plugin-adpcmenc.xml
	docs/plugins/inspect/plugin-assrender.xml
	docs/plugins/inspect/plugin-audiovisualizers.xml
	docs/plugins/inspect/plugin-autoconvert.xml
	docs/plugins/inspect/plugin-bayer.xml
	docs/plugins/inspect/plugin-bz2.xml
	docs/plugins/inspect/plugin-camerabin2.xml
	docs/plugins/inspect/plugin-celt.xml
	docs/plugins/inspect/plugin-dataurisrc.xml
	docs/plugins/inspect/plugin-debugutilsbad.xml
	docs/plugins/inspect/plugin-dtmf.xml
	docs/plugins/inspect/plugin-dtsdec.xml
	docs/plugins/inspect/plugin-dvbsuboverlay.xml
	docs/plugins/inspect/plugin-dvdspu.xml
	docs/plugins/inspect/plugin-faac.xml
	docs/plugins/inspect/plugin-faad.xml
	docs/plugins/inspect/plugin-gsm.xml
	docs/plugins/inspect/plugin-h264parse.xml
	docs/plugins/inspect/plugin-mms.xml
	docs/plugins/inspect/plugin-modplug.xml
	docs/plugins/inspect/plugin-mpeg2enc.xml
	docs/plugins/inspect/plugin-mpegdemux2.xml
	docs/plugins/inspect/plugin-mpegtsdemux.xml
	docs/plugins/inspect/plugin-mpegvideoparse.xml
	docs/plugins/inspect/plugin-mplex.xml
	docs/plugins/inspect/plugin-pcapparse.xml
	docs/plugins/inspect/plugin-rawparse.xml
	docs/plugins/inspect/plugin-rtpmux.xml
	docs/plugins/inspect/plugin-rtpvp8.xml
	docs/plugins/inspect/plugin-scaletempo.xml
	docs/plugins/inspect/plugin-schro.xml
	docs/plugins/inspect/plugin-sdp.xml
	docs/plugins/inspect/plugin-segmentclip.xml
	docs/plugins/inspect/plugin-shm.xml
	docs/plugins/inspect/plugin-videomaxrate.xml
	docs/plugins/inspect/plugin-videoparsersbad.xml
	docs/plugins/inspect/plugin-vp8.xml
	docs/plugins/inspect/plugin-y4mdec.xml
	ext/celt/gstceltdec.c
	ext/dts/gstdtsdec.c
	ext/modplug/gstmodplug.cc
	ext/opus/gstopusenc.c
	gst-libs/gst/video/gstbasevideocodec.c
	gst-libs/gst/video/gstbasevideocodec.h
	gst-libs/gst/video/gstbasevideodecoder.c
	gst-libs/gst/video/gstbasevideodecoder.h
	gst-libs/gst/video/gstbasevideoencoder.c
	gst-libs/gst/video/gstbasevideoencoder.h
	gst/adpcmdec/Makefile.am
	gst/audiovisualizers/gstbaseaudiovisualizer.c
	gst/h264parse/gsth264parse.c
	gst/mpegdemux/mpegtsparse.c
	gst/mpegtsdemux/mpegtsbase.c
	gst/mpegtsdemux/mpegtspacketizer.c
	gst/mpegtsdemux/mpegtsparse.c
	gst/mpegtsdemux/tsdemux.c
	gst/mpegtsdemux/tsdemux.h
	gst/mxf/mxfdemux.c
	gst/rawparse/gstaudioparse.c
	gst/videoparsers/gsth263parse.c
	gst/videoparsers/gsth264parse.c
	sys/d3dvideosink/d3dvideosink.c
	sys/decklink/gstdecklinksink.cpp
	sys/dvb/gstdvbsrc.c
	sys/shm/gstshmsrc.c
	sys/vdpau/h264/gstvdph264dec.c
	sys/vdpau/mpeg/gstvdpmpegdec.c
	tests/examples/opencv/gst_element_print_properties.c
	win32/common/config.h
2012-03-29 17:41:53 +02:00
Wim Taymans
a9ec4d62a8 update for buffer changes 2012-03-28 12:53:09 +02:00
Olivier Crête
3963204e34 opus: Rank rtp pay/depay
This way they can be auto-plugged.
2012-03-27 15:14:01 -04:00
Stefan Sauer
d84d98943a modplug: memory handling cleanup
Don't leak the CSoundFile. Use define for comment buffer size and ensure it is 0
terminated.
2012-03-23 20:21:52 +01:00
Stefan Sauer
4f1bcb55a4 flte: comment cleanup
Remove commented out code for a flitesynth that we don't have in git anyway. Add
a comment regarding the flite voices.
2012-03-23 20:21:52 +01:00
Stefan Sauer
bece1c97f2 modplug: work around memory trashing in libmodplug (0.8.7)
Allocate double sized buffers. Also add more debug logging.
2012-03-23 20:21:52 +01:00
Wim Taymans
5bf86a8728 Release 0.11.2 2012-03-22 15:52:37 +01:00
Wim Taymans
7c4dfc7d7c faad: add some channel map debug 2012-03-20 16:44:17 +01:00
Wim Taymans
5ed4e21221 faad: optimize channel remap, avoid potential memcpy
Combine the channel remap and copy in one operation. Calculate the channel remap
table only once, make a shortcut when we are not doing any remapping.
2012-03-20 16:34:33 +01:00
Mark Nauwelaerts
eea0b288cd gme: use new style audio caps
Also do not pretend to negotiate output caps when there
is not much in output to begin with.
2012-03-18 18:33:00 +01:00
Mark Nauwelaerts
0abb7fb3f4 bz2: port to 0.11 2012-03-18 18:32:41 +01:00
Tim-Philipp Müller
497ba9d2c5 zbar: fix build after base transform changes 2012-03-18 01:18:26 +00:00
Nicola Murino
362727b9f4 facedetect: fix structure leak
https://bugzilla.gnome.org/show_bug.cgi?id=672294
2012-03-18 00:52:25 +00:00
Nicola Murino
0fad58c123 opencv: fix memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=672295
2012-03-18 00:40:33 +00:00
Tim-Philipp Müller
692bf9ba63 opencv: fix configure check and build with opencv 2.1
AC_CHECK_HEADERS() calls action-if-not-found also if just one of
the headers checked for is missing, which is not what we wanted.
Also, check for highgui_c.h instead of highgui.hpp.

https://bugzilla.gnome.org/show_bug.cgi?id=672226
2012-03-17 14:53:50 +00:00
Wim Taymans
bc38bc27b7 don't pass random pointers to pull_range 2012-03-16 21:47:39 +01:00
Stefan Sauer
486ddd38cf facedetect: initialize some arbitrary variable that gcc-4.6 can track properly
The access to them is clearly guarded by the booleans though.
2012-03-16 17:07:46 +01:00
Stefan Sauer
99fb8e941a opencv: cosmetic code changes
Check for the availability of the detectors in the processing function to avoid
setting up the ROIs. Use the booleans for have_xxx more.
2012-03-16 13:14:48 +01:00
Stefan Sauer
d4509a2fda opencv: use opencv prefix from pkgconfig to lookup datafiles
Don't hardconde /usr to lookup datafiles (such as haar cascades).
2012-03-16 12:58:56 +01:00
Vincent Penquerc'h
9ebacafc6a rsndvdsrc: post a message with title number and durations
https://bugzilla.gnome.org/show_bug.cgi?id=672165
2012-03-16 11:27:17 +00:00
Stefan Sauer
2311a0ac0e facedetect: skip detection for unavailable detectors 2012-03-16 12:04:11 +01:00
Stefan Sauer
6fde848ada facedetect: move the detector to an own method to hide the ugly ifdefs
This improves the readability in the actual processing function.
2012-03-15 23:17:55 +01:00
Stefan Sauer
fbcee587f4 facedetect: always send facedetect message
The application might like to know, when we don't see the face anymore.
2012-03-15 23:08:40 +01:00
Stefan Sauer
3d7c8aad70 facedetect: don't skip faces
Skipping faces at this point makes us lie about the num-ber of faces and also
causes leaks.
2012-03-15 22:34:45 +01:00
Tim-Philipp Müller
e6c9b60851 rsvgoverlay: cosmetic change
Rename PROP_FILENAME to PROP_LOCATION to match the name of
the property. Add some debug logging.
2012-03-15 18:28:01 +00:00
Tim-Philipp Müller
e1e827d364 rsvgoverlay: fix crash due to double adapter unref 2012-03-15 17:26:14 +00:00
Wim Taymans
6cbb840385 update for memory api changes 2012-03-15 13:37:36 +01:00
Tim-Philipp Müller
61ca28696f opencv: make build with opencv 2.3.1 as in debian sid
Where highgui.h doesn't exist any more, but only opencv2/highgui/highgui.hpp.
Also, not quite sure why we're checking for cvaux.h, it's not used anywhere.
2012-03-15 00:05:41 +00:00
Mark Nauwelaerts
0a8a8aac52 mpeg2enc: also clear initialized mutex and cond 2012-03-14 17:48:40 +01:00
Mark Nauwelaerts
cb6b590b0c flite: adjust to some modified caps related API changes 2012-03-14 11:20:18 +01:00
Sreerenj Balachandran
689bf4d392 waylandsink: Fix warnings, proper structuring, dead code removal, adding doc section. 2012-03-13 14:44:00 +01:00
Wim Taymans
3fae1ff05d use gst_caps_merge instead of gst_caps_union 2012-03-13 09:54:14 +01:00
Wim Taymans
2d9756c703 opusdec: fix for caps api change 2012-03-12 17:06:11 +01:00
Wim Taymans
c3c985cfe1 fix for caps _normalize changes 2012-03-12 12:23:34 +01:00
Wim Taymans
4de592aa14 fix for _do_simplify changes 2012-03-12 10:44:22 +01:00
Wim Taymans
77299ba6ae fix for caps api changes 2012-03-11 19:06:59 +01:00
Mark Nauwelaerts
a7eda9ed49 dtsdec: avoid runaway loop when resyncing during parse
... by checking for the correct (decremented) size variable.

Fixes #671756.
2012-03-10 11:37:13 +01:00
Mark Nauwelaerts
8b39a2eb0c opus: port to updated 0.11 2012-03-07 17:18:48 +01:00
Mark Nauwelaerts
99a4e43c76 celt: port to 0.11 2012-03-07 17:18:48 +01:00
Mark Nauwelaerts
228d8808fe opusenc: only request and process 1 frame at a time
... since it is specified in _finish_frame that input buffer may be invalidated
after calling it, and is as such not reliably available for further encoding.

Also, requesting or allowing several frames is only useful if subclass intends
to process these "in 1 run" (as in, 1 output buffer), not for having another
(inner) loop in subclass where the baseclass one will do just fine.
2012-03-07 13:03:14 +01:00
Mark Nauwelaerts
db0aa7f056 opusenc: configure baseclass requested samples really in samples
... as opposed to bytes.
2012-03-07 13:03:14 +01:00
Edward Hervey
a1b7f84794 Add missing GLIB_DISABLE_DEPRECATION_WARNINGS
Suppress warnings about deprecated threading and GValueArray
API, so git compiles with -Werror.
2012-03-06 18:49:49 +01:00
Mark Nauwelaerts
bc7442faa3 celtdec: use base class tag handling helper
... so as to ensure these to be handled and sent at proper time.
2012-03-06 18:33:09 +01:00
Mark Nauwelaerts
8aa50a29de dtsdec: use base class tag handling helper
... so as to ensure these to be handled and sent at proper time.
2012-03-06 18:33:09 +01:00
Sebastian Dröge
837763fee8 vp8enc: Fix 'argument to 'sizeof' in 'memset' call is the same expression as the destination' compiler warning 2012-03-06 15:21:17 +01:00
Sebastian Dröge
5a6b7fba4d gsettings: Fix 'if statement has empty body' compiler warning 2012-03-06 14:57:45 +01:00
Sebastian Dröge
3482b7b219 dfbvideosink: Fix 'implicit conversion from enumeration type 'DirectResult' to different enumeration type 'DFBResult'' compiler warning
We're not checking the return value of that function anyway.
2012-03-06 14:56:20 +01:00
Sebastian Dröge
4b42d5c5c6 curl: Fix 'equality comparison with extraneous parentheses' compiler warning 2012-03-06 14:51:57 +01:00
Sebastian Dröge
83ffd07e44 cogcolorspace: Use correct enum type for return value 2012-03-06 14:51:26 +01:00
Wim Taymans
bc9ebb2ff2 use new style caps 2012-03-05 12:03:23 +01:00
Sreerenj Balachandran
e012ea80ff waylandsink: Fix in shell_surface_set_fullscreen 2012-03-04 20:21:37 +01:00
Sreerenj Balachandran
2747aefaf7 waylandsink: More fixes -- update to Wayland 0.85 protocol -- Added shell surface -- Added format query for shm format -- Create the window based on width and height of video extracted from upstream caps. 2012-03-04 20:21:37 +01:00
Sreerenj Balachandran
775643d60e Update with new APIs in wayland-client. 2012-03-04 20:21:37 +01:00
Sreerenj Balachandran
b5a7780122 More Fixes: * Adding buffer_alloc * perform buffer_damage before surface_attach * Fix typo, Remove Dead code etc. 2012-03-04 20:21:37 +01:00
Sreerenj Balachandran
d68c6bfa9f Initial Commit: Adding Wayland Video Sink 2012-03-04 20:21:37 +01:00
Stefan Sauer
b84271faa6 resindvd: send duration message on duration updates
When we know a new duration, report it. Add more logging.
2012-03-04 19:57:14 +01:00