Commit graph

594 commits

Author SHA1 Message Date
Hu Gang
8f26b414fa photography: extend photography iface
Add more color tone modes and add NoseReduction settings.
Fixes #616814.
2010-09-28 11:37:47 +03:00
Sebastian Dröge
5816dbce6f basevideodecoder: Don't use GST_FLOW_IS_SUCCESS() 2010-09-21 12:26:34 +02:00
Thiago Santos
c3527e2653 photography: Add zoom property
Adds a property to set/get the zoom as a float
2010-09-20 18:26:48 -03:00
Lasse Laukkanen
0817440ee1 photography: Add image-preview-supported-caps interface property
Adds a readable property to gstphotography interface to query
what are the allowed preview caps supported.

Patch by Tommi Myöhänen <ext-tommi.1.myohanen@nokia.com>
2010-09-20 18:26:47 -03:00
David Schleef
356daf25a5 basevideo: Remove unused code 2010-09-20 12:34:46 -07:00
David Schleef
9a62433722 basevideo: Remove check for old -base 2010-09-20 12:34:46 -07:00
David Schleef
db43b033ae basevideo: Add handling of GstForceKeyUnit events 2010-09-20 12:34:46 -07:00
David Schleef
62a9383527 basevideodecoder: add capture pattern handling
Move typical scan_for_sync() usage into base class, which just
calls gst_adapter_masked_scan_uint32().
2010-09-18 19:27:07 -07:00
David Schleef
dbbf1182dc basevideodecoder: Don't blow away field information
Also, set field flags correctly.
2010-09-18 19:27:07 -07:00
David Schleef
7cd2e0dd3e basevideo: Move deadline to frame structure 2010-09-18 19:27:07 -07:00
Sebastian Dröge
29943c87f8 basevideodecoder: Reset the segment on FLUSH_STOP and when going back to READY 2010-07-27 18:24:20 +02:00
Sebastian Dröge
ccbb765743 basevideodecoder: Fix memory leak
The timestamps are only used if the output adapter is used, not
if complete frames are provided by the decoder and finish_frame() is
called and even in the case where the output adapter is used they
might not be used and are leaked.
2010-07-10 15:50:50 +02:00
Philip Jägenstedt
7a181a9ed3 basevideodecoder: remove spurious warning 2010-06-10 10:58:54 -07:00
David Schleef
07eb2a7293 basevideoparse: fix warning 2010-06-02 19:46:50 -07:00
David Schleef
faa81e7386 basevideoparse: remove bogus api 2010-06-02 19:38:35 -07:00
David Schleef
af7ae41646 basevideo: remove gst_base_video_state_from_caps 2010-06-02 19:28:16 -07:00
David Schleef
b67706b584 basevideo: remove compatibility code 2010-06-02 19:28:16 -07:00
David Schleef
c295354da5 basevideo: use debug category for each class 2010-06-02 19:28:16 -07:00
Jan Schmidt
efb8a4324c basevideo: Fail if caps don't contain a framerate field
Return false from the caps parsing function if there is no framerate
field in the provided caps

Merging previous commit into current codebase.
2010-06-02 19:28:16 -07:00
David Schleef
13848cc93b basevideodecoder: create new segments if missing 2010-06-02 19:28:16 -07:00
David Schleef
99a88edcc1 basevideo: Add a warning
Merging previous commit into current codebase.
2010-06-02 19:28:16 -07:00
Tim-Philipp Müller
9b1ee36328 basevideo, vp8: guard unstable API with GST_USE_UNSTABLE_API
Add some guards and fat warnings to the header files with still unstable
API, so people who just look at the installed headers know that it
actually is unstable API.

Merging previous commit into current codebase.
2010-06-02 19:28:15 -07:00
David Schleef
9564562fe8 basevideo: make printf formats portable 2010-06-02 12:16:56 -07:00
David Schleef
14c8bf96ad basevideodecoder: (in vp8) Mark discont buffers 2010-06-02 11:26:41 -07:00
David Schleef
bdb5926cda basevideo: Move base video from vp8 to gst-libs 2010-06-02 00:01:10 -07:00
Thiago Santos
c6e77c3d03 Removing remaining gstapp*
There are some remaining gstapp* living unlinked from the build scripts.
Remove them.
2010-05-24 20:03:21 -03:00
David Schleef
c3d4977761 Split out GST_PLUGINS_BAD_CFLAGS from GST_CFLAGS
Move include directives for gst-libs into GST_PLUGINS_BAD_CFLAGS,
and fix all the Makefiles that use it.  This is so that all the
include directories are added in the proper order: first the
directories in srcdir/builddir, then gst-plugins-base dirs, then
gstreamer dirs.  If the order is wrong, installed headers may be
used instead of local headers and/or uninstalled headers from -base.
2010-05-19 18:24:02 -07:00
Thiago Santos
a72774c5f8 camerabin: photography: Spring G_PARAM_STATIC_STRINGS
Sprinkle some G_PARAM_STATIC_STRINGS over the properties
in GstPhotography interface and in camerabin
2010-04-13 15:59:04 -03:00
Tommi Myöhänen
6206f58c3a GstPhotography: Add flicker and focus mode settings to photography API
Adds flicker and focus mode settings to photography API and also
implement it in camerabin.
2010-04-13 12:00:35 -03:00
Lasse Laukkanen
2c05df08b2 camerabin: add api to query supported image capture resolution
Adds new property 'image-capture-supported-caps' to GstPhotography
to query the supported image capture caps.
Also implement it in camerabin.
2010-04-13 12:00:31 -03:00
Tim-Philipp Müller
e964dcbd59 signalprocessor: don't use function that doesn't exist
Fixes the build.
2010-03-26 08:41:46 +00:00
Stefan Kost
05cbc5df9e signalprocessor: add boolean return to _process
Avoid trying to push results if processing failed anyway.
2010-03-25 23:30:29 +02:00
Stefan Kost
cfcffe6a74 signalprocessor: remove useless g_assert
g_malloc and co would terminate when out of memory. No need to check after it.
2010-03-25 23:28:25 +02:00
Stefan Kost
7a14b5d393 signalprocessor: add more logging 2010-03-25 23:26:38 +02:00
Stefan Kost
31423b4638 signalprocessor: register function pointers just once
Avoid re-registering those for each wrapped ladpsa/lv2 element.
2010-03-25 23:12:37 +02:00
Stefan Kost
9304f959a4 signalprocessor: add rate to caps 2010-03-25 23:07:46 +02:00
Stefan Kost
5bc9d4cecd signalprocessor: rename log category to be less ambigous 2010-03-25 23:05:18 +02:00
Stefan Kost
53db4a1884 docs: add photography iface to docs
We normaly have separate libs docs, not done becasue of lazyness here yet.
2010-03-24 16:25:43 +02:00
Stefan Kost
5ebf6444cb i18n: build fixes: #if -> #ifdef for ENABLE_NLS 2010-03-22 18:07:45 +02:00
Stefan Kost
70211451be i18n: fix the build
Don't include locale.h which we include in gettext.h if needed. Guard the
include like we do in the simillar headers in core.
2010-03-22 18:01:27 +02:00
Benjamin Otte
f96e4f1581 Add -Wmissing-declarations -Wmissing-prototypes to configure flags
And fix all warnings
2010-03-21 21:39:18 +01:00
Benjamin Otte
775c7584fd gst_element_class_set_details => gst_element_class_set_details_simple 2010-03-18 22:46:41 +01:00
Stefan Kost
ebdf1c2a18 signalprocessor,lv2,ladspa: move sample-rate to baseclass
We need the sample-rate in baseclass for upcomming timestamp changes.
2010-02-01 22:32:32 +02:00
Stefan Kost
6bff8711d0 signalprocessor: use the gst-controller, add some basic timestamping
Atleast for FX we now have timestamps and can sync the controller. Still need
timestamps for sources.
2010-01-31 22:25:51 +02:00
Stefan Kost
2e46fcb3c6 signalprocessor: these are not gtk-doc comments 2010-01-31 22:25:51 +02:00
Stefan Kost
233f7ef176 signalprocessor: new is a c++ keyword, better logging
Use pad instead of new for the pad var. Also use pad as object in to debug
logging.
2010-01-31 22:25:51 +02:00
b3f0b029f3 win32: Include config.h before anything else. Fix mpegdemux LIBADD
Because config.h defines __MSVCRT_VERSION__, which should be defined
before inclusion of any system header.

Also fixes mpegdemux Makefile.am LIBADD typo.

Fixes #606665
2010-01-12 12:31:56 +01:00
Teemu Katajisto
62ddc73623 camerabin: photography interface properties. Fixes #573370 (partially)
Added GObject properties to photography interface and implemented
them in camerabin. Changed zooming to check if video-source has
zoom property.
2009-11-27 15:10:57 +02:00
Stefan Kost
6577be9572 signalprocessor: remove commented out code that we don't need anymore 2009-11-19 22:59:17 +02:00
Stefan Kost
8a5e9a3363 signalprocessor: change _setup to pass whole caps and not just sampling_rate
This allows to get rid of the sampling_rate variable in the base-class. Also now
subclasses can modify the caps to actualy negotiate. This is needed to e.g. set
audio-channel positions.
2009-11-19 21:11:35 +02:00