Mark Nauwelaerts [Mon, 10 Jan 2011 15:56:36 +0000 (16:56 +0100)]
baseparse: refactor passthrough into format flags
Also add a format flag to signal baseparse that subclass/format can provide
(parsed) timestamp rather than an estimated one. In particular, such "strong"
timestamp then allows to e.g. determine duration.
Mark Nauwelaerts [Mon, 10 Jan 2011 14:34:48 +0000 (15:34 +0100)]
baseparse: introduce a baseparse frame to serve as context
... and adjust subclass parsers accordingly
Mark Nauwelaerts [Fri, 7 Jan 2011 15:39:51 +0000 (16:39 +0100)]
baseparse: restrict duration scanning to pull mode and avoid extra set_caps call
Mark Nauwelaerts [Fri, 7 Jan 2011 14:58:49 +0000 (15:58 +0100)]
baseparse: update some documentation
Also add some more debug.
Mark Nauwelaerts [Thu, 6 Jan 2011 10:41:44 +0000 (11:41 +0100)]
baseparse: allow increasing min_size for current frame parsing only
Also check that subclass actually either directs to skip bytes or
increases expected frame size to avoid going nowhere in bogus
indefinite looping.
Mark Nauwelaerts [Fri, 14 Jan 2011 14:26:37 +0000 (15:26 +0100)]
baesparse: fix refactor regression in loop based parsing
Mark Nauwelaerts [Thu, 6 Jan 2011 10:16:56 +0000 (11:16 +0100)]
baseparse: pass all available data to subclass rather than minimum
Also reduce some adapter calls and add a few debug statements.
Mark Nauwelaerts [Fri, 10 Dec 2010 14:59:49 +0000 (15:59 +0100)]
baseparse: fix reverse playback handling
Mark Nauwelaerts [Fri, 10 Dec 2010 13:56:13 +0000 (14:56 +0100)]
baseparse: minor typo and debug statement cleanup
Mark Nauwelaerts [Fri, 10 Dec 2010 13:40:05 +0000 (14:40 +0100)]
baseparse: reduce locking
... which is either already mute and/or implicitly handled by STREAM_LOCK.
Sebastian Dröge [Thu, 27 Jan 2011 16:32:49 +0000 (17:32 +0100)]
vdpau: Initialize some variables to make gcc 4.6 happy
Sebastian Dröge [Thu, 27 Jan 2011 16:29:12 +0000 (17:29 +0100)]
basevideodecoder: Initialize some variables to make gcc 4.6 happy
Tim-Philipp Müller [Wed, 26 Jan 2011 18:45:56 +0000 (18:45 +0000)]
jp2kdec, jp2kenc: add support v308 (4:4:4 YUV)
Because we can.
Thiago Santos [Wed, 26 Jan 2011 17:27:21 +0000 (14:27 -0300)]
tests: camerabin2: Use the correct for limit
There are 3 taglists to be tested, not 2
Thiago Santos [Wed, 26 Jan 2011 14:40:43 +0000 (11:40 -0300)]
camerabin2: Do not forget to unref some stuff
Cleanup properly by unrefing the encoding profile and preview caps
Thiago Santos [Wed, 26 Jan 2011 13:54:53 +0000 (10:54 -0300)]
camerabin2: Add names to some elements
Adds names to instances of some elements to make debugging easier
Thiago Santos [Tue, 25 Jan 2011 21:10:18 +0000 (18:10 -0300)]
camerabin2: Handle videosink states more carefully
When going to ready, camerabin2 could create an empty file
if the videosink was put to ready. This patch only puts videosink
to ready on the PAUSED_TO_READY state change if it is on PAUSED
or PLAYING.
Mark Nauwelaerts [Fri, 14 Jan 2011 13:08:38 +0000 (14:08 +0100)]
baseparse: avoid loop in frame locating interpolation
Thiago Santos [Tue, 25 Jan 2011 02:32:30 +0000 (23:32 -0300)]
rsvgoverlay: Do not segfault on unexistent files
When passing an unexistent file to rsvgoverlay it would
crash because the svg loading would fail without setting
an error.
This patch makes it check if the handle was actually created
and logs an error in case it didn't. Maybe it should post an
error to the bus, but the previous error handling didn't, so
I just followed the same logic.
Thiago Santos [Mon, 24 Jan 2011 21:37:12 +0000 (18:37 -0300)]
examples: camerabin: add timing printing for preview image
Measure and print the time taken to generate preview image. And
fix a typo
Thiago Santos [Mon, 24 Jan 2011 21:36:58 +0000 (18:36 -0300)]
wrappercamerabinsrc: Remove unused macro
Lasse Laukkanen [Wed, 12 Jan 2011 14:26:19 +0000 (16:26 +0200)]
examples: camerabin: Don't set default values for GstPhotography interface settings
Don't set any default values for source element GstPhotography interface
settings, source elements should have sane defaults themselves.
Also, setting scene-mode is tricky as it is a superset of other GstPhotography
settings. This might cause problem with defaults e.g. setting scene-mode to
'night' may configure flash-mode as 'on' by definition, and after that
we don't want to override this flash-mode setting with gst-camerabin-test default
value. Moreover, user needs have an option to set scene mode first and then force
some individual setting to a different value from the scene-mode definition.
https://bugzilla.gnome.org/show_bug.cgi?id=639841
Thiago Santos [Mon, 24 Jan 2011 20:46:49 +0000 (17:46 -0300)]
wrappercamerabinsrc: Check the start time of buffers
Be careful when trying to create a newsegment event to avoid
start times of -1 from invalid buffer timestamps
Vincent Penquerc'h [Tue, 11 Jan 2011 15:52:03 +0000 (15:52 +0000)]
dvdspu: don't write clipped lines to the output buffer
We may not increment the output pointer, but it'll still be just
off the end of the allocated area.
https://bugzilla.gnome.org/show_bug.cgi?id=602847
Thiago Santos [Wed, 19 Jan 2011 18:07:25 +0000 (15:07 -0300)]
camerabin2: Update porting file
Adds porting information about using encodebin on camerabin2
Thiago Santos [Fri, 14 Jan 2011 11:12:25 +0000 (08:12 -0300)]
camerabin2: Add image-done message
Post an image-done message when a new image is saved to disk
Thiago Santos [Tue, 11 Jan 2011 17:50:48 +0000 (14:50 -0300)]
camerabin2: Implement tagsetter interface
Thiago Santos [Tue, 11 Jan 2011 13:29:48 +0000 (10:29 -0300)]
tests: camerabin2: Add preview image to tests
Adds tests for checking that preview images are posted with
the correct caps on tests
Thiago Santos [Tue, 11 Jan 2011 12:12:24 +0000 (09:12 -0300)]
camerabin2: Add a property to select the encoding profile
Adds a video-profile to allow selecting which encoding profile
to use for video recordings
Thiago Santos [Tue, 11 Jan 2011 11:44:41 +0000 (08:44 -0300)]
camerabin2: Removing videorecordingbin
Removing videorecordingbin as we now use encodebin for it
Thiago Santos [Mon, 27 Dec 2010 14:29:42 +0000 (11:29 -0300)]
camerabin2: Move to encodebin
Thiago Santos [Mon, 10 Jan 2011 18:19:52 +0000 (15:19 -0300)]
wrappercamerabinsrc: Set output-selector pad-negotiation-mode to none
Use output-selector none negotiation mode as it was the default before
the last changes. This likely needs to be fixed to use 'active' on
camerabin2
Thiago Santos [Mon, 10 Jan 2011 18:19:04 +0000 (15:19 -0300)]
wrappercamerabinsrc: Handle state change failures
When its internal element fails to change state, don't act as
if succeeded.
Thiago Santos [Thu, 30 Dec 2010 03:27:03 +0000 (00:27 -0300)]
camerabin2: Implement previewing
Implement previewing functionality using 2 properties. A boolean
(post-previews) that indicates if previews should be posted, and a
GstCaps (preview-caps) to provide the desired preview caps.
wrappercamerabinsrc implements previewing by supplying the captured
image to a pipeline to adapt it to the required caps before posting.
Thiago Santos [Thu, 30 Dec 2010 03:26:07 +0000 (00:26 -0300)]
camerabin2: Add methods for preview image message posting
Adds a helper struct and functions for implementing a preview message
in camerabin2.
Thiago Santos [Thu, 30 Dec 2010 02:48:31 +0000 (23:48 -0300)]
camerabin2: tests: Use mainloops
Use mainloops instead of sleeps to read bus messages and catch
errors.
Thiago Santos [Wed, 29 Dec 2010 17:12:06 +0000 (14:12 -0300)]
wrappercamerabinsrc: Use drop_eos function from camerabingeneral
There was already a event probe function for dropping EOS on
camerabingenereal, so use that instead of replicating the code
Thiago Santos [Mon, 24 Jan 2011 14:55:41 +0000 (11:55 -0300)]
tests: camerabin2: imagecapturebin2: fix warnings
Warnings passed me by on the last commits to camerabin2 tests,
fixing them.
Thiago Santos [Mon, 24 Jan 2011 14:05:41 +0000 (11:05 -0300)]
tests: camerabin2: Only run a test if -good 0.10.27 is present
A camerabin2 tests depends on the commit
dcbba0932dc579abd6aab4460fa1a416374eda1b for jpegenc on -good
that was released on 0.10.27.
This patch makes it check for this version before running the
test.
Thiago Santos [Mon, 24 Jan 2011 13:08:17 +0000 (10:08 -0300)]
tests: imagecapturebin: Only run a test if -good is 0.10.27 or newer
One test on imagecapturebin requires
dcbba0932dc579abd6aab4460fa1a416374eda1b
on good that was released on 0.10.27.
https://bugzilla.gnome.org/show_bug.cgi?id=640286
Thiago Santos [Tue, 18 Jan 2011 20:31:06 +0000 (17:31 -0300)]
camerabin: add names for more elements
Tim-Philipp Müller [Mon, 24 Jan 2011 11:18:29 +0000 (11:18 +0000)]
Back to development
Tim-Philipp Müller [Fri, 21 Jan 2011 21:13:22 +0000 (21:13 +0000)]
Release 0.10.21
David Schleef [Thu, 20 Jan 2011 04:00:13 +0000 (20:00 -0800)]
element-maker: Fix handling of debug category
Mark Nauwelaerts [Wed, 19 Jan 2011 17:26:30 +0000 (18:26 +0100)]
flacparse: mind gst_buffer_unref not liking NULL
Fixes #639950.
Thiago Santos [Tue, 18 Jan 2011 21:18:03 +0000 (18:18 -0300)]
mxfdemux: Fix unitialized variable warning
Tim-Philipp Müller [Tue, 18 Jan 2011 13:00:11 +0000 (13:00 +0000)]
0.10.20.4 pre-release
Thiago Santos [Fri, 14 Jan 2011 19:30:11 +0000 (16:30 -0300)]
audioparsers: baseparse: Be careful to not lose the event ref
Don't unref the event if it hasn't been handled, because the caller
assumes it is still valid and might reuse it.
I ran into this problem when transcoding an AVI (with mp3 inside)
to gpp.
https://bugzilla.gnome.org/show_bug.cgi?id=639555
Thiago Santos [Thu, 13 Jan 2011 14:28:32 +0000 (11:28 -0300)]
test: qtmux: Tests qtmux reuse
Forces the use of qtmux after it has been put to PLAYING and back
to NULL once
https://bugzilla.gnome.org/show_bug.cgi?id=639338
Mark Nauwelaerts [Thu, 13 Jan 2011 14:27:36 +0000 (15:27 +0100)]
qtmux: set src pads when starting file
... rather than at _init time, so they are also available following a
pad (de)activation cycle.
https://bugzilla.gnome.org/show_bug.cgi?id=639338
Vincent Penquerc'h [Wed, 12 Jan 2011 16:39:22 +0000 (16:39 +0000)]
kate: ensure the kate pad does not shoot ahead of the video pad
Sync both pads by waiting in the kate chain function.
Do not reset our internal segment from segment updates, in order
to be able to map video running time to kate running time, to
give libtiger the timestamp it expects. This allows us to use
running time to sync to video, which is The Right Way.
https://bugzilla.gnome.org/show_bug.cgi?id=600929
Luciana Fujii Pontello [Thu, 13 Jan 2011 20:35:15 +0000 (18:35 -0200)]
camerabin: Enable conversion flags
Camerabin default should just work, so we need to enable audio, image
and video conversions.
https://bugzilla.gnome.org/show_bug.cgi?id=639456
Tim-Philipp Müller [Thu, 13 Jan 2011 17:10:13 +0000 (17:10 +0000)]
dcaparse: fix sync word for 14-bit little endian coding
Fix copy'n'paste bug that made us look for the raw little endian
sync word twice instead of looking for the 14-bit LE sync word
as well. Fixes parsing of such streams (see #636234 for sample file).
Tim-Philipp Müller [Thu, 13 Jan 2011 16:27:04 +0000 (16:27 +0000)]
docs: minor baseparse docs/comment fixes
Remove copy'n'paste leftovers.
Teemu Katajisto [Thu, 13 Jan 2011 11:36:09 +0000 (13:36 +0200)]
camerabin: set pad-negotiation-mode to active for output-selector
Fixes #639413.
Stefan Kost [Wed, 12 Jan 2011 14:55:07 +0000 (16:55 +0200)]
asfmux: use g_error_free instead of g_free
Stefan Kost [Wed, 12 Jan 2011 14:50:51 +0000 (16:50 +0200)]
camerabin2: use g_error_free instead of g_free
Edward Hervey [Wed, 12 Jan 2011 10:57:29 +0000 (11:57 +0100)]
y4mdec: Default colorspace is I420
https://bugzilla.gnome.org/show_bug.cgi?id=639296
Tim-Philipp Müller [Tue, 11 Jan 2011 23:44:51 +0000 (23:44 +0000)]
0.10.20.3 pre-release
Stefan Kost [Tue, 11 Jan 2011 13:50:52 +0000 (15:50 +0200)]
Automatic update of common submodule
From e572c87 to f94d739
Edward Hervey [Mon, 10 Jan 2011 18:11:22 +0000 (19:11 +0100)]
mpegtspacketizer: Don't forget the GType when using caps_new_simple()
Tim-Philipp Müller [Mon, 10 Jan 2011 16:36:45 +0000 (16:36 +0000)]
Automatic update of common submodule
From ccbaa85 to e572c87
Tim-Philipp Müller [Mon, 10 Jan 2011 14:54:10 +0000 (14:54 +0000)]
Automatic update of common submodule
From 46445ad to ccbaa85
Tim-Philipp Müller [Mon, 10 Jan 2011 11:25:47 +0000 (11:25 +0000)]
mpegtsdemux: fix silly way of creating caps
Karol Sobczak [Mon, 10 Jan 2011 11:18:52 +0000 (11:18 +0000)]
mpegtsdemux: fix re-syncing on invalid data after seek
Or possibly even at startup. If we couldn't find a sync within
the first few bytes, we'd just push more data into the adapter
but never discard any of the invalid data at the beginning, so
would never be able to re-sync.
https://bugzilla.gnome.org/show_bug.cgi?id=639063
Tim-Philipp Müller [Sat, 8 Jan 2011 03:12:11 +0000 (03:12 +0000)]
cog, schroedinger: fix warnings when compiling with -DG_DISABLE_ASSERT
Tim-Philipp Müller [Sat, 8 Jan 2011 03:10:00 +0000 (03:10 +0000)]
0.10.20.2 pre-release
Tim-Philipp Müller [Sat, 8 Jan 2011 02:49:06 +0000 (02:49 +0000)]
docs: update docs
Tim-Philipp Müller [Sat, 8 Jan 2011 02:47:12 +0000 (02:47 +0000)]
po: update translations
Tim-Philipp Müller [Sat, 8 Jan 2011 02:43:41 +0000 (02:43 +0000)]
camerabin: use private input-selector that still has "select-all" property
The "select-all" property was removed when input-selector was moved
to core, but camerabin uses this, so make camerabin use a private
copy until a better fix is found.
Tim-Philipp Müller [Sat, 8 Jan 2011 00:32:21 +0000 (00:32 +0000)]
tests: Makefile.am clean-up
Avoid duplicates GST_CHECK_CFLAGS and GST_OPTIONS_CFLAGS are already in
AM_CFLAGS. Add LDADD instead of GST_CHECK_LIBS for consistency.
Tim-Philipp Müller [Sat, 8 Jan 2011 00:19:06 +0000 (00:19 +0000)]
smoothwave: remove old 0.8 example containing code with sideeffects in g_return_if_fail()
May just as well remove it rather than fix it, so it doesn't show
up in greps for this any longer.
Tim-Philipp Müller [Sat, 8 Jan 2011 00:18:17 +0000 (00:18 +0000)]
tests: make git ignore new schroenc test binary
Tim-Philipp Müller [Sat, 8 Jan 2011 00:17:26 +0000 (00:17 +0000)]
tests: fix CFLAGS and LIBADD order in Makefile.am
Tim-Philipp Müller [Sat, 8 Jan 2011 00:08:11 +0000 (00:08 +0000)]
tests: never disable g_assert() and cast checks for the unit tests
The unit tests are riddled with g_assert() and friends, make sure we
don't disable assert and cast checks for the unit tests even if
this has been specified for the rest of the code base, e.g. via
--disable-glib-asserts.
Tim-Philipp Müller [Sat, 8 Jan 2011 00:01:01 +0000 (00:01 +0000)]
directfb: don't put code with side-effects into g_assert()
It will all be turned into a NOOP if -DG_DISABLE_ASSERT is used
(as it is for pre-releases and releases).
Tim-Philipp Müller [Fri, 7 Jan 2011 23:57:21 +0000 (23:57 +0000)]
xvidenc: don't put code with side effects into g_return_val_if_fail()
And don't use g_return*_if_fail() for error handling in elements.
Tim-Philipp Müller [Fri, 7 Jan 2011 18:49:02 +0000 (18:49 +0000)]
Revert "mpegvideoparse: fix timestamp generation"
This reverts commit
2271608c4314d6d0a685c18c5c47d55495586159.
This patch needs more work so it doesn't cause grave playback
regressions (multi-second freezes) with some files that have
slightly broken timestamps but play fine everywhere else.
https://bugzilla.gnome.org/show_bug.cgi?id=636279
https://bugzilla.gnome.org/show_bug.cgi?id=632222
Tim-Philipp Müller [Fri, 7 Jan 2011 15:47:39 +0000 (15:47 +0000)]
configure: fix --disable-external
Tim-Philipp Müller [Fri, 7 Jan 2011 14:51:46 +0000 (14:51 +0000)]
configure: use $LIBM instead of hard-coding -lm
Stefan Kost [Fri, 7 Jan 2011 13:22:07 +0000 (15:22 +0200)]
signalprocessor: don't leak the caps
Tim-Philipp Müller [Fri, 7 Jan 2011 02:10:33 +0000 (02:10 +0000)]
mpegtsdemux: fix PAT and PMT info-related object leaks
Edward Hervey [Thu, 6 Jan 2011 11:51:27 +0000 (12:51 +0100)]
jpegparse: Fix unitialized variable on macosx
Edward Hervey [Thu, 6 Jan 2011 11:50:14 +0000 (12:50 +0100)]
jp2kdecimator: Fix unitialized variables on macosx
Edward Hervey [Thu, 6 Jan 2011 11:49:43 +0000 (12:49 +0100)]
flacparse: Fix unitialized variable on macosx
David Schleef [Wed, 15 Dec 2010 23:58:48 +0000 (15:58 -0800)]
y4mdec: Fix copyright
David Schleef [Fri, 17 Dec 2010 22:50:50 +0000 (14:50 -0800)]
element-maker: improve pushsrc
Edward Hervey [Wed, 5 Jan 2011 15:43:45 +0000 (16:43 +0100)]
y4m: Fix unitialized variables on macosx
Tim-Philipp Müller [Wed, 5 Jan 2011 13:44:04 +0000 (13:44 +0000)]
dvbsuboverlay: some more minor clean-ups
Janne Grunau [Tue, 4 Jan 2011 15:03:01 +0000 (16:03 +0100)]
dvbsuboverlay: fix leak of "clear screen" DVBSubtitles structs
Janne Grunau [Tue, 4 Jan 2011 13:51:21 +0000 (13:51 +0000)]
dvbsuboverlay: fix two minor deinitialization memory leaks
Tim-Philipp Müller [Mon, 3 Jan 2011 23:55:59 +0000 (23:55 +0000)]
examples: dist camerabin2 example as well
https://bugzilla.gnome.org/show_bug.cgi?id=638604
Tim-Philipp Müller [Mon, 3 Jan 2011 23:49:51 +0000 (23:49 +0000)]
camerabin2: fix cflags and libs order in Makefile.am
Tim-Philipp Müller [Mon, 3 Jan 2011 23:47:33 +0000 (23:47 +0000)]
basecamerabinsrc: fix libs order in Makefile.am
Tim-Philipp Müller [Mon, 3 Jan 2011 23:46:02 +0000 (23:46 +0000)]
build: fix disting of experimental basecamerabinsrc lib used by camerabin2
https://bugzilla.gnome.org/show_bug.cgi?id=638604
Rob Clark [Mon, 3 Jan 2011 23:10:36 +0000 (17:10 -0600)]
dvb: fix build errors on macosx
fixes the following compile errors:
cc1: warnings being treated as errors
camswclient.c: In function 'cam_sw_client_open':
camswclient.c:81: warning: implicit declaration of function 'strncpy'
camswclient.c:81: warning: incompatible implicit declaration of built-in function 'strncpy'
camswclient.c:89: warning: implicit declaration of function 'strerror'
camswclient.c:89: warning: nested extern declaration of 'strerror'
camswclient.c:89: warning: format '%s' expects type 'char *', but argument 9 has type 'int'
camswclient.c: In function 'send_ca_pmt':
camswclient.c:129: warning: implicit declaration of function 'memcpy'
camswclient.c:129: warning: incompatible implicit declaration of built-in
function 'memcpy'
gstdvbsrc.c:48:19: error: error.h: No such file or directory
Signed-off-by: Rob Clark <rob@ti.com>
Janne Grunau [Mon, 3 Jan 2011 19:05:52 +0000 (20:05 +0100)]
dvbsuboverlay: remove unnecessary RGB -> YUV conversion by using YUV palettes
the default CLUTs still use RGB -> YUV conversions since the standard defines
them as RGBA values.
Tim-Philipp Müller [Mon, 3 Jan 2011 20:21:57 +0000 (20:21 +0000)]
m4: remove some cruft
Mark Nauwelaerts [Mon, 3 Jan 2011 16:24:23 +0000 (17:24 +0100)]
qtmux: adjust nasty case timestamp tracking
That is, all sorts of problems arise with re-ordered input timestamps that
tend to defy automagic handling for every case, so allow for a few variations
that can be tried depending on circumstances.
Also try to document accordingly.
Also fixes #638288.
Felipe Contreras [Thu, 30 Dec 2010 19:48:41 +0000 (21:48 +0200)]
qtmux: get rid of timestamp overprotectiveness
Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>