Commit graph

116 commits

Author SHA1 Message Date
Wim Taymans
007cff6d75 Doc updates.
Original commit message from CVS:
* docs/design/part-MT-refcounting.txt:
* docs/design/part-clocks.txt:
* docs/design/part-gstelement.txt:
* docs/design/part-gstobject.txt:
* docs/design/part-standards.txt:
* gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
(gst_bin_remove_func), (gst_bin_remove):
* gst/gstbin.h:
* gst/gstbuffer.c:
* gst/gstcaps.h:
* testsuite/clock/clock1.c: (main):
* testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
(main):
* testsuite/dlopen/loadgst.c: (do_test):
* testsuite/refcounting/bin.c: (add_remove_test1),
(add_remove_test2), (main):
* testsuite/refcounting/element.c: (main):
* testsuite/refcounting/element_pad.c: (main):
* testsuite/refcounting/pad.c: (main):
* tools/gst-launch.c: (sigint_handler_sighandler):
* tools/gst-typefind.c: (main):
Doc updates.
Added doc about clock.
removed gst_bin_iterate_recurse_up(), marked methods
for removal.
Fix more testsuites.
2005-03-10 12:51:45 +00:00
Wim Taymans
c47dc4d853 First THREADED backport attempt, focusing on adding locks and making sure the API is threadsafe. Needs more work. Mor...
Original commit message from CVS:
First THREADED backport attempt, focusing on adding locks and
making sure the API is threadsafe. Needs more work. More docs
follow this week.
2005-03-07 18:27:42 +00:00
David Schleef
d84d463b1d tools/gst-launch.c: Fix deadlocks in signal.h-type signal handlers by not calling forbidden functions, including gst_...
Original commit message from CVS:
* tools/gst-launch.c: (idle_func), (fault_handler_sighandler),
(fault_handler_sigaction), (fault_spin),
(sigint_handler_sighandler), (play_handler), (main): Fix deadlocks
in signal.h-type signal handlers by not calling forbidden functions,
including gst_element_set_state().
2005-01-06 03:31:17 +00:00
Benjamin Otte
3d53a08118 gst/elements/gstfilesrc.c: work with non-regular files that can be mmapped (like /dev/zero)
Original commit message from CVS:
* gst/elements/gstfilesrc.c: (gst_filesrc_get_mmap):
work with non-regular files that can be mmapped (like /dev/zero)
* gst/elements/gsttypefindelement.c: (gst_type_find_element_chain):
get rid of typefinds that require a seek when we can't seek instead
of trying them over and over again
* tools/gst-launch.c: (idle_func), (error_cb), (main):
return non-zero failure value when the pipeline was interrupted or
an error occurred
2004-08-12 09:12:13 +00:00
Benjamin Otte
f1472b4ed2 gst/schedulers/entryscheduler.c: fix for GST_DISABLE_DEBUG
Original commit message from CVS:
* gst/schedulers/entryscheduler.c:
(gst_entry_scheduler_remove_element):
fix for GST_DISABLE_DEBUG
* tools/gst-launch.c: (print_tag):
fixes for G_DISABLE_ASSERT
2004-08-03 14:29:31 +00:00
David Schleef
23d19ce876 docs/random/ds/0.9-suggested-changes: more comments
Original commit message from CVS:
* docs/random/ds/0.9-suggested-changes: more comments
* tools/gst-launch.c: (idle_func): Fix hard-to-translate string.
2004-07-22 23:29:30 +00:00
David Schleef
ca7539c40e Changes to handle compilers that don't have variadic macro support. In particular, glib headers define some inlines ...
Original commit message from CVS:
Changes to handle compilers that don't have variadic macro
support.  In particular, glib headers define some inlines
that need G_LOG_DOMAIN defined.  Additional fixes for MSVC
builds.
* gst/Makefile.am:
* gst/cothreads.c:
* gst/elements/gstfdsink.c:
* gst/elements/gstfdsrc.c:
* gst/elements/gstfilesink.c:
* gst/elements/gstfilesrc.c:
* gst/gst_private.h:
* gst/gstatomic.c:
* gst/gstcaps.c: (gst_caps_append):
* gst/gstcpu.c: (gst_cpuid_i386):
* gst/gstelement.c:
* gst/gsterror.c:
* gst/gstfilter.c:
* gst/gstinfo.h:
* gst/gstprobe.c:
* gst/gstquery.c:
* gst/gstregistry.c:
* gst/gststructure.c:
* gst/gsttaginterface.c:
* gst/gsttrace.c: (gst_trace_new):
* gst/gsttrashstack.c:
* gst/gsturi.c:
* gst/gstvalue.c:
* gst/parse/grammar.y:
* gst/parse/parse.l:
* tools/gst-inspect.c: (main):
* tools/gst-launch.c: (main):
* tools/gst-xmlinspect.c: (PUT_STRING):
2004-05-07 02:36:28 +00:00
Thomas Vander Stichele
7baa6c18e7 don't mix tabs and spaces
Original commit message from CVS:
don't mix tabs and spaces
2004-03-15 19:27:17 +00:00
Thomas Vander Stichele
a967370df5 gst-indent run on core
Original commit message from CVS:
gst-indent run on core
2004-03-13 15:27:01 +00:00
Christophe Fergeau
4a20ac4ee6 tools/: add calls to bind_textdomain_codeset
Original commit message from CVS:
2004-03-02  Christophe Fergeau  <teuf@gnome.org>

* tools/gst-inspect.c: (main):
* tools/gst-launch.c: (main): add calls to bind_textdomain_codeset
2004-03-02 21:41:02 +00:00
Thomas Vander Stichele
b5186020ab add error symbol start translating gst-inspect
Original commit message from CVS:
add error symbol
start translating gst-inspect
2004-02-03 11:23:59 +00:00
Thomas Vander Stichele
68f5c775c5 fix output of typefind add GPL headers fix doc snippet
Original commit message from CVS:
fix output of typefind
add GPL headers
fix doc snippet
2004-01-20 14:09:42 +00:00
Thomas Vander Stichele
8e96cb73f6 translating parsing error messages
Original commit message from CVS:
translating parsing error messages
2004-01-13 14:23:44 +00:00
Thomas Vander Stichele
7e56c5435f update nl transition add gst-launch to be translated
Original commit message from CVS:
update nl transition
add gst-launch to be translated
2004-01-13 13:44:10 +00:00
Benjamin Otte
0ee999abcf don't use strdup_value_contents for strings
Original commit message from CVS:
don't use strdup_value_contents for strings
2003-11-24 22:10:06 +00:00
Benjamin Otte
385b9ee5c4 merge in tagging
Original commit message from CVS:
merge in tagging
Includes:
- gsttag.[ch] - The definition of GstTagList and tag registering/querying
- gsttaginterface.[ch] - Interface for elements that can handle setting of tags
- updates and merges to gststructure.[ch] and gstvalue.[ch]
- testsuite/tags - some tests for tagging
- bugfixes
- updates to make make distcheck work
- updates the version number to 0.7.2.1

Does not include:
- including tagging stuff in docs
- extensive tests
2003-11-24 02:09:23 +00:00
David Schleef
13916dae8f further i18n: call setlocale()
Original commit message from CVS:
further i18n: call setlocale()
2003-08-19 08:11:58 +00:00
Ronald S. Bultje
b5f3c4eaf9 Add SIGUSR1/SIGUSR2 as play/stop signals. Also add these to the documentation. Fixes #120065
Original commit message from CVS:
Add SIGUSR1/SIGUSR2 as play/stop signals. Also add these to the documentation. Fixes #120065
2003-08-19 05:43:55 +00:00
David Schleef
c61bcbef1f Add number-of-iterations option.
Original commit message from CVS:
Add number-of-iterations option.
2003-07-14 08:25:16 +00:00
David Schleef
2ebb88a354 Add SIGINT handling. ctrl-C is more graceful now
Original commit message from CVS:
Add SIGINT handling.  ctrl-C is more graceful now
2003-07-01 03:45:19 +00:00
Benjamin Otte
803ce6bf48 GST_DEBUG reorganization containing loads of stuff:
Original commit message from CVS:
GST_DEBUG reorganization
This is a big diff (ca 450k), containing loads of stuff:
- gstinfo.[ch] complete rewrite
- changing of all GST_DEBUG messages to reflect that change
- reorganization of subsystem disabling
- addition of gstconfig.h.in so we can track the disablings
- <gst/gst.h> does not include <unistd.h> and <config.h> anymore
- documentation updated for gstinfo stuff (build the docs yourself to know what changed)
- bugfixes for making of the docs (files from CVS are not deleted anymore
- testsuite for debugging changes in testsuite/debug

expect breakage
2003-06-29 14:05:49 +00:00
Benjamin Otte
7c9480e220 parsing returns elements, not bins - so put it into a pipeline if it's not a bin
Original commit message from CVS:
parsing returns elements, not bins - so put it into a pipeline if it's not a bin
2003-04-28 17:01:44 +00:00
David Schleef
3639eab50e Fall back on sa_handler if sa_sigaction doesn't work
Original commit message from CVS:
Fall back on sa_handler if sa_sigaction doesn't work
2003-04-13 21:11:12 +00:00
Benjamin Otte
087aebf604 patch to gst-launch - a pipeline parsing can result in an error even though a pipeline is returned
Original commit message from CVS:
patch to gst-launch - a pipeline parsing can result in an error even though a pipeline is returned
2003-04-10 01:40:03 +00:00
Benjamin Otte
c56b13bd2b work around popt bug
Original commit message from CVS:
work around popt bug
2003-04-04 20:33:05 +00:00
Wim Taymans
b030b5cef2 - Add more --disable options
Original commit message from CVS:
- Add more --disable options
- fix makefiles to only compile non-disabled features
- some compile fixes.
- removed extratypes, added gsturitype
- make get/set clock on a bin overridable
- some portability fixes for GUINT64
- separate pools from gstregistry.[ch] into gstregistrypool.[ch]
- make gstobject size fixed, even if we disabled load/save
- don't use 'new' as a variable as it is not a valib C++ variable
2003-02-10 20:32:32 +00:00
Wim Taymans
bc3553a799 Backport verbose option from 0.6.0
Original commit message from CVS:
Backport verbose option from 0.6.0
2003-02-03 20:30:59 +00:00
Wim Taymans
d7f8bbea1b - Add popt option to enable new tracing
Original commit message from CVS:
- Add popt option to enable new tracing
2003-02-02 19:22:31 +00:00
David Schleef
393033c6fa Convert %lld and %llu in printf formats to G_G[U]INT64_FORMAT. Fix pointer<->int conversion. Fixes warnings on alpha.
Original commit message from CVS:
Convert %lld and %llu in printf formats to G_G[U]INT64_FORMAT.  Fix
pointer<->int conversion.  Fixes warnings on alpha.
2003-02-01 20:29:27 +00:00
Wim Taymans
aaef425d99 Small fixes, improved query inspect
Original commit message from CVS:
Small fixes, improved query inspect
2003-01-07 20:49:46 +00:00
Wim Taymans
fbe8f4f657 Add flag to disable fault_setup()
Original commit message from CVS:
Add flag to disable fault_setup()
2002-12-30 18:29:16 +00:00
Wim Taymans
54ad9d5e6b Small cleanups
Original commit message from CVS:
Small cleanups
2002-12-19 20:59:48 +00:00
Wim Taymans
f7d73c91b2 ASYNC state changes are not an error.
Original commit message from CVS:
ASYNC state changes are not an error.
2002-12-08 20:08:39 +00:00
Wim Taymans
647618947f Print buffer stats even after failed state change.
Original commit message from CVS:
Print buffer stats even after failed state change.
2002-11-20 21:29:29 +00:00
David Schleef
96b9f9d5d1 Add automatic stack dumping on SIGSEGV and SIGQUIT
Original commit message from CVS:
Add automatic stack dumping on SIGSEGV and SIGQUIT
2002-11-14 02:49:16 +00:00
Wim Taymans
ebda7d920a Fix silly free twice bug
Original commit message from CVS:
Fix silly free twice bug
2002-09-24 18:41:16 +00:00
Thomas Vander Stichele
f12f450410 backports and fixes
Original commit message from CVS:
backports and fixes
2002-09-23 06:02:17 +00:00
Wim Taymans
d9e80e999a - Refactor the caps print function in -inspect
Original commit message from CVS:
- Refactor the caps print function in -inspect
- fix a leak in -launch
2002-09-17 21:32:26 +00:00
Wim Taymans
7fc83d1433 Fix the min value for the stats
Original commit message from CVS:
Fix the min value for the stats
2002-09-12 20:11:12 +00:00
Wim Taymans
7fc1800892 -inspect fixes for formats
Original commit message from CVS:
-inspect fixes for formats
-launch uses the default error/deep_notify handlers
2002-07-30 19:25:24 +00:00
Wim Taymans
abc329c725 - Make inspect show the event masks, formats and qupported query types.
Original commit message from CVS:
- Make inspect show the event masks, formats and qupported query types.
- convert enum values to something readable in -launch
2002-07-24 21:13:30 +00:00
Wim Taymans
550446c738 Also print event stats on exit.
Original commit message from CVS:
Also print event stats on exit.
2002-07-08 19:23:59 +00:00
Wim Taymans
d7ddba92e9 We are nano seconds now..
Original commit message from CVS:
We are nano seconds now..
2002-06-03 20:59:02 +00:00
Steve Baker
d4e56cc925 this wasn't actually needed
Original commit message from CVS:
this wasn't actually needed
2002-05-29 15:30:10 +00:00
Steve Baker
608589ef0d this seems to be needed when doing a pipeline like -launch { foo ! bar }
Original commit message from CVS:
this seems to be needed when doing a pipeline like -launch { foo ! bar }

Now you can run:
gst-launch --gst-mask=-1 { fakesrc ! fakesink }
to see what seems to be a double locking problem
2002-05-28 14:42:22 +00:00
Wim Taymans
086de421dc Totally rewritten registry handling.
Original commit message from CVS:
Totally rewritten registry handling.
- move the registry save/load code into a gstregistry subclass, this
will make it possible to use other registries (flat file, web based,
RDBMS type, etc..)
- a simple GMarkup xml registry is implemented
- use standard statically linked plugins for core elements.
- GstPlugin has a very well defined set of functions now
A little bytestream hack..
Added more info to -inspect.
Some more debugging info for clocking.
Small cleanups

I use ./gst-register --gst-plugin-path=/opt/src/sourceforge/gst-plugins/gst-libs:/opt/src/sourceforge/gst-plugins/
to register core and gst-plugins now.
2002-05-08 20:40:48 +00:00
Benjamin Otte
8e5c223871 fix bug with --gst-fatal-warnings when exclude_args is NULL
Original commit message from CVS:
fix bug with --gst-fatal-warnings when exclude_args is NULL
2002-04-17 00:18:04 +00:00
Benjamin Otte
5f8324949f yay, a new option to play with! added -X / --exclude to exclude output of specific properties. Currently only --exclu...
Original commit message from CVS:
yay, a new option to play with!
added -X / --exclude to exclude output of specific properties. Currently only --exclude will work because we're not on popt 1.6.3 yet (blame it on Debian).
removed the harcoded excluding of the 'offset' property. You need to specify --exclude=offset now if you want your old output back
2002-04-16 14:45:53 +00:00
Andy Wingo
70cfc6cb4d new parser that uses flex and bison
Original commit message from CVS:
* new parser that uses flex and bison
- doesn't do dynamic pipelines yet...
* added GErrors to the gst_parse_launch[v] api
* added --gst-mask-help command line option
* fixed -o option for gst-launch
* GstElement api change:
- gst_element_get_pad
- gst_element_get_request_pad, gst_element_get_static_pad
- gst_element_get_compatible_pad
- gst_element_get_compatible_static_pad, gst_element_get_compatible_request_pad
- gst_element_[dis]connect -> gst_element_[dis]connect_pads
- gst_element_[dis]connect_elements -> gst_element_[dis]connect
* manual update
* example, tool, and doc updates for the api changes
- no more plugin docs in the core docs, plugins require a more
extensive doc system
2002-04-07 23:32:16 +00:00
Benjamin Otte
8ae7350492 fix all compiler warnings
Original commit message from CVS:
fix all compiler warnings
2002-04-04 19:28:23 +00:00
Wim Taymans
06c7e989ef Get rid of the warning
Original commit message from CVS:
Get rid of the warning
2002-03-31 16:27:28 +00:00
Andy Wingo
cfb228b0f9 add notify back to filesrc, it's needed for MVC applications remove notify printouts from gst-launch cleanup in gst-p...
Original commit message from CVS:
* add notify back to filesrc, it's needed for MVC applications
* remove notify printouts from gst-launch
* cleanup in gst-plugins configure.ac
* some jack updates
* remove SELF_ITERATING flag in favor of SEF_SCHEDULABLE (not a clear name,
but it's what we have for the moment)
* improve parsing of request pad names, no more sscanf
* fixes to the fastscheduler Makefile.am
2002-03-30 19:31:14 +00:00
Wim Taymans
0e40bc56b6 Updates to the new props API
Original commit message from CVS:
Updates to the new props API
Some more info in -inspect
2002-03-30 17:06:45 +00:00
Andy Wingo
a43fadec2e s/gst_element_install_std_props/gst_element_class_install_std_props/ -- it just makes more sense that way added jack ...
Original commit message from CVS:
* s/gst_element_install_std_props/gst_element_class_install_std_props/ -- it just makes more sense that way
* added jack element, doesn't quite work right yet but i didn't want to lose the work -- it does build, register,
and attempt to run though
* imposed some restrictions on the naming of request pads to better allow for reverse parsing
* added '%s' to reverse parsing
* added new bin flag to indicate that it is self-iterating, and some lame code in gst-launch to test it out
* fixen on launch-gui
* added pkg-config stuff for the editor's libs
2002-03-18 04:41:37 +00:00
Benjamin Otte
1952e9d714 updated popt stuff:
Original commit message from CVS:
updated popt stuff:
- added 'gst_init_with_popt_table' to gst.h
- added a --silent option to launch to suppress g_object_notify events
2002-02-24 17:08:07 +00:00
Benjamin Otte
c3dd1a65b3 make -launch receive and print out errors.
Original commit message from CVS:
make -launch receive and print out errors.
There is also a fix to allow printing gint64 variables. This should be removed when GLib does it. Glib1.3.13 does not.
2002-02-06 19:10:38 +00:00
Andy Wingo
f7aa64cf33 core is glib2 only now tried to convert to g_strdup_value_contents as much as i could misc other fixes
Original commit message from CVS:
* core is glib2 only now
* tried to convert to g_strdup_value_contents as much as i could
* misc other fixes
2002-02-06 16:35:16 +00:00
Benjamin Otte
27d973f2bf <wingo> i thought _get gave you a copy of the string --- he's right
Original commit message from CVS:
<wingo> i thought _get gave you a copy of the string --- he's right
2002-02-06 15:02:26 +00:00
Benjamin Otte
173ccc9b28 bugfixing: always use the right GType when using g_object_get/set; do not free strings from g_object_get, they're not...
Original commit message from CVS:
bugfixing: always use the right GType when using g_object_get/set; do not free strings from g_object_get, they're not yours (see docs/design/part-standards.txt)
2002-02-06 08:23:10 +00:00
Benjamin Otte
7e4e644d51 make gst-launch property aware
Original commit message from CVS:
make gst-launch property aware
2002-02-06 07:10:37 +00:00
Andy Wingo
703f271947 minor cleanups
Original commit message from CVS:
minor cleanups
2002-01-15 05:58:45 +00:00
Andy Wingo
aa29faadef gst-xmllaunch works now. it's a separate target built from gst-launch.c, just with a different name. it can set the p...
Original commit message from CVS:
gst-xmllaunch works now. it's a separate target built from gst-launch.c, just with
a different name. it can set the properties of elements by name, as in
element.property=value. craete pipelines using gst-launch -o file.xml <pipeline description>
2002-01-15 05:57:14 +00:00
Andy Wingo
57dc4b544d doc and configure updates, and the beginnings of gst-xmllaunch
Original commit message from CVS:
doc and configure updates, and the beginnings of gst-xmllaunch
2002-01-14 07:18:43 +00:00
Andy Wingo
f38969ff25 fix doc build for glib2 remove template files from cvs, they are generated with gtkdoc-mktmpl new, cleaner interface ...
Original commit message from CVS:
* fix doc build for glib2
* remove template files from cvs, they are generated with gtkdoc-mktmpl
* new, cleaner interface to the parser facilities
* cleanups in gstparse.c
2002-01-14 04:09:56 +00:00
Andy Wingo
d262bea863 summary: fix xml in gstreamer 1) make clear distinction between loading xml that actually creates objects and loading...
Original commit message from CVS:
summary: fix xml in gstreamer

1) make clear distinction between loading xml that actually creates objects and loading xml that just
synchronizes properties with objects. moved most of gst_element_restore_thyself functionality to
gst_xml_make_element. this new function name can change if it sucks.
2) many various fixes. createxml and runxml work now.
3) doc updates.
4) GstSignalObject is stil broken. i have no idea what it's supposed to do.
2002-01-11 15:49:47 +00:00
Andy Wingo
441aeb13e9 for i in gstreamer-*; do mv $i echo $i | sed -e 's/gstreamer/gst/'; done
Original commit message from CVS:
for i in gstreamer-*; do mv $i `echo $i | sed -e 's/gstreamer/gst/'`; done

*THIS CHANGES PROGRAM NAMES*

gstreamer-register -> gst-register et al
no one expressed objections to this over a two-day period, so i went ahead and did it
this can be reverted if folks complain too much...
2002-01-04 19:46:40 +00:00
Renamed from tools/gstreamer-launch.c (Browse further)