Mark Nauwelaerts
8a3efc4431
mpeg4videoparse: simplify minimum frame size handling
2011-05-23 16:57:25 +02:00
Mark Nauwelaerts
dbb1fecf08
mpeg4videoparse: avoid stale parsing state
2011-05-23 16:57:25 +02:00
Mark Nauwelaerts
afb5b28d66
mpeg4videoparse: port to baseparse
2011-05-23 16:57:25 +02:00
Mark Nauwelaerts
409a51bcea
h264parse: gracefully handle truncated input NAL units
...
Rather than assert'ing in such case, emit warning if the length of a NAL unit
is less than expected 2 and discard it.
Based on patch by Benjamin M. Schwartz <bens@alum.mit.edu>
Fixes #650416 .
2011-05-23 16:57:25 +02:00
Thiago Santos
d25908cf81
camerabin2: Do not segfault on null locations
...
Prevent capture from starting when saving location is set to
NULL
2011-05-20 15:25:08 -03:00
Rafael Diniz
83b5b29639
mpeg[pt]sdemux: Add support for AAC LATM/LOAS streams
...
Fixes bug #615681 .
2011-05-20 10:00:02 +02:00
Stefan Kost
b1f0f2e83f
festival: don't leak fd on error
2011-05-20 00:20:07 +03:00
Stefan Kost
ed42bca0dd
librfb: don't leak password on error
2011-05-20 00:16:00 +03:00
David Schleef
a898d147ba
h264parse: max pps is 255
...
Fixes #650484 .
2011-05-18 13:38:09 -07:00
David Schleef
02daafb9ae
mpegtsmux: use gst debug for tsmux library
2011-05-18 12:06:38 -07:00
Stefan Kost
79e3b5b4bb
various: fix author tag in element details
2011-05-18 10:31:38 +03:00
Mark Nauwelaerts
c203fd52e8
h264parse: fix some buffer leaks
...
Fixes #650323 .
2011-05-17 12:34:37 +02:00
Mark Nauwelaerts
02e392ca83
h264parse: fixup boilerplate and debug code style
2011-05-17 12:34:30 +02:00
Thiago Santos
5dadb325ae
camerabin2: Remove obsolete imagecapturebin
...
imagecapturebin has been replaced by encodebin, no need
for it anymore
2011-05-16 18:08:41 -03:00
Thiago Santos
e2c67098e9
camerabin2: use jpeg as a container to force jifmux usage
...
Jifmux should be used as it can do xmp/exif tagging, so this patch
sets jpeg as a container to force it to be used together with
a jpeg encoder
2011-05-16 18:08:41 -03:00
Alessandro Decina
90221c4a82
camerabin2: do proper EOS handling on send_event(eos)
...
We first let the inner camera EOS. Then we manually post EOS on the image and
video sinks if those are <= READY and so have ignored EOS events.
2011-05-16 18:08:40 -03:00
Alessandro Decina
9e9507b645
camerabin2: use encodebin to encode images
2011-05-16 18:08:40 -03:00
Thiago Santos
993a98c238
jifmux: Bump rank to secondary
...
jifmux is being used for quite some time and has no open bugs
currently, so we can give it a secondary rank at least.
Fixes #649391
2011-05-16 18:08:40 -03:00
Thiago Santos
ad68fa5831
jifmux: Change class to formatter
...
jifmux is a formatter and not a muxer
Fixes #649391
2011-05-16 18:08:40 -03:00
Thiago Santos
0b02e595f3
camerabin2: Changing how some properties work
...
Some properties (like viewfinder-filter) only are taken into use
on NULL->READY transitions and the get/set property was returning
the currently in use value, instead of the last set.
This is bad, as after setting 'a' to 'x', you expect that getting 'a'
will return 'x'. This patch fixes it.
If needed, later we could add current-* properties that are readonly
and get the current value in use.
2011-05-16 18:08:40 -03:00
Lasse Laukkanen
a36edbc1ab
camerabin2: Updating PORTING file
2011-05-16 18:08:40 -03:00
Thiago Santos
56007404b6
camerabin2: Adding missing plugin error messages
...
Whenever a required plugin is missing, camerabin2 should post
a missing plugin message to the bus
2011-05-16 18:08:40 -03:00
Thiago Santos
1c8e1722eb
camerabin2: encodebin might not have the requested pad
...
handle the case where encodebin doesn't have the pad
camerabin2 is requesting, either because of its current profile
or because of missing elements, making it fail to provide
the pad
2011-05-16 18:08:40 -03:00
Thiago Santos
912800fb76
camerabin2: imagecapturebin: Fix tags merging mode
...
Use merge replace mode to allow new tags to override old ones
and fix the use case where the last sent tags should be serialized
to the captured images.
2011-05-16 18:08:39 -03:00
Thiago Santos
dfdc6255f8
camerabin2: Fix tag handling for videos
...
In video mode the tags should be pushed after sending the start capture
to the source, this allows the video recording elements to be reset
and leave the flushing state they were at after a previous capture.
This fixes the problem where tags only work for the first video capture
2011-05-16 18:08:39 -03:00
Thiago Santos
d8484f8279
camerabin2: Adding camera source documentation file
...
Adds a small text file with a brief description of
what is expected from a camerabin2 source element
2011-05-16 18:08:39 -03:00
Thiago Santos
7fd638bd0d
camerabin2: viewfinderbin: Post missing plugin messages
...
Makes viewfinderbin post missing plugin messages when it
can't create an internal elements
2011-05-16 18:08:39 -03:00
Thiago Santos
54a35ab879
camerabin2: Improve missing plugin message
...
Improves the message text for missing plugin messages from
camerabin2
2011-05-16 18:08:39 -03:00
Thiago Santos
4ca402a470
camerabin2: Update porting file
...
Update porting file with mention that stop-capture is now
async.
2011-05-16 18:08:38 -03:00
Robert Swain
10b6765fba
camerabin2: Fix debug print to show audio/video depending on pad type
2011-05-16 18:08:38 -03:00
Robert Swain
74d4030e3f
camerabin2: Fix order of element state change
...
To change the state of elements in a pipeline, we should mirror the
behaviour of GstBin which starts at the sink element and works its way
upstream.
2011-05-16 18:08:38 -03:00
Marc-André Lureau
e5fc7a9f13
gst/dccp: fix build on newer mingw
...
Fix this build error:
CC libgstdccp_la-gstdccpplugin.lo
In file included from ../../../gst/dccp/gstdccpclientsrc.h:29:0,
from ../../../gst/dccp/gstdccpplugin.c:24:
../../../gst/dccp/gstdccp_common.h:32:0: warning: WINVER redefined [enabled by default]
/usr/i686-w64-mingw32/sys-root/mingw/include/_mingw.h:231:0: note: this is the location of the previous definition
In file included from ../../../gst/dccp/gstdccpplugin.c:24:0:
../../../gst/dccp/gstdccpclientsrc.h:58:3: error: unknown type name 'uint8_t'
In file included from ../../../gst/dccp/gstdccpplugin.c:25:0:
../../../gst/dccp/gstdccpserversink.h:74:3: error: unknown type name 'uint8_t'
In file included from ../../../gst/dccp/gstdccpplugin.c:26:0:
../../../gst/dccp/gstdccpclientsink.h:67:3: error: unknown type name 'uint8_t'
In file included from ../../../gst/dccp/gstdccpplugin.c:27:0:
../../../gst/dccp/gstdccpserversrc.h:58:3: error: unknown type name 'uint8_t'
make: *** [libgstdccp_la-gstdccpplugin.lo] Error 1
https://bugzilla.gnome.org/show_bug.cgi?id=650171
2011-05-16 08:53:10 +02:00
Alessandro Decina
adc0817b2a
hls: fix handling of strol() overflows
2011-05-15 10:02:20 +02:00
Luis de Bethencourt
5435ae849e
coloreffects: Coding style fixes
2011-05-14 12:08:39 +02:00
Thiago Santos
72574962ef
camerabin: Use running time for muxing
...
This patch removes the audio source buffer probe that was used
to re-timestamp buffers to make them start from 0. As muxers
have been fixed to use running time instead of timestamps, this
is not needed anymore.
Fixes bug #646211
2011-05-06 12:45:28 -03:00
Thiago Santos
834dc9ca63
camerabin: Fix typo
2011-05-05 09:57:17 -03:00
Andoni Morales Alastruey
851e9b1f8d
hlsdemux: set duration in outgoing buffers
...
Currently we push each fragment as a single buffer.
2011-05-03 14:39:15 +01:00
Tim-Philipp Müller
7ec71fb446
hlsdemux: fix DURATION query handling
...
Only answer duration queries in TIME format with a duration
in seconds. Make sure we don't return GST_CLOCK_TIME_NONE as
duration (which is non-0, but still invalid/useless).
2011-05-03 12:01:25 +01:00
Tim-Philipp Müller
0d9dbd4c0f
hlsdemux: implement SEEKING query
2011-05-03 11:51:44 +01:00
Tim-Philipp Müller
04a9b099b7
Update orc-generated disted C backup code to orc 0.4.14
2011-04-30 19:46:40 +01:00
Tim-Philipp Müller
6c361963b1
chopmydata: don't push buffers smaller than min-size on eos
...
When pushing the remaining data on EOS, don't just push whatever
data is left in the adapter, but only push data that's at least
of min-size.
2011-04-30 19:16:03 +01:00
Tim-Philipp Müller
65f481ca63
chopmydata: don't mess with adapter from non-streaming thread on FLUSH_START
...
Don't try to push remaining data in the adapter on receiving a FLUSH event,
just flush the adapter. Do this on FLUSH_STOP, however, which is serialized,
unlike FLUSH_START, so we don't mess with the adapter at the same time as
the streaming thread.
2011-04-30 19:08:25 +01:00
Philip Jägenstedt
2084044112
y4mdec: add plugin description
...
https://bugzilla.gnome.org/show_bug.cgi?id=649005
2011-04-30 18:37:22 +01:00
Edward Hervey
21add205b7
tsdemux: Don't leak bufferlist on streams without pads
...
https://bugzilla.gnome.org/show_bug.cgi?id=648929
2011-04-29 12:47:34 +02:00
Edward Hervey
565f068049
mpegtsbase: Unref buffers we don't use.
...
Avoids a massive leak :)
https://bugzilla.gnome.org/show_bug.cgi?id=648929
2011-04-29 12:47:34 +02:00
Edward Hervey
c26ca36cf0
mpegtsbase: Don't forget to free the program streams array
...
https://bugzilla.gnome.org/show_bug.cgi?id=648929
2011-04-29 12:47:34 +02:00
Edward Hervey
390502a093
tsdemux: Free packet buffer even if it doesn't have a payload
...
This can happen with AFC-only packets. Avoids leaking buffers.
https://bugzilla.gnome.org/show_bug.cgi?id=648929
2011-04-29 12:47:34 +02:00
Tim-Philipp Müller
954977127b
0.10.21.3 pre-release
2011-04-28 00:00:09 +01:00
David Schleef
40f3b4a651
mpegtsdemux,tsdemux: Add byte-stream to h264 caps
...
Fixes #606662 .
2011-04-24 19:40:08 -07:00
David Schleef
55633f5e8f
mpegtsmux: Add byte-stream to h264 caps
2011-04-18 09:50:56 -07:00
Tim-Philipp Müller
e5813c9c2c
ext, gst: update disted orc backup files
2011-04-17 01:09:33 +01:00
Edward Hervey
b18bf6a018
jpegformat: Fix unitialized variable on macosx
2011-04-16 11:18:44 +02:00
Thiago Santos
19bd1e6d55
camerabin: Do not forget to unref the ffmpegcolorspace
...
Do not leak the ffmpegcolorspace by unrefing it at dispose
2011-04-15 07:53:43 -03:00
Tim-Philipp Müller
5d6bdf6052
Fix some unused-but-set-variable warnings with gcc 4.6
2011-04-15 00:24:47 +01:00
Tim-Philipp Müller
6f045cb4d8
asfmux: fix unused-but-set-variable warnings with gcc 4.6
2011-04-15 00:24:47 +01:00
Tim-Philipp Müller
276a1390c5
bayer: fix unused-but-set-variable warnings with gcc 4.6
2011-04-15 00:24:47 +01:00
Andoni Morales Alastruey
9334e819e5
hlsdemux: m3u8: return duration in nanoseconds
2011-04-14 15:36:06 +01:00
Andoni Morales Alastruey
9454003249
hlsdemux: fix handling of end of playlist
...
Don't send the EOS event until we reached the end of the playlist
and the queue is really empty.
2011-04-14 15:36:06 +01:00
Andoni Morales Alastruey
c890a212b6
hlsdemux: fix example pipeline
2011-04-14 15:36:01 +01:00
Andoni Morales Alastruey
3b19ade905
hlsdemux: ignore seek events until it's implemented
2011-04-14 11:47:50 +01:00
Andoni Morales Alastruey
b49461df48
hlsdemux: dispose the fetcher from the same thread it's created
2011-04-14 11:41:56 +01:00
Tim-Philipp Müller
3cadddba83
fpsdisplaysink:: fix compilation with older GLib
...
g_object_notify_by_pspec() is new in GLib 2.26, but we only require 2.22.
2011-04-14 11:28:58 +01:00
Olivier Crête
747f32a857
dtmf: Move duplicate #defines into a common include
...
Centralize duplicated constants so they have the same value.
Also standardise minimum tone duration to 250ms and minimum inter-tone
interval to 100ms.
2011-04-13 21:59:42 -04:00
Lasse Laukkanen
26553bfb1d
camerabin: Preserve unused imagebin or videobin on NULL
...
If video or image mode is never selected then respective bin is in NULL state.
Preserve this state when resetting camerabin from PAUSED to READY.
2011-04-13 22:34:35 -03:00
Stefan Kost
cb0d2e9da0
pnm: add LIBTOOLFLAGS = --tag=disable-static
2011-04-13 22:07:58 +03:00
Tim-Philipp Müller
6b4e797513
qtmux: remove qtmux plugin, it has moved to -good
...
https://bugzilla.gnome.org/show_bug.cgi?id=636699
2011-04-13 18:24:37 +01:00
Olivier Crête
3a0c6c6d60
dtmf: Remove leftover MAEMO_BROKEN defines
...
Remove defines to work around bugs in old Maemo releases
2011-04-12 16:42:48 -04:00
Lasse Laukkanen
ada43fe3bd
camerabin: Fix corner case for preview posting
...
Fix corner case where video preview image is not posted if stopping
video capture immediately after capture start.
2011-04-11 14:56:35 -03:00
Stefan Kost
b84dd0a766
jpegparse: subtract id-str size from the remaining read
...
Fixes a regression from the patches in bug #626618 .
2011-04-11 18:31:45 +03:00
Stefan Kost
3a4a0c492e
jpeg: set tags to NULL at init time and after freeing them
2011-04-11 18:30:17 +03:00
Stefan Kost
b67454b44e
jpeg: comment and logging changes
2011-04-11 18:29:28 +03:00
Víctor Manuel Jáquez Leal
824364d152
jpegparse: add gst_jpeg_parse_remove_marker()
...
This function will remove the whole marker from the buffer.
Also we set it as the default behavior for marker JPG{0-13}? in order to avoid
a useless #if
https://bugzilla.gnome.org/show_bug.cgi?id=626618
2011-04-11 10:38:09 +03:00
Víctor Manuel Jáquez Leal
0e27f49dd4
jpegparse: refactor COM parsing
...
add gst_jpeg_parse_com () and get_utf8_from_data () to extract and
validate comment format
https://bugzilla.gnome.org/show_bug.cgi?id=626618
2011-04-11 10:38:05 +03:00
Víctor Manuel Jáquez Leal
c9b2c4abfe
jpegparse: refactor APP1 parsing
...
add gst_jpeg_parse_app1 () and extract_and_queue_tags ()
https://bugzilla.gnome.org/show_bug.cgi?id=626618
2011-04-11 10:38:01 +03:00
Víctor Manuel Jáquez Leal
81991e3323
jpegparse: log id when skipping an unhandled APP marker
...
https://bugzilla.gnome.org/show_bug.cgi?id=626618
2011-04-11 10:37:57 +03:00
Víctor Manuel Jáquez Leal
a1f77eda32
jpegparse: skip all APP markers, excepting APP1
...
https://bugzilla.gnome.org/show_bug.cgi?id=626618
2011-04-11 10:37:52 +03:00
Víctor Manuel Jáquez Leal
51e57d439e
jpegparse: add get_tag_list ()
...
https://bugzilla.gnome.org/show_bug.cgi?id=626618
2011-04-11 10:37:49 +03:00
Thibault Saunier
17fd7ebcb4
android: make it ready for androgenizer
...
Remove the android/ top dir
Fixe the Makefile.am to be androgenized
To build gstreamer for android we are now using androgenizer which generates the needed Android.mk files.
Androgenizer can be found here: http://git.collabora.co.uk/?p=user/derek/androgenizer.git
2011-04-11 07:27:11 +02:00
Sebastian Dröge
eaf01f9709
fpsdisplaysink: Add last-message property and never print anything to stdout
...
Instead everything will be put into the last-message property and
gst-launch -v will print all changes of the property. This makes
the behaviour of fpsdisplay consistent with the fakesink/identity/etc
behaviour.
2011-04-09 10:07:49 +02:00
Sebastian Dröge
291a8048d1
fpsdisplaysink: Rename verbose property to silent for consistency
2011-04-09 10:05:05 +02:00
Tim-Philipp Müller
5365dbfdce
videoparsers: port to baseparse, which is now in libgstbase in core
2011-04-09 00:24:03 +01:00
David Schleef
38c6f6366c
scenechange: new scene change detection element
2011-04-08 15:51:04 -07:00
Tim-Philipp Müller
9bfac61f97
Remove audioparsers plugin, it has been moved to -good
2011-04-08 19:34:55 +01:00
Sebastian Dröge
a7cbd201b1
fpsdisplay: Use PROP_ instead of ARG_ for the property enums
2011-04-08 14:08:10 +02:00
Philippe Normand
26bc5537ce
fpsdisplay: Add verbose property
...
When this property is set to TRUE the element will display statistics
on stdout.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=647030
2011-04-08 14:06:10 +02:00
Mark Nauwelaerts
c77e11fd4a
mpegaudioparse: relax sync match a bit when draining
...
... to at least allow initial caps change (but no further caps jitter).
2011-04-07 18:33:33 +02:00
Robert Swain
4cd15193bb
fieldanalysis: Use RFF flag to indicate buffers to drop downstream
...
Use of the GAP flag is not really correct here and makes it difficult to
handle real GAP buffers in deinterlace. The RFF flag is unused and can
be reused with similar semantics - the buffers marked with RFF that are
in a telecine state contain only unneeded repeated fields and so can be
dropped.
2011-04-07 10:21:39 +02:00
Tim-Philipp Müller
9c5863ad35
camerabin: don't rely on the application running the default GLib main loop
...
Don't use g_idle_add() and friends to schedule things we can't do from the
streaming thread in another thread. The app may not be running the default
GLib main loop. Instead, just spawn a thread.
Also, we need to care for when acessing a pad variable, as another thread
might have taken camerabin to NULL while this gst_camerabin_imgbin_finished
didn't run.
https://bugzilla.gnome.org/show_bug.cgi?id=615655
2011-04-05 14:40:35 -03:00
Mark Nauwelaerts
1e22e29cd3
mpegaudioparse: require tighter sync match when draining
2011-04-04 20:56:32 +02:00
Mark Nauwelaerts
888dac9887
qtmux: more helpful debug error message when no needed duration on input buffers
...
Fixes #646256 .
2011-04-04 12:29:57 +02:00
Andoni Morales Alastruey
650418b9d8
hlsdemux: validate properly utf-8 playlist
2011-04-04 09:14:05 +02:00
Andoni Morales Alastruey
650142f054
hlsdemux: m3u8: clear the list of media files before updating the playlist
2011-04-04 09:13:41 +02:00
Andoni Morales Alastruey
e13ef203e3
hlsdemux: use and adapter instead of costful buffer joins
2011-04-04 09:13:26 +02:00
David Schleef
a8f047f689
Remove setting of plugindir from Makefiles
2011-04-01 13:54:02 -07:00
Thiago Santos
12f539c6bb
hlsdemux: Another windows build fix
...
Replace %lld with %u as GST_BUFFER_SIZE is a guint
2011-04-01 16:52:48 -03:00
Thiago Santos
944d54e359
hls: Fix compilation on windows
...
Use string literal on printing format
2011-04-01 16:12:50 -03:00
Thiago Santos
6a4be5a2ba
camerabin: Processing should stop on READY
...
The videobin and imagebin from camerabin have their states
locked and aren't put to READY when all the rest of camerabin
is set to it.
This might cause one of them to be still processing and post
an EOS after camerabin isn't expecting it anymore, this causes
an assertion as the processing counter would already be 0 and
would be decremented.
2011-04-01 13:42:33 -03:00
Sebastian Dröge
7858d65b4a
segmentclip: Keep a reference of events until the event is parsed
2011-04-01 15:02:36 +02:00
Sebastian Dröge
b2c90da38e
mpegaudioparse: Parse encoder delay and encoder padding from the LAME header if present
2011-04-01 15:02:36 +02:00
Tim-Philipp Müller
6edcf4fbe6
hlsdemux: update for media type was renaming from playlist/m3u8 to application/x-hls
2011-03-30 15:53:12 +01:00