Sebastian Dröge
747dfc09b2
baseparse: Remove obsolete code and move gap handling to the correct place
...
The segment start adjustment code in pull mode should never trigger
anymore because the bisection code earlier would have already made
sure that we're at the desired position.
Also move the gap handling some lines below after sending the currently
configured segments. Otherwise we might fill gaps in a segment that is
not configured downstream yet.
2012-03-05 14:23:17 +01:00
Sebastian Dröge
13930dad53
baseparse: Clear some more state when receiving FLUSH_STOP
...
Like pending serialized events and the currently cached buffer.
2012-03-05 13:12:18 +01:00
Sebastian Dröge
cd195f2143
baseparse: Only queue serialized events for sending them later
2012-03-05 13:01:14 +01:00
Tim-Philipp Müller
17985ac85e
libgstcheck: export gst_consistency_checker_add_pad()
...
Fix build of the adder unit test in -base again.
2012-03-05 00:34:36 +00:00
Stefan Sauer
7141ad3ce6
consitencychecker: don't fail on multiple flush_start events
...
This seems to be okay after a irc discussion.
2012-03-02 12:16:03 +01:00
Stefan Sauer
43a6f5a63d
consitencychecker: add handling for sink-pads
...
Add a pad-probe for sink-pads. One can now add extra pads (belonging to the same
element) to a checker. This allows us to extend the checks.
2012-02-29 22:00:16 +01:00
Stefan Sauer
ac03c328d5
consistencychecker: also check for duplicated flush_starts
2012-02-29 08:44:04 +01:00
Stefan Sauer
9fd063e404
collectpads2: add more logging
2012-02-28 20:36:59 +01:00
Edward Hervey
823807c5f0
Suppress deprecation warnings in selected files, for g_value_array_* mostly
2012-02-27 13:43:59 +01:00
Tim-Philipp Müller
64effe78e7
tests: make datetime test more reliably when comparing two almost identical nows
...
Account for rounding errors in some places, and that two nows are
not always entirely identical, so allow some leeway when comparing
microseconds and seconds. Ran into this too often, esp. when the
system is under load.
2012-02-27 09:37:22 +00:00
Stefan Sauer
daa5cae78b
collectpads2: rescue the annotation from collectpads
2012-02-26 23:11:23 +01:00
Stefan Sauer
6045e0f58f
docs: fix a typo in comment
2012-02-26 23:10:58 +01:00
Stefan Sauer
b9a6b3fc6e
collectpads2: move "MT save" tags to doc body
...
It is not useful to have "MT safe" tags randomly in body, returns or since paragraphs.
2012-02-26 22:57:02 +01:00
Tim-Philipp Müller
4594e4311d
fdsink: implement GstBaseSink::query instead of messing with the pad
2012-02-25 15:18:00 +00:00
Tim-Philipp Müller
965c610028
fdsink: implement SEEKING query
...
We may or may not support seeking. stdout to a
terminal doesn't support seeking, for example, but
... ! fdsink > file.foo just might.
2012-02-25 15:08:55 +00:00
Tim-Philipp Müller
82a9544385
filesink: implement SEEKING query
...
We may or may not do seeking, depends on the
output file/device really, it doesn't have to
be a file after all.
2012-02-25 15:07:43 +00:00
Tim-Philipp Müller
c5b335a0e2
fakesink: answer SEEKING query
...
We don't do seeking, in case anyone wants to know.
2012-02-25 15:07:05 +00:00
Tim-Philipp Müller
031514faeb
registry: fix lseek() return code handling
...
lseek() returns the offset if successful, and this is != 0 and
does not indicate an error. And if it does actually fail, don't
return FALSE (0) as an int, but -1. None of these things are
likely to have made a difference, ever. I don't think the offset
seek can ever actually happen, the current file position and the
current offset should always be increased in lock step, unless
there was an error in which case we'd just error out.
2012-02-24 23:49:54 +00:00
Tim-Philipp Müller
c25b8e153d
registry: don't forget to clean up registry temp file in another error case
...
Also clean up temp file if we get an error during write() rather
than just when doing fsync() or close().
2012-02-24 23:49:54 +00:00
Tim-Philipp Müller
0e8a77f83d
Update NEWS and RELEASE as well
2012-02-23 12:09:31 +00:00
Tim-Philipp Müller
911f072f4c
Bump version after releases
2012-02-23 10:36:57 +00:00
Ryan Lortie
31861969a9
build: avoid touching .po files during 'make'
...
A simple workaround to deal with GNU gettext automake integration
failing to deal with git.
https://bugzilla.gnome.org/show_bug.cgi?id=669207
2012-02-21 16:48:58 -08:00
Mark Nauwelaerts
c8ea9994aa
baseparse: fix reverse playback
...
... especially for all-keyframe (audio) cases.
2012-02-13 18:14:02 +01:00
Mark Nauwelaerts
954dd59fdd
baseparse: bitrate mechanics should not deal with duration update
...
... since that is already handled by _update_duration, or should not be done
altogether if the duration is determined by non-estimated means.
Fixes #669502 .
2012-02-10 14:47:00 +01:00
Havard Graff
609e618e70
registry: fix compilation with --disable-registry
...
__registry_reuse_plugin_scanner is only defined when
GST_DISABLE_REGISTRY is not defined.
gstregistry.c: In function 'gst_registry_scan_plugin_file':
gstregistry.c:1131:8: error: '__registry_reuse_plugin_scanner' undeclared (first use in this function)
https://bugzilla.gnome.org/show_bug.cgi?id=667284
2012-02-04 15:52:21 +00:00
Vincent Penquerc'h
ec7a7c318a
bin: reset the EOS detection machinery after sending an EOS message
...
This will allow detecting further EOS, for instance after looping
a stream without changing states.
https://bugzilla.gnome.org/show_bug.cgi?id=668289
2012-02-03 11:23:28 +00:00
Ryan Lortie
1f1f6e0ed5
autogen.sh: allow calling from out-of-tree
...
https://bugzilla.gnome.org/show_bug.cgi?id=667664
2012-02-02 17:11:55 +00:00
João Paulo Pizani Flor
3af9544f95
Fixes the lack of an include directive in gst/gstpreset.h
...
It blocked the build of external libraries depending on gstreamer-core (namely, gstreamermm).
Complete bug report at https://bugzilla.gnome.org/show_bug.cgi?id=669036
2012-01-30 17:22:59 +00:00
Sebastian Dröge
9945b2cd88
collectpads2: Move private fields from the public structs to private structs
...
Fixes bug #668764 .
2012-01-27 15:03:46 +01:00
Vincent Penquerc'h
68a091303f
gstplugin: add a few consts to read only data
2012-01-27 11:32:12 +00:00
Tim-Philipp Müller
e1dbab9bea
scripts: set GI_TYPELIB_PATH in gst-uninstalled
...
So pygi finds/uses the local g-i files.
2012-01-21 13:17:57 +00:00
Vincent Penquerc'h
28d5e81503
libcheck: make the definition of fail not fail with non GCC compilers
2012-01-20 18:06:04 +00:00
Colin Walters
8accd77659
build: add --disable-fatal-warnings configure option
...
It's reasonable to build from git, but not want to turn all compiler
warnings into fatal errors. For example, GNOME's jhbuild helps people
get newer versions of software than came from their distribution, but
they may not necessarily want to hack on it.
2012-01-19 13:45:06 +00:00
Mark Nauwelaerts
4f697df84c
tests: clockstress: perform sanity check on thread number argument
2012-01-19 12:58:29 +01:00
Vincent Penquerc'h
6ede81d18e
gst-inspect: plug factory leak on error
2012-01-13 10:43:41 +00:00
Antoine Tremblay
df6de8fe0c
baseparse: clear adapter in reset so baseparse is reusable
...
GstBaseParse was not clearing its adapter on reset causing
problems when a pipeline went for example from PLAYING to NULL
state and then back to PLAYING again. The data from the last
stream would be used in the parser.
https://bugzilla.gnome.org/show_bug.cgi?id=667444
2012-01-12 19:53:11 +00:00
Vincent Penquerc'h
f460cea1d7
gstinspect: fix features and list leaks
2012-01-12 15:50:53 +00:00
Vincent Penquerc'h
98c99630ad
gststructure: clarify _get docs about the returned reference
...
https://bugzilla.gnome.org/show_bug.cgi?id=667689
2012-01-11 12:23:25 +00:00
Havard Graff
bea0ed2fc1
basesink: don't compensate for render-delay twice
...
https://bugzilla.gnome.org/show_bug.cgi?id=667298
2012-01-05 18:04:22 +00:00
Idar Tollefsen
17d5f4dc31
build: don't output configure options via autogen if $NOCONFIGURE is set
...
https://bugzilla.gnome.org/show_bug.cgi?id=667296
2012-01-05 01:13:01 +00:00
Tim-Philipp Müller
1aec7a3d72
gst: include locale.h before any other i18n headers
...
This is also how we do it in -base.
https://bugzilla.gnome.org/show_bug.cgi?id=667290
2012-01-05 00:32:42 +00:00
Idar Tollefsen
c8c961ac81
gstconfig.h: adds and uses SunPro visibility attribute for proper function exports
...
Define GST_EXPORT for SunPro.
https://bugzilla.gnome.org/show_bug.cgi?id=667289
2012-01-05 00:08:19 +00:00
Idar Tollefsen
b9b3795c3c
plugins: explicitly cast initialization values to the correct type
...
https://bugzilla.gnome.org/show_bug.cgi?id=667288
2012-01-04 23:59:57 +00:00
Idar Tollefsen
f0e121c197
poll: include correct poll.h based on autoconf test
...
https://bugzilla.gnome.org/show_bug.cgi?id=667286
2012-01-04 23:47:46 +00:00
Tim-Philipp Müller
1bf892ba02
configure: check for sys/poll.h
...
https://bugzilla.gnome.org/show_bug.cgi?id=667286
2012-01-04 23:46:19 +00:00
Tim-Philipp Müller
cb23beda4f
tags: add GST_TAG_LANGUAGE_NAME
...
API: GST_TAG_LANGUAGE_NAME
2012-01-02 00:17:17 +00:00
David Schleef
3664bfd367
convert Makefile spaces to tabs
2011-12-31 17:38:15 -08:00
Thiago Santos
71fe1ad070
output-selector: Do not false warn about unlinked pad
...
When output-selector didn't receive a newsegment event it would
warn about pad being unlinked when switching pads. Making the logs
wrong and misleading.
2011-12-29 16:59:29 -03:00
Tim-Philipp Müller
ee7f9f4228
value: micro-optimisation: avoid some unnecessary g_value_unset()
...
We know there's nothing to do here and can save us the function
calls and GValueTable lookups.
2011-12-26 11:27:07 +00:00
Tim-Philipp Müller
8a932dbca6
filesrc: return any remaining data on EOS before returning FLOW_UNEXPECTED
2011-12-25 12:42:11 +00:00