Sebastian Dröge [Thu, 15 Apr 2010 19:44:23 +0000 (21:44 +0200)]
metadata: Another workaround for enum values that are not actually member of the enum
Sebastian Dröge [Thu, 15 Apr 2010 19:40:19 +0000 (21:40 +0200)]
resindvdbin: Apply gcc 4.5 compiler warning workaround to the mpegpsdemux copy
Same as
a331228eccfb8c66493fa3c8c49338c79cf4642c.
Sebastian Dröge [Thu, 15 Apr 2010 19:38:54 +0000 (21:38 +0200)]
vdpau: Initialize possibly uninitialized variable
Sebastian Dröge [Thu, 15 Apr 2010 19:35:15 +0000 (21:35 +0200)]
dvbsrc: Actually compare the state and not the state change return from _get_state()
Sebastian Dröge [Thu, 15 Apr 2010 19:26:45 +0000 (21:26 +0200)]
mpegpsdemux: Workaround new gcc 4.5 compiler warning
gcc 4.5 warns when comparing some integer with an enum value, in
the case of GstFlowReturn this is valid though. We should later
add GST_FLOW_CUSTOM_OK1, GST_FLOW_CUSTOM_OK2, etc. after new core
is released.
Sebastian Dröge [Thu, 15 Apr 2010 18:50:58 +0000 (20:50 +0200)]
cdxaparse: Compare the correct variable to GST_SEEK_TYPE_SET
Thiago Santos [Thu, 15 Apr 2010 10:24:16 +0000 (07:24 -0300)]
configure: Drop -Wcast-align
Commit message copied from core's commit from Benjamin Otte:
246f5dba96a5b50bb74621af67b30942cca72af5
Apparently gcc warns that GstMiniObject is not castable to
GstEvent/Message/Buffer due to them containing 64bit variables, even
though ARM hackers claim that those only need 4byte alignment. And as
long as gcc behaves that way, this warning is not very useful.
So we'll remove the warning until this problem is fixed.
Fixes #615698
Adam Endrodi [Thu, 15 Apr 2010 10:20:42 +0000 (13:20 +0300)]
camerabin: reset software zooming if not set by the photo interface
Otherwise both software (videoscal+videocrop) and hardware zooming would be used.
David Schleef [Wed, 14 Apr 2010 23:42:57 +0000 (16:42 -0700)]
invtelecine: Fix up element details
David Schleef [Wed, 14 Apr 2010 23:32:34 +0000 (16:32 -0700)]
tools: Add element-maker
Add a script that creates elements based on any of the GStreamer
base classes. It isn't very user friendly at the moment, one
needs to edit the script to make it work properly. Each base class
has a template file describing what to put into the constructed
element. Eventually, these templates should be moved to reside
with the base class source and installed to a well-known directory,
where an installed script could find them.
The template files use the .c ending so editors know they are C
source, but gst-indent doesn't handle them correctly. So they
need to be committed with -n. Ugh. I'll try to figure out a fix
for that soon.
Thiago Santos [Tue, 13 Apr 2010 23:32:50 +0000 (20:32 -0300)]
camerabin: Add video-capture-width/height/framerate properties
Adds video-capture-width, video-capture-height and
video-capture-framerate properties to allow applications to
get/set those values. Getting was not possible before this patch,
and setting was done through the set-video-resolution-fps
action, which sets the properties and promptly resets the
video source to use them.
Fixes #614958
Thiago Santos [Tue, 13 Apr 2010 21:33:40 +0000 (18:33 -0300)]
camerabin: Adds image-capture-width/height properties
Adds image-capture-width and image-capture-height properties
to camerabin, allowing the user to get/set them. Getting was
not possible before and setting was done through the
set-image-resolution action, which shouldn't now just set
the properties.
Fixes #614958
Thiago Santos [Tue, 13 Apr 2010 18:59:04 +0000 (15:59 -0300)]
camerabin: photography: Spring G_PARAM_STATIC_STRINGS
Sprinkle some G_PARAM_STATIC_STRINGS over the properties
in GstPhotography interface and in camerabin
Lasse Laukkanen [Tue, 2 Mar 2010 12:04:44 +0000 (14:04 +0200)]
camerabin: add block-after-capture property for viewfinder blocking
Adds block-after-capture property to block running viewfinder after capturing.
This property is useful if application wants to display capture preview and avoid
running viewfinder on background.
Based on a patch by Tommi Myöhänen <ext-tommi.1.myohanen@nokia.com>
Lasse Laukkanen [Tue, 9 Feb 2010 12:52:49 +0000 (14:52 +0200)]
examples: camerabin: add viewfinder-filter and filter caps properties
Adds support for setting filter-caps and viewfinder-filter
properties in the gst-camerabin-test application
Tommi Myöhänen [Tue, 26 Jan 2010 13:18:24 +0000 (15:18 +0200)]
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.
Teemu Katajisto [Thu, 26 Nov 2009 10:12:06 +0000 (12:12 +0200)]
camerabin: add gst-camerabin-test command line test tool
gst-camerabin-test tool can be used to capture still images and
video clips using camerabin element.
Teemu Katajisto [Mon, 16 Nov 2009 13:02:03 +0000 (15:02 +0200)]
camerabin: do not set imagebin sinkpad twice
If we already have a sinkpad, do not get a new one
Teemu Katajisto [Mon, 16 Nov 2009 13:13:31 +0000 (15:13 +0200)]
camerabin: update unit tests
Add testing of setting and getting of camerabin property elements and
add post-processing elements to pipeline.
Teemu Katajisto [Fri, 13 Nov 2009 14:42:44 +0000 (16:42 +0200)]
camerabin: add unit tests for setting different flags when capturing
Adds some tests that use flags for capturing to asure it works
with flags set or not.
Teemu Katajisto [Wed, 28 Oct 2009 15:37:56 +0000 (17:37 +0200)]
camerabin: add paused video capture file validity check in unit test
Also check that the file captured in the paused capture unit test is
playable.
Lasse Laukkanen [Mon, 19 Oct 2009 11:31:54 +0000 (14:31 +0300)]
camerabin: add viewfinder-filter property
Adds a new property called viewfinder-filter to camerabin.
This property is used to add a filter to process the video
flow right before the viewfinder sink.
Also updates test to check property exists.
Lasse Laukkanen [Wed, 21 Oct 2009 15:02:27 +0000 (18:02 +0300)]
camerabin: set videotestsrc pattern to white in unit test
Lower complexity of encoding and videotestsrc redrawing in order
to prevent unit test timeouts.
Lasse Laukkanen [Wed, 14 Oct 2009 11:01:34 +0000 (14:01 +0300)]
camerabin: proxy video source photography interface property notify signals
If photography interface properties change in video source, notify the
application by emitting notify for respective camerabin properties.
Teemu Katajisto [Wed, 14 Oct 2009 11:42:01 +0000 (14:42 +0300)]
camerabin: New unit tests
Add unit tests for camerabin properties setting and getting,
adds one for video capturing with pause.
Also does some c99 variable declaration fixes.
Shenghua Liu [Wed, 14 Oct 2009 11:01:05 +0000 (14:01 +0300)]
camerabin: update unit test to have test on recording snapshot preview
Adds a small check to verify that the preview image message is
being sent on video recording.
Lasse Laukkanen [Mon, 21 Sep 2009 14:47:20 +0000 (17:47 +0300)]
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.
René Stadler [Thu, 2 Jul 2009 15:03:57 +0000 (18:03 +0300)]
camerabin: rename function and variable names, update documentation
Get rid of user_* prefix internally, use app_* instead.
Lasse Laukkanen [Wed, 16 Sep 2009 12:11:49 +0000 (15:11 +0300)]
camerabin: add video-source-filter property
Add video-source-filter property that can be used to inject application
specific gstreamer element to camerabin pipeline. The video-source-filter
element will process all frames coming from video source.
One could add image analyzers to collect information about the stream,
or add image enhancers to improve capture quality, for example.
Edward Hervey [Mon, 12 Apr 2010 16:07:29 +0000 (18:07 +0200)]
check: Don't re-declare 'GList *buffers' in the tests
It's an external which lives in gstcheck.c. Redeclaring it makes some
compilers/architectures think the 'buffers' in the individual tests are
a different symbol... and therefore we end up comparing holodecks with
oranges.
Lasse Laukkanen [Thu, 18 Feb 2010 16:19:50 +0000 (18:19 +0200)]
camerabin: don't try adapting image capture resolution if no source-resize flag
If source-resize flag is disabled then set resolution to image capture caps
according to capture resolution video source element produces. Otherwise we
write wrong resolution to image metadata.
Lasse Laukkanen [Tue, 5 Jan 2010 13:13:02 +0000 (15:13 +0200)]
camerabin: Fix capturing flag handling after image has been captured
Make sure capturing flag is unset and image-captured message is sent
before sending eos event to image bin and saving the image to a file.
Lasse Laukkanen [Wed, 4 Nov 2009 11:24:13 +0000 (13:24 +0200)]
camerabin: fix setting filter-caps property in NULL state
Split _set_capsfilter_caps() into two parts so that we can call one part
regardless of the element state.
Lasse Laukkanen [Fri, 11 Sep 2009 06:38:51 +0000 (09:38 +0300)]
camerabin: improve image done signal emission
Use g_idle_add_full() with G_PRIORITY_HIGH to emit image done signal,
g_idle_add() is more likely to starve with higher priority events.
Edward Hervey [Mon, 12 Apr 2010 10:42:06 +0000 (12:42 +0200)]
configure: Remove -Wundef flag
Same fix as for #615161
Sebastian Dröge [Mon, 12 Apr 2010 07:16:19 +0000 (09:16 +0200)]
vdpau: Correctly link to the local libgstvdp-0.10 by using the libtool archive
Thiago Santos [Fri, 9 Apr 2010 12:14:02 +0000 (09:14 -0300)]
tests: camerabin: enable camerabin tests
Re-enabling camerabin tests, they are passing.
Sebastian Dröge [Fri, 9 Apr 2010 09:22:55 +0000 (11:22 +0200)]
Automatic update of common submodule
From
fdf023d to
fc85867
Edward Hervey [Thu, 8 Apr 2010 10:00:10 +0000 (12:00 +0200)]
tests: Fix compilation error on macosx
Tim-Philipp Müller [Thu, 8 Apr 2010 09:45:33 +0000 (10:45 +0100)]
oss4: 8-bit PCM audio caps don't need an endianness field
Tim-Philipp Müller [Thu, 8 Apr 2010 09:40:02 +0000 (10:40 +0100)]
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.
Tim-Philipp Müller [Tue, 30 Mar 2010 10:43:04 +0000 (11:43 +0100)]
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.
Tim-Philipp Müller [Thu, 8 Apr 2010 07:48:35 +0000 (08:48 +0100)]
soundtouch: use $(LIBM) in Makefile.am instead of -lm
Tim-Philipp Müller [Thu, 8 Apr 2010 00:42:23 +0000 (01:42 +0100)]
invtelecine: fix print format in debug message
Tim-Philipp Müller [Thu, 8 Apr 2010 00:41:31 +0000 (01:41 +0100)]
assrender: pass constant string as format string to printf
Fix compiler warning about non-string literal being passed as
first argument to print.
Arun Raghavan [Fri, 26 Mar 2010 18:56:49 +0000 (18:56 +0000)]
baseparse: Don't emit bitrate tags too early
We wait to parse a minimum number of frames (10, arbitrarily) before
emiting bitrate tags so that our early estimates are not wildly
inaccurate for streams that start with a silence. If the stream ends
before that, we just emit the tags anyway.
While it _would_ be nicer to be specify the threshold to start pushing
the tags in terms of duration, this would introduce more complexity than
this merits.
https://bugzilla.gnome.org/show_bug.cgi?id=614991
Benjamin Otte [Wed, 7 Apr 2010 09:22:43 +0000 (11:22 +0200)]
metadata: fix crash when converting units
x/y-resolution are fractions, so setting them using float values is not
a good idea.
https://bugzilla.redhat.com/show_bug.cgi?id=577655
Sebastian Dröge [Mon, 5 Apr 2010 08:33:26 +0000 (10:33 +0200)]
mpegtsdemux: Add support for BlueRay style DTS
Fixes bug #614259.
Sebastian Dröge [Sun, 4 Apr 2010 18:23:00 +0000 (20:23 +0200)]
mpegtsdemux: Add support for the two DTS HD stream types
Fixes bug #614259.
Sebastian Pölsterl [Fri, 2 Apr 2010 17:52:25 +0000 (19:52 +0200)]
mpegtspacketizer: Additionally use the CRC to check if tables are duplicates
The current code just uses table id, subtable extension and version number to
check if the section has been seen before. However, this comparison is not
sufficient, causing actually new tables being dismissed.
Fixes bug #614479.
Sebastian Dröge [Fri, 2 Apr 2010 17:48:56 +0000 (19:48 +0200)]
h264parse: Correctly clean up internal state for reuse
Fixes bug #614591.
Sebastian Dröge [Fri, 2 Apr 2010 17:19:23 +0000 (19:19 +0200)]
mpegtsparse: Make sure that the buffer metadata is writable before setting caps
Fixes bug #614349.
Sebastian Dröge [Fri, 2 Apr 2010 17:09:40 +0000 (19:09 +0200)]
dvbsrc: Use uint instead of int for frequency and symbol-rate properties
The kernel API specifies them as uint32 and frequencies/symbol-rates greater
than 2^31 are actually needed sometimes.
Fixes bug #614475.
Tim-Philipp Müller [Tue, 30 Mar 2010 00:17:15 +0000 (01:17 +0100)]
build: build plugins and examples in parallel where possible, if make -jN is used
Tim-Philipp Müller [Tue, 30 Mar 2010 00:16:32 +0000 (01:16 +0100)]
po: update for string changes and new comment
Tim-Philipp Müller [Tue, 30 Mar 2010 00:14:58 +0000 (01:14 +0100)]
oss4: add comment for translators
Not that that will make these strings much better. Also remove i18n
marker where it doesn't make sense.
Tim-Philipp Müller [Sat, 27 Mar 2010 09:46:30 +0000 (09:46 +0000)]
qtmux: use GStreamer package name and origin in the plugin info
Mark Nauwelaerts [Mon, 29 Mar 2010 12:49:06 +0000 (14:49 +0200)]
h264parse: fix writing NALU prefix for byte-stream output format
Specifically, input may already be in byte-stream format, so sync
bytes should not be misinterpreted as NALU size.
Jan Schmidt [Sun, 28 Mar 2010 23:00:57 +0000 (10:00 +1100)]
openspc: Fix build warning
Add a prototype for gst_spc_dec_get_type
Sebastian Dröge [Fri, 26 Mar 2010 17:58:35 +0000 (18:58 +0100)]
flacparse: Optionally check the overall frame checksums too before accepting a frame as valid
This is optional because it's a quite expensive operation and it's very
unlikely that a non-frame is detected as frame after the header CRC check
and checking all bits for valid values. The overall frame checksums are
mainly useful to detect inconsistencies in the encoded payload.
Sebastian Dröge [Fri, 26 Mar 2010 17:42:28 +0000 (18:42 +0100)]
flacparse: Check the CRC-8 of the headers before accepting a frame as valid
This makes false-positives during seeking much less likely and detection of
them much faster.
Sebastian Dröge [Fri, 26 Mar 2010 17:20:24 +0000 (18:20 +0100)]
baseparse: Set the last stop to the buffer starttime if the duration is invalid
...instead of not setting it at all.
Joshua M. Doe [Fri, 26 Mar 2010 17:19:00 +0000 (18:19 +0100)]
baseparse: Send NEWSEGMENT event with correct start and position
Instead of taking the last stop (which could be buffer endtime instead
of starttime) always take the buffer starttime.
Fixes bug #614016.
Arun Raghavan [Fri, 26 Mar 2010 16:49:01 +0000 (16:49 +0000)]
flacparse: Fix buffer refcount issue
When called from the GST_FLAC_PARSE_STATE_HEADERS case,
gst_flac_parse_hand_headers() does a gst_buffer_set_caps() on a buffer
with refcount > 1. This change handles this case by making the buffer
metadata_Writable.
https://bugzilla.gnome.org/show_bug.cgi?id=614037
Tim-Philipp Müller [Fri, 26 Mar 2010 12:04:48 +0000 (12:04 +0000)]
mpegtsdemux: add missing space to debug message
Tim-Philipp Müller [Fri, 26 Mar 2010 08:41:46 +0000 (08:41 +0000)]
signalprocessor: don't use function that doesn't exist
Fixes the build.
Stefan Kost [Thu, 25 Mar 2010 21:48:09 +0000 (23:48 +0200)]
divx: add const to fix compiler warnings
Stefan Kost [Thu, 25 Mar 2010 21:30:29 +0000 (23:30 +0200)]
signalprocessor: add boolean return to _process
Avoid trying to push results if processing failed anyway.
Stefan Kost [Thu, 25 Mar 2010 21:28:25 +0000 (23:28 +0200)]
signalprocessor: remove useless g_assert
g_malloc and co would terminate when out of memory. No need to check after it.
Stefan Kost [Thu, 25 Mar 2010 21:24:36 +0000 (23:24 +0200)]
signalprocessor: add more logging
Stefan Kost [Thu, 25 Mar 2010 21:12:37 +0000 (23:12 +0200)]
signalprocessor: register function pointers just once
Avoid re-registering those for each wrapped ladpsa/lv2 element.
Stefan Kost [Thu, 25 Mar 2010 21:07:46 +0000 (23:07 +0200)]
signalprocessor: add rate to caps
Stefan Kost [Thu, 25 Mar 2010 21:04:41 +0000 (23:04 +0200)]
signalprocessor: rename log category to be less ambigous
Stefan Kost [Thu, 25 Mar 2010 20:59:18 +0000 (22:59 +0200)]
lv2: add more examples
Stefan Kost [Thu, 25 Mar 2010 20:58:47 +0000 (22:58 +0200)]
dtmfdetect: if we tell that we handle gap flags, then do so
Stefan Kost [Thu, 25 Mar 2010 20:55:32 +0000 (22:55 +0200)]
dtmfdetect: use glib types
Stefan Kost [Thu, 25 Mar 2010 20:54:49 +0000 (22:54 +0200)]
dtmfdetect: fix classification
Stefan Kost [Thu, 25 Mar 2010 20:53:20 +0000 (22:53 +0200)]
dtmfdetect: reformat message docs
Use a list like in other element docs as an untweaked docbook table look ugly.
Tim-Philipp Müller [Thu, 25 Mar 2010 17:09:17 +0000 (17:09 +0000)]
audioparsers: remove unused GstBaseParseClassPrivate structure
Arun Raghavan [Thu, 25 Mar 2010 12:55:02 +0000 (12:55 +0000)]
flacparse: Make bitrate estimation more accurate
This implements the get_frame_overhead() vfunc so that baseparse can
make more accurate bitrate estimates.
Arun Raghavan [Thu, 25 Mar 2010 11:48:46 +0000 (11:48 +0000)]
aacparse: Fix bitrate calculation
This patch adds the get_frame_overhead() vfunc so that baseparse can
accurately calculate the min/avg/max bitrates for aacparse.
Note: The bitrate was being incorrectly calculated for ADTS streams
(it's not in the header as the code suggests).
Arun Raghavan [Thu, 25 Mar 2010 11:22:58 +0000 (11:22 +0000)]
audioparsers: Add bitrate calculation to baseparse
This makes baseparse keep a running average of the stream bitrate, as
well as the minimum and maximum bitrates. Subclasses can override a
vfunc to make sure that per-frame overhead from the container is not
accounted for in the bitrate calculation.
We take care not to override the bitrate, minimum-bitrate, and
maximum-bitrate tags if they have been posted upstream. We also
rate-limit the emission of bitrate so that it is only triggered by a
change of >10 kbps.
Thiago Santos [Tue, 23 Mar 2010 20:34:30 +0000 (17:34 -0300)]
tests: tagschecking: New tags tests
Adds new tags checking tests.
Tim-Philipp Müller [Thu, 25 Mar 2010 00:20:54 +0000 (00:20 +0000)]
qtmux: init debug category before using it
Edward Hervey [Wed, 24 Mar 2010 17:54:57 +0000 (18:54 +0100)]
Automatic update of common submodule
From
55cd514 to
c1d07dd
Andoni Morales [Wed, 24 Mar 2010 16:05:14 +0000 (17:05 +0100)]
dshowvideosrc: Add support for YUY2 input format
Fix bug #613708
Stefan Kost [Wed, 24 Mar 2010 14:15:37 +0000 (16:15 +0200)]
docs: add photography iface to docs
We normaly have separate libs docs, not done becasue of lazyness here yet.
Stefan Kost [Wed, 24 Mar 2010 14:05:20 +0000 (16:05 +0200)]
jpegformat: add blank line to fix generated xml
Stefan Kost [Wed, 24 Mar 2010 13:59:53 +0000 (15:59 +0200)]
jack: fix element name in section doc blob
Benjamin Otte [Wed, 24 Mar 2010 14:05:50 +0000 (15:05 +0100)]
modplug: Define WORDS_BIGENDIAN to avoid undefined warning
https://bugzilla.gnome.org/show_bug.cgi?id=613795
Benjamin Otte [Wed, 24 Mar 2010 11:16:07 +0000 (12:16 +0100)]
Use pkgconfig to detect dvdnav
The previously used dvdnav-config script was broken in a lot of distros.
Tim-Philipp Müller [Wed, 24 Mar 2010 00:27:34 +0000 (00:27 +0000)]
kate: fix yet another compiler warning
Tristan Matthews [Tue, 23 Mar 2010 23:56:48 +0000 (19:56 -0400)]
osx: more compiler warning fixes
Avoid new warnings.
Fixes #613758.
Thiago Santos [Tue, 23 Mar 2010 17:15:53 +0000 (14:15 -0300)]
tests: faac: Fix build
Fixes build of faac due to functions not being static nor
having being declared in headers. (No previous prototype error)
Probably due to added -Wmissing-prototypes
Sebastian Dröge [Tue, 23 Mar 2010 10:10:05 +0000 (11:10 +0100)]
amrwbenc: Fix compiler warning
Tim-Philipp Müller [Tue, 23 Mar 2010 09:14:03 +0000 (09:14 +0000)]
cog: touch cog.orc to force regeneration of cogorc.[ch]
.. with new Makefile.am rules, which should fix the build
without the need to do a 'manual' make clean after updating.
Benjamin Otte [Tue, 23 Mar 2010 00:41:31 +0000 (01:41 +0100)]
wininet: Fix warnings
Benjamin Otte [Tue, 23 Mar 2010 00:30:54 +0000 (01:30 +0100)]
directdraw: Fix warnings
Benjamin Otte [Tue, 23 Mar 2010 00:15:27 +0000 (01:15 +0100)]
Remove -Wundef for Windows
Windows headers tend to check _MSC_VER uncondtionally in some places,
but use #ifdef _MSC_VER in other places.
Benjamin Otte [Tue, 23 Mar 2010 00:14:33 +0000 (01:14 +0100)]
Add a bunch of warning flags
None of them trigger any warning