Commit graph

2994 commits

Author SHA1 Message Date
Sebastian Dröge
cb034b2ecd eglglessink: Reorder vertex value order to make a bit more sense 2012-10-18 14:35:13 +02:00
Reynaldo H. Verdejo Pinochet
8018681187 eglglessink: Handle frame scaling to fill surface 2012-10-18 14:35:13 +02:00
Reynaldo H. Verdejo Pinochet
90d5b76dc5 eglglessink: Draft set_render_rectangle() from the xOverlay interface 2012-10-18 14:35:13 +02:00
Reynaldo H. Verdejo Pinochet
f8b69a7c7f eglglessink: Remove stale comment 2012-10-18 14:35:13 +02:00
Reynaldo H. Verdejo Pinochet
1c008e95b3 eglglessink: Move VBO setup to setcaps 2012-10-18 14:35:12 +02:00
Reynaldo H. Verdejo Pinochet
d56d126031 eglglessink: Don't do context ops at render
We don't need to repeatedly call
eglMakeCurrent() while using the
same context anyway.
2012-10-18 14:35:12 +02:00
Reynaldo H. Verdejo Pinochet
ca74f676fd eglglessink: Don't clear surface color at render 2012-10-18 14:35:12 +02:00
Sebastian Dröge
9e23d0fc87 eglglessink: Rename shader variables to make more sense 2012-10-18 14:35:12 +02:00
Sebastian Dröge
d42d5e1139 eglglessink: Add support for AYUV 2012-10-18 14:35:12 +02:00
Sebastian Dröge
c4643491c4 eglglessink: Reorder caps a bit to make more sense 2012-10-18 14:35:12 +02:00
Sebastian Dröge
6adf608c99 eglglessink: Set rank to PRIMARY 2012-10-18 14:35:12 +02:00
Sebastian Dröge
1c58d921ff eglglessink: Add support for RGBA 2012-10-18 14:35:12 +02:00
Sebastian Dröge
930b4c179e eglglessink: Correctly generated caps for the supported formats 2012-10-18 14:35:12 +02:00
Sebastian Dröge
f9a5fc255d eglglessink: Add ::get_caps() vfunc that returns the actually supported caps 2012-10-18 14:35:12 +02:00
Sebastian Dröge
86ebf86433 eglglessink: Also require a configuration with EGL_SURFACE_TYPE containing EGL_WINDOW_BIT 2012-10-18 14:35:12 +02:00
Sebastian Dröge
7e8cc569dd eglglessink: Fix compiler warnings 2012-10-18 14:35:12 +02:00
Reynaldo H. Verdejo Pinochet
19c3b4d892 eglglessink: Clear surface to black by default 2012-10-18 14:35:12 +02:00
Reynaldo H. Verdejo Pinochet
19739bfb74 eglglessink: Make sure we get a config we can use with GLES2 2012-10-18 14:35:12 +02:00
Reynaldo H. Verdejo Pinochet
24b926a6cc eglglessink: set_window_handle() has been tested to work now 2012-10-18 14:35:11 +02:00
Reynaldo H. Verdejo Pinochet
7ac284b1a1 eglglessink: Avoid autoscaling by default 2012-10-18 14:35:11 +02:00
Reynaldo H. Verdejo Pinochet
a81b036355 eglglessink: Avoid repeatedly setting 2D resizing params
Moved to initial texture setup so it hapens
just once while on the same context.
2012-10-18 14:35:11 +02:00
Reynaldo H. Verdejo Pinochet
a96fa541ee eglglessink: Avoid initializing EGL at _set_window_handle()
_start() should take care of that.
This change asumes _setcaps() will
happen always after _start() is
done.
2012-10-18 14:35:11 +02:00
Reynaldo H. Verdejo Pinochet
ead20f4f0b eglglessink: Don't ask for a window if we already have one 2012-10-18 14:35:11 +02:00
Reynaldo H. Verdejo Pinochet
22eb374b57 eglglessink: Fix EGL attribs var naming 2012-10-18 14:35:11 +02:00
Reynaldo H. Verdejo Pinochet
c2cf1fa639 eglglessink: Fix slow path rendering on Android
Specify missing and mandatory params for npot
Before calling glTexImage2D.

In particular, _WRAP_T and _WRAP_S need to be
set to GL_CLAMP_TO_EDGE to avoid all-black
rendering with npot sized frames.
2012-10-18 14:35:11 +02:00
Reynaldo H. Verdejo Pinochet
f33167f95b eglglessink: Add test on usable eglconfigs returned 2012-10-18 14:35:11 +02:00
Reynaldo H. Verdejo Pinochet
303a346fc2 eglglessink: Drop stale error_locked label 2012-10-18 14:35:11 +02:00
Reynaldo H. Verdejo Pinochet
5763c8d308 eglglessink: Cleanup stale code comments 2012-10-18 14:35:11 +02:00
Reynaldo H. Verdejo Pinochet
391137a20e eglglessink: GlViewPort() should use actual surface size 2012-10-18 14:35:11 +02:00
Reynaldo H. Verdejo Pinochet
f707961183 eglglessink: Avoid reiniting EGL after the first time 2012-10-18 14:35:11 +02:00
Reynaldo H. Verdejo Pinochet
75fe18200a eglglessink: Use correct template caps 2012-10-18 14:35:11 +02:00
Reynaldo H. Verdejo Pinochet
e439c01382 eglglessink: Fix missing texture setup bits 2012-10-18 14:35:11 +02:00
Reynaldo H. Verdejo Pinochet
68eac71910 eglglessink: Add error checking on eglSwapBuffers 2012-10-18 14:35:10 +02:00
Reynaldo H. Verdejo Pinochet
f8dcc8aaa5 eglglessink: Fix stale&wrong 0.5 alpha blend 2012-10-18 14:35:10 +02:00
Reynaldo H. Verdejo Pinochet
12d66a7d54 eglglessink: Add float precision specifier to fragment shader
This is required by GLES and fixes compilation of fragment
shader prog.
2012-10-18 14:35:10 +02:00
Reynaldo H. Verdejo Pinochet
28aadcad4e eglglessink: Add log reporting at shader compilation failure 2012-10-18 14:35:10 +02:00
Reynaldo H. Verdejo Pinochet
b4887425cc eglglessink: Add some missing checks on shader ops
- Check whether there is shader compiler support
  and bail out otherwise.
- Add checks on compile and linking ops
2012-10-18 14:35:10 +02:00
Reynaldo H. Verdejo Pinochet
2a84a72fe7 eglglessink: Fix setup chain logic
Mostly a procedural reordering. Idea is to avoid
trying to setup a surface without a display.This
change relies on the asumption that:

1.- set_window_handle() can happen at any time
2.- setcaps will never get called before _start()
    is done.

If both conditions are meet the new procedure
should work as expected.
2012-10-18 14:35:10 +02:00
Reynaldo H. Verdejo Pinochet
40d6cc2099 eglglessink: WIP: Reorder locking 2012-10-18 14:35:10 +02:00
Reynaldo H. Verdejo Pinochet
289f388085 eglglessink: Fix xOverlay logic
Several fixes dealing with correct window
creation and set_handle() ops. Tested on
X11/mesa with internal window creation.
2012-10-18 14:35:10 +02:00
Reynaldo H. Verdejo Pinochet
9e18b29be2 eglglessink: Actually test EGL configs before claiming support 2012-10-18 14:35:10 +02:00
Reynaldo H. Verdejo Pinochet
59b1870ac1 eglglessink: Caps nego EGL fixes
- Fix alloc lol on format list: Asked for 2 slices and used 3.
- Reordered display & context init logic to prepare for actual
  config checking before claiming support for a given format.
  Change deals basically with setting up EGL display at start()
  and choose an EGL config only at setcaps time.
2012-10-18 14:35:10 +02:00
Reynaldo H. Verdejo Pinochet
a8f60690aa eglglessink: Caps nego. Start extending RGB support to a set. 2012-10-18 14:35:10 +02:00
Sebastian Dröge
bd28c42fae eglglessink: Fix build of static plugin 2012-10-18 14:35:10 +02:00
Reynaldo H. Verdejo Pinochet
a83dae1b54 eglglessink: Drop wrong format test on _setcaps (draft leftover) 2012-10-18 14:35:10 +02:00
Reynaldo H. Verdejo Pinochet
75d4bf420a eglglessink: Support RGB24 by default 2012-10-18 14:35:10 +02:00
Reynaldo H. Verdejo Pinochet
1d77bf6c0f eglglessink: Instrument EGL error reporting 2012-10-18 14:35:09 +02:00
Reynaldo H. Verdejo Pinochet
b8c83f98b7 eglglessink: Correctly return GstFlowReturn from render_and_display() 2012-10-18 14:35:09 +02:00
Reynaldo H. Verdejo Pinochet
cca08a02a1 eglglessink: Move VBO setup to it's own function 2012-10-18 14:35:09 +02:00
Reynaldo H. Verdejo Pinochet
3fce24549f eglglessink: Fix render_and_display logic
Switch procedure according to enabled rendering path
2012-10-18 14:35:09 +02:00
Reynaldo H. Verdejo Pinochet
ada5a83eb4 eglglessink: Fix sample launch line with disabled window creation 2012-10-18 14:35:09 +02:00
Reynaldo H. Verdejo Pinochet
086563195c eglglessink: Rename stale android leftover 2012-10-18 14:35:09 +02:00
Reynaldo H. Verdejo Pinochet
ea03067f3f eglglessink: Move eglgles Sink to ext/ #2 2012-10-18 14:35:09 +02:00
Reynaldo H. Verdejo Pinochet
85250eb9e2 eglglessink: Move eglgles Sink to ext/ 2012-10-18 14:35:09 +02:00
Tim-Philipp Müller
32ba17cd0f Use gst_element_class_set_static_metadata()
where possible. Avoids some string copies. Also re-indent
some stuff. Also some indent fixes here and there.
2012-10-17 17:46:34 +01:00
Sergey N. Gorshkov
6d0d209a28 rtmpsink: handle RTMP_Write() return value correctly
Error might also be negative (-1). Unclear if 0 should
be fatal as well though.

https://bugzilla.gnome.org/show_bug.cgi?id=681111
https://bugzilla.gnome.org/show_bug.cgi?id=686009
2012-10-12 23:29:53 +01:00
David Régade
65add5533a rtmpsink: fix memory leak from URI verification via RTMP_ParseURL()
In gst_rtmp_sink_uri_set_uri(), a test is performed in order
to be sure uri is correct for librtmp. This test calls
RTMP_ParseURL with 3 AVal pointers as parameters: host,
playpath and app.

AVal is a struct with a char* + int. After RTMP_ParseURL call,
host.av_val and app.av_val both refer a substring of "uri". But
playpath.av_val may be the result of a malloc so it needs to
be freed.

https://bugzilla.gnome.org/show_bug.cgi?id=681459
2012-10-12 23:09:06 +01:00
Mark Nauwelaerts
304cf8e1c5 dtsdec: fix buffer parsing
... to avoid feeding empty buffers to decoder.
2012-10-12 16:48:54 +02:00
Wim Taymans
380b23af90 replace some playbin2 -> playbin 2012-10-10 14:14:43 +02:00
Michael Smith
0c2159a220 meta info: register thread-safely. 2012-10-03 11:05:06 -07:00
Jan Schmidt
6e4a9e2e24 resindvd: Remove caps lock from parsetter element.
All the members it used to protect in 0.10 are protected by
the stream lock now.
2012-10-02 22:20:20 +10:00
Jan Schmidt
6122e07795 resindvd: Update overridden caps when the DAR changes
Send a new caps event downstream when we receive new orders
from the VM, if there are existing caps.
2012-10-01 23:43:47 +10:00
Jan Schmidt
3054545dad resindvd: Port parsetter element
Port the DVD element which overrides the MPEG encoded pixel-aspect-ratio
to match that requested by the DVD VM.
2012-10-01 23:28:07 +10:00
Christophe Fergeau
5e544c1556 chromaprint: Missing unmap buffer in transform_ip
When no samples have to be processed, transform_ip exits early, but
the buffer it uses was not properly unmapped.

https://bugzilla.gnome.org/show_bug.cgi?id=685159
2012-09-30 20:16:54 +01:00
Jan Schmidt
3c1a1dfec5 resindvd: Fiddle with segment handling for DVD.
Clarify some of the terms used, and make sure to extend the
stop time when the position moves past the end of the current
segment (as for still frames, for example).

Also, make sure to reset the position value of the segment the
demuxer outputs when collecting a seamless segment.
2012-09-30 04:08:50 +10:00
Tim-Philipp Müller
4712247e4f Remove some liboil references
https://bugzilla.gnome.org/show_bug.cgi?id=673285
2012-09-29 12:36:08 +01:00
Tim-Philipp Müller
346de28846 cog: remove some old elements so they don't get ported accidentally
They are replaced by videoconvert and gdkpixbufoverlay
2012-09-29 12:30:20 +01:00
Руслан Ижбулатов
2c2d6b0753 curl: fix compiler warning with setsockopt() on windows
The optval argument is of type const char * on windows.

https://bugzilla.gnome.org/show_bug.cgi?id=685065
2012-09-29 11:41:56 +01:00
Руслан Ижбулатов
75dba03688 curl: fix build on win32
https://bugzilla.gnome.org/show_bug.cgi?id=684847
2012-09-28 09:57:53 +01:00
Jan Schmidt
7b0e5f4598 soundtouch: Transform timestamps properly after a seek.
The segment is transformed to match the pitch conversion
being applied, so make sure the timestamps being output
match the configured downstream segment accordingly, and
adjust the downstream segment position to match the stream time
ratio also.
2012-09-26 14:57:54 +10:00
Jan Schmidt
34510b71ca resindvd: Don't send spurious 'close segment' events. Make a single segment
With the new 1.0 segment semantics, there's no need to close the
previous segment before sending out a new one, so don't do it.

Also, adjust the outgoing segment to just be one contiguous
timeline, with a base of 0. Fixes some repeating timestamps when
segments change.
2012-09-26 14:57:54 +10:00
Yaakov Selkowitz
33a012219d chromaprint: link against libgstbase
Calls to gst_base_transform_get_type and gst_base_transform_set_passthrough
require linking with libgstbase.

https://bugzilla.gnome.org/show_bug.cgi?id=684740
2012-09-24 23:23:25 +01:00
Tim-Philipp Müller
cc8bd6af0b assrender: disable for autoplugging until it works
https://bugzilla.gnome.org/show_bug.cgi?id=683192
https://bugzilla.gnome.org/show_bug.cgi?id=684683
2012-09-23 21:08:30 +01:00
Olivier Crête
58b4ed1949 opusenc: Rank as Primary 2012-09-22 14:58:52 -04:00
Olivier Crête
df0525de11 rtpopuspay: Allocate the rtp buffer correctly
Use the right functions to allocate the rtp buffer
2012-09-22 14:58:52 -04:00
Jan Schmidt
c90cdadbe4 resindvd: Fix segment handling in the demuxer.
Transfer the incoming segment base time to the src
segment the demuxer sends downstream. Add some
(disabled) debug to the bin for tracking outgoing
timestamps.
2012-09-18 00:27:22 +10:00
Sebastian Dröge
1419862c50 vp8: Remove plugin, moved to gst-plugins-good 2012-09-16 15:48:02 +02:00
Sebastian Dröge
12b5ef6573 vp8dec: Unref input/output states when stopping the decoder 2012-09-16 15:25:08 +02:00
Sebastian Dröge
50ad4b5bbe vp8enc: Update realtime profile to the new properties 2012-09-16 15:21:33 +02:00
Sebastian Dröge
a2503e91bf vp8: Require latest libvpx release (1.1.0 from May 2012)
Fixes bug #684116 and simplifies configure checks.
2012-09-16 10:58:29 +02:00
Sebastian Dröge
829c1dcdaf vp8enc: Use a string field for the profile in the caps
Just for consistency with all the other codecs.
2012-09-15 20:24:00 +02:00
Mark Nauwelaerts
5fad6e86d7 use gst_element_factory_get_metadata to replace obsolete API 2012-09-15 19:13:47 +02:00
Sebastian Dröge
8da71fea1f vp8enc: Correctly set profile in caps 2012-09-15 00:04:07 +02:00
Sebastian Dröge
f7e0bc0c6a vp8: Update copyright and authors 2012-09-14 23:41:48 +02:00
Sebastian Dröge
c371606bc1 vp8enc: Rework encoder properties to be more in line with the libvpx tools and API
Also add all available properties.
2012-09-14 23:37:39 +02:00
Mark Nauwelaerts
578861abea replace gst_element_class_set_details_simple with gst_element_class_set_metadata 2012-09-14 17:27:49 +02:00
Wim Taymans
b8f913555d ffmpegcolorspace is no more 2012-09-14 16:45:34 +02:00
Wim Taymans
0d8f8a5134 rename some caps and elements in examples 2012-09-14 16:29:23 +02:00
Jan Schmidt
16f5120d96 resindvd: Start with a larger subpicture queue for preroll.
Shrink the queue once we're prerolled. Fixes the Fringe S1
DVD. Also, ensure we only fire no_more_pads once.
2012-09-12 23:05:47 -07:00
Jan Schmidt
c5e0bc6464 resindvd: Disable input-selector syncing
Until segments are better worked out. Also, use
internal input-selector for audio as well
2012-09-12 23:05:47 -07:00
Tim-Philipp Müller
d95620ccd1 flitetestsrc: fix caps fixation
Make caps writable before changing them.
2012-09-13 01:34:45 +01:00
Tim-Philipp Müller
4ed3d60bd2 waylandsink: fail gracefully with an error message if we can't connect to wayland
g_return_val_if_fail() is not for error handling, it's for
catching programming errors in public API.

Fixes problem with generic/states unit test.
2012-09-13 01:09:56 +01:00
Tim-Philipp Müller
86a8018119 schroenc: remove GST_ERROR statement that was committed by accident 2012-09-13 00:50:04 +01:00
Peter Korsgaard
b04e61d8a4 opus + jpegformat: unbreak non-debug build
opus + jpegformat plugin builds fail when gstreamer is configured with
--disable-gst-debug as they are checking the GST_DISABLE_DEBUG symbol
instead of GST_DISABLE_GST_DEBUG.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>

https://bugzilla.gnome.org/show_bug.cgi?id=683850
2012-09-12 09:13:30 +01:00
Olivier Crête
9b559160cc spanplc: Don't unref too much, don't forward gap event 2012-09-11 20:30:55 -04:00
Olivier Crête
f9320170cd spanplc: Port to 1.0 API 2012-09-11 20:19:48 -04:00
Mark Nauwelaerts
b807753453 ext, gst: only activate in pull mode if upstream is seekable 2012-09-11 17:47:33 +02:00
Mark Nauwelaerts
2816380e7c opusenc: port to the new GLib thread API 2012-09-11 15:12:55 +02:00
Tim-Philipp Müller
1ef529601b opencv: disable motioncells "date" property for now
Shouldn't be of type long. Not sure it's useful at all, so
just disable it for now to see if someone misses it.
2012-09-09 23:52:41 +01:00
Rico Tzschichholz
b13b59014c mythtv: update for duration message API change 2012-09-03 19:25:52 +01:00
Tim-Philipp Müller
08149652a1 schroenc: set interlace_coding based on input caps
and remove property.
2012-09-03 14:21:19 +01:00
Tim-Philipp Müller
bc93340fd4 schroenc: configure profile/level from allowed downstream caps instead of properties
This is how it's done elsewhere and works better with encodebin.

Removes "force-profile" property, read-only "profile" property and
"level" property.

https://bugzilla.gnome.org/show_bug.cgi?id=670608
2012-09-03 14:04:40 +01:00
Tim-Philipp Müller
3d3332f84c schroenc: prettify enum property nicks
Use '-' instead of '_' as word separator.
2012-09-03 13:04:01 +01:00
Sreerenj Balachandran
18c5a0f60f spc: No need to define GLIB_DISABLE_DEPRECATION_WARNINGS
https://bugzilla.gnome.org/show_bug.cgi?id=683175
2012-09-02 20:01:38 +01:00
Tim-Philipp Müller
a79edf27d0 gst_message_new_duration -> gst_message_new_duration_changed 2012-09-02 01:48:12 +01:00
Jan Schmidt
f2d0c6a89e resindvd/mpegdemux: Send both PTS and DTS downstream
Now that we can.
2012-09-01 16:09:59 -07:00
Tim-Philipp Müller
f3e66bd80d spc: don't leak buffer in case of an init error 2012-09-02 00:04:18 +01:00
Sreerenj Balachandran
1d384422e0 spc: port to 0.11
https://bugzilla.gnome.org/show_bug.cgi?id=683175
2012-09-02 00:02:14 +01:00
Jan Schmidt
8f719fea02 resindvd: Plug a video parser in front of decoder
Seems to make playback both better and worse. The parser needs some
fixing, it seems :-/
2012-08-31 14:22:59 -07:00
Jan Schmidt
211828979b resindvd: Add some GAP event stuff to make still-frames start to work
And remove the dead audiomunge element. It isn't needed now, we just
send GAP events
2012-08-31 13:12:41 -07:00
Jan Schmidt
1218cff3dc resindvd: Initial partial port to 0.11 2012-08-31 12:46:29 -07:00
Sreerenj Balachandran
547d679e9e wayland: use scale fullscreen method.
This makes the compositor scale the surface to fit and preserves
aspect ratio.

https://bugzilla.gnome.org/show_bug.cgi?id=681453
2012-08-21 10:41:31 +01:00
Sreerenj Balachandran
dc81682f4b wayland: respond to ping/pong protocol so we're not deemed unresponsive.
https://bugzilla.gnome.org/show_bug.cgi?id=681453
2012-08-21 10:41:24 +01:00
Sreerenj Balachandran
c803ca4af5 wayland: More fixes based on wayland-0.95.0 and gstreamer-1.0 apis
- bump wayland version to 0.95.0 which will lead to stable 1.0 release
- avoid memcopy and use propose_allocation for GstBufferPool allocation
- using WaylandBufferPool
- shm: Allocate shm buffers through new wl_shm_pool interface
  (the shm buffer allocation is a two step process now: first
  allocate a wl_shm_pool, then allocate a buffer from the pool)

https://bugzilla.gnome.org/show_bug.cgi?id=681453
2012-08-21 10:24:45 +01:00
Tim-Philipp Müller
2483c82bd7 video/x-dvd-subpicture -> subpicture/x-dvd 2012-08-20 23:37:00 +01:00
Tim-Philipp Müller
cc167a237a Fix up FSF address in some source files as well 2012-08-18 20:31:17 +01:00
Edward Hervey
508e4e7e9f vp8dec: Call gst_video_decoder_negotiate() 2012-08-14 19:07:47 +02:00
Edward Hervey
54bfdebd9f schrodec: Call gst_video_decoder_negotiate() 2012-08-14 19:07:43 +02:00
Edward Hervey
c4ccca8795 soundtouch: Don't assume output buffer timestamps
There's no guarantee whatsoever that the first buffer to output will
start at the segment.start.

Instead, wait for the first buffer after a segment, and use that timestamp
2012-08-14 19:04:42 +02:00
Sebastian Dröge
c6b16aed08 vp8dec: Add support for multiple decoding threads 2012-08-14 11:17:25 +02:00
Sebastian Dröge
14317a3408 vp8dec: Add support for the MFQE postprocessing flag
Which is enabled by default if postprocessing is enabled.
2012-08-14 11:09:46 +02:00
Sebastian Dröge
85e45a09e2 vp8: Use pkg-config file for getting the LIBS and CFLAGS 2012-08-09 13:37:22 +02:00
Sebastian Dröge
7369d28e1f mpg123: Give MARGINAL rank to the mpg123 decoder element 2012-08-09 11:48:39 +02:00
Sebastian Dröge
880359f32b vp8enc: Update the per-component strides for every frame too
This is necessary because of GstVideoAlignment
2012-08-08 17:41:42 +02:00
Tim-Philipp Müller
7960591c01 mpg123: dist header file 2012-08-08 12:58:50 +01:00
Olivier Crête
bc6b513620 mimic: Port to 0.11 2012-08-07 15:41:25 -07:00
Oleksij Rempel
94337d05a5 vp8enc: initiate encoder to fix a crash.
Without this patch vp8enc send header before and after first
key frame. On second keyframe vp8dec will crash without getting
decoded frame. With this pipe it is easy to reproduce this issue:
gst-launch-1.0 videotestsrc ! vp8enc ! vp8dec ! fakesink

https://bugzilla.gnome.org/show_bug.cgi?id=680667
2012-08-05 19:35:32 +01:00
Tim-Philipp Müller
489b102a43 gst_tag_list_free -> gst_tag_list_unref 2012-08-04 16:31:30 +01:00
Patricia Muscalu
a7037cd0e3 curl: fixed some memory leaks in the plugin and the unit tests
https://bugzilla.gnome.org/show_bug.cgi?id=681117
https://bugzilla.gnome.org/show_bug.cgi?id=681115
2012-08-03 20:28:40 +01:00
Tim-Philipp Müller
6cac2bff68 mpg123: map input buffer in READ mode, not WRITE mode
Makes things actually work.
2012-08-03 13:43:31 +01:00
Tim-Philipp Müller
e7a5cfec30 mpg123: query supported output formats at run-time
Fixes stuff. We use a string here since we can't be bothered
with GValue.
2012-08-03 13:38:05 +01:00
Tim-Philipp Müller
f75e4fbc11 mpg123: hook up to build system 2012-08-03 11:52:49 +01:00
Carlos Rafael Giani
da622c27ba mpg123: add new libmpg123-based mp3 decoder plugin
Needs a bit of cleaning up.

https://bugzilla.gnome.org/show_bug.cgi?id=681003
2012-08-03 11:52:11 +01:00
Tim-Philipp Müller
c031f5bd27 schroedinger, mpegtsmux: fix plugin names 2012-08-03 11:52:11 +01:00
Mark Nauwelaerts
19ca77e95e faad: do not access frame buffer following _finish_frame call
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=680494
2012-08-02 14:40:55 +02:00
Tim-Philipp Müller
a48cfea4a2 mplex: default to DVD MPEG-2 format instead of Generic MPEG-1 2012-08-01 11:34:08 +01:00
Tim-Philipp Müller
e1e29488d0 mplexjob: add nicks for format enums, add some more formats 2012-08-01 11:31:04 +01:00
Sebastian Dröge
afd50a79f4 tag: Update for taglist/tag event API changes 2012-07-28 00:32:58 +02:00
Mark Nauwelaerts
dd3ae904f9 assrender: process ATTACHMENT tag as sample 2012-07-27 13:22:52 +02:00
Mark Nauwelaerts
f890f60ee2 faac, voaacenc: adjust to modified audioencoder getcaps helper API 2012-07-25 16:05:41 +02:00
Sebastian Dröge
a7ae20305a schro: Add support for video metadata and arbitrary strides 2012-07-23 11:36:01 +02:00
Sebastian Dröge
47546ab2df schro: Map raw video buffers with the correct read/write flags 2012-07-23 10:54:17 +02:00
Sebastian Dröge
b60da6223e ext: Update for video base classes API changes 2012-07-23 10:35:03 +02:00
Oleksij Rempel
c03cc692ef vp8enc: fix memory leak
unref frame. i hope it is correct place to do it.

Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net>
2012-07-23 08:31:11 +02:00
Mark Nauwelaerts
9e28b769e8 faad: only discard frame once upon decoding error
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=679886
2012-07-20 16:47:35 +02:00
Tim-Philipp Müller
8588b5aab8 spc: extract year as GstDateTime instead of GDate 2012-07-17 21:00:21 +01:00
Tim-Philipp Müller
41a39d93bf celt, opencv, wayland, dvbsub, festival, hls: printf format fixes 2012-07-15 12:27:12 +01:00
Alban Browaeys
f45873047d wayland: don't link to gstinterfaces, which doesn't exist any more
https://bugzilla.gnome.org/show_bug.cgi?id=679929
2012-07-14 15:28:40 +01:00
Sreerenj Balachandran
45ca8876b2 opencv: port to 0.11
Basic port to 0.11 API.

https://bugzilla.gnome.org/show_bug.cgi?id=679164
2012-07-14 13:37:55 +01:00
Stefan Sauer
7b5340f3be pitch: register as effect 2012-07-11 23:18:44 +02:00
Wim Taymans
2eefdda3e4 soundtouch: port to 0.11 2012-07-10 17:47:20 +02:00
Wim Taymans
0fc94cd7b0 update for query api changes 2012-07-06 11:50:53 +02:00
Wim Taymans
9baf930a89 update for query api changes 2012-07-06 11:26:55 +02:00
Wim Taymans
dc4ad091aa update for allocation query changes 2012-07-06 11:05:15 +02:00
Sebastian Dröge
9c7d7498bb gst: Implement segment-done event 2012-07-05 13:18:47 +02:00
Mike Ruprecht
96b7059d24 rtmpsrc: Fix element losing data at the end of buffers
rtmpsrc outputs truncated buffers because, when enough data is
read to fill the buffer, the amount read that time (todo) is set
to zero before it's added to the cumulative buffer size (bsize).
The buffer is then truncated to bsize resulting in lost data.
This patch adds todo to bsize before setting todo to zero.

Fixes #678509
2012-06-21 08:36:35 +01:00
Edward Hervey
8b9a13de96 timidity: Fix flag checking 2012-06-20 11:37:38 +01:00
Edward Hervey
068df70c05 teletext: #if0 code that never happens
The only place this method is called is with lofp being a guint8 (from
a data block).
2012-06-20 11:37:31 +01:00
Edward Hervey
19b7b64f06 teletextdec: Use proper variable type 2012-06-20 11:37:25 +01:00
Wim Taymans
dbed726057 update for task api change 2012-06-20 10:40:42 +02:00
Edward Hervey
e3b2886b01 teletext: Fix initialization
We always ended up erroring on the first page otherwise

Conflicts:

	ext/teletextdec/gstteletextdec.c
2012-06-19 10:50:13 +01:00
Sebastian Dröge
96b9582914 jasper: Rename from jp2k to jasper
Jasper is not the only JPEG2000 library out there and we
might want to add encoders/decoders based on OpenJPEG for example.
2012-06-15 11:42:23 +02:00
Vincent Penquerc'h
742f26326f opusenc: add missing mutex unlock on error path 2012-06-15 10:39:48 +01:00
Vincent Penquerc'h
76ec96a364 opus: set author to myself, and update copyright notices
because as slomo noted, in fact pretty much all the code in there is mine.
2012-06-15 10:39:41 +01:00
Vincent Penquerc'h
afba4ce869 resindvd: rename the lib from libresindvd to libgstresindvd
For consistency.
2012-06-14 15:33:29 +01:00
Vincent Penquerc'h
54f7ab5cf6 resindvd: guard against not finding some data on a DVD
May possibly help with a particular DVD.

https://bugzilla.gnome.org/show_bug.cgi?id=673118
2012-06-14 15:32:11 +01:00
Tim-Philipp Müller
96b9b693b1 lcs: remove old LCS colorspace conversion plugin
Wasn't even ported to 0.10, and even back in the day
no one knew where the corresponding lib was from.
2012-06-12 21:35:10 +01:00
Tim-Philipp Müller
dbf9d6b48e arts: remove aRts-related plugins
aRts development stopped in 2004, it's unlikely ever is
still using it. Besides, these elements were never even
ported to 0.10.
2012-06-12 21:16:52 +01:00
Tim-Philipp Müller
8e532ca121 shout: remove old shout plugin that has never been ported to 0.10
There's shout2 in -good now.
2012-06-12 21:02:23 +01:00
Tim-Philipp Müller
5635581b26 hermes: remove hermes colorspace converter that was never ported to 0.10 2012-06-12 20:35:50 +01:00
Tim-Philipp Müller
c1facd0c36 audioresample: remove old audioresample plugin that was never even ported to 0.10 2012-06-12 19:02:57 +01:00
Tim-Philipp Müller
2ca936ef57 chromaprint: update for new tag event API 2012-06-12 18:53:13 +01:00
Tim-Philipp Müller
748d9f69ad divx: remove plugin that the world doesn't need any more
2002 called.
2012-06-12 18:48:39 +01:00
Wim Taymans
62b66c1316 faad: don't access buffer after _finish_frame
Unmap the buffer before calling _finish_frame because we are not allowed to
access it after.
2012-06-12 09:13:24 +02:00
Sebastian Dröge
ab7c61d165 Release 0.11.92 2012-06-07 16:23:09 +02:00
Vincent Penquerc'h
27486729d1 vp8: fix codec state leaks
I only tested that vp8enc ! vp8dec does not crash, as valgrind does not grok
at least one of the instructions used by vp8enc, preventing me from checking
a leak, and the lack of one after the patch.
2012-06-07 12:43:59 +01:00
Vincent Penquerc'h
4b0b20189f diracenc: fix buffer leak 2012-06-07 12:43:58 +01:00
Vincent Penquerc'h
9f952567ae diracenc: fix frame leaks 2012-06-07 12:43:57 +01:00
Vincent Penquerc'h
5f8e9cefa2 diracenc: fix codec state leak 2012-06-07 12:43:56 +01:00
Vincent Penquerc'h
1275b30725 diracenc: fix stray unref causing access to freed memory 2012-06-07 12:43:54 +01:00
Vincent Penquerc'h
c61725c982 schroedinger: fix video codec state leaks 2012-06-07 12:43:45 +01:00
Wim Taymans
a88856db0a gme: update for tag event change 2012-06-06 16:00:45 +02:00
Wim Taymans
b98ec32380 update for tag event change 2012-06-06 13:02:40 +02:00
Vincent Penquerc'h
2372697fd5 opusdec: read gain from the right place in the header
It's at byte offset 16, not 14.
2012-05-29 17:24:33 +01:00
Andre Moreira Magalhaes (andrunko)
2213a44214 assrender: Refactoring and make core more similar to textoverlay
Especially the combining of the text and video buffers is now
almost the same as in textoverlay.

We should really get a base class for this.

Conflicts:

	ext/assrender/gstassrender.c
	ext/assrender/gstassrender.h
2012-05-29 11:47:21 +02:00
Edward Hervey
fe12228a04 dirac: Port to -base video classes
Conflicts:

	ext/dirac/Makefile.am
2012-05-28 16:44:43 +02:00
Sebastian Dröge
399683d292 schroedinger: Port to 0.11 again 2012-05-28 16:42:08 +02:00
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