GStreamer multimedia framework
Go to file
Andy Wingo e040bb2dbe gst/gstelement.h (GstState): Renamed from GstElementState, changed to be a normal enum instead of flags.
Original commit message from CVS:
2005-09-02  Andy Wingo  <wingo@pobox.com>

* gst/gstelement.h (GstState): Renamed from GstElementState,
changed to be a normal enum instead of flags.
(GstStateChangeReturn): Renamed from GstElementStateReturn, names
munged to be GST_STATE_CHANGE_*.
(GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
work with the new state representation.
(GstStateChange): New enumeration of possible state transitions.
Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
(GstElementClass::change_state): Pass the GstStateChange along as
an argument. Helps language bindings, so they don't have to use
tricky lock-needing macros like GST_STATE_CHANGE ().

* scripts/update-states (file): New script. Run it on a file to
update it for state naming and API changes. Updates files in
place.

* All files updated for the new API.
2005-09-02 15:42:00 +00:00
check gst/gstelement.h (GstState): Renamed from GstElementState, changed to be a normal enum instead of flags. 2005-09-02 15:42:00 +00:00
common@cd012821aa gst/: fix a bunch of unchecked return values 2005-09-02 12:08:45 +00:00
components don't mix tabs and spaces 2004-03-15 19:27:17 +00:00
docs gst/gstelement.h (GstState): Renamed from GstElementState, changed to be a normal enum instead of flags. 2005-09-02 15:42:00 +00:00
examples gst/gstelement.h (GstState): Renamed from GstElementState, changed to be a normal enum instead of flags. 2005-09-02 15:42:00 +00:00
gst gst/gstelement.h (GstState): Renamed from GstElementState, changed to be a normal enum instead of flags. 2005-09-02 15:42:00 +00:00
include configure.ac: remove all mmx stuff, because it's not used. 2004-12-14 06:20:10 +00:00
libs gst/gstelement.h (GstState): Renamed from GstElementState, changed to be a normal enum instead of flags. 2005-09-02 15:42:00 +00:00
pkgconfig add pluginsdir to pkgconfig files 2005-08-24 16:46:10 +00:00
plugins gst/gstelement.h (GstState): Renamed from GstElementState, changed to be a normal enum instead of flags. 2005-09-02 15:42:00 +00:00
po added long/short desc for controller docs added collectpads base class docs added correct includes to base-class docs 2005-08-05 12:59:46 +00:00
scripts gst/gstelement.h (GstState): Renamed from GstElementState, changed to be a normal enum instead of flags. 2005-09-02 15:42:00 +00:00
tests gst/gstelement.h (GstState): Renamed from GstElementState, changed to be a normal enum instead of flags. 2005-09-02 15:42:00 +00:00
testsuite gst/gstelement.h (GstState): Renamed from GstElementState, changed to be a normal enum instead of flags. 2005-09-02 15:42:00 +00:00
tools gst/gstelement.h (GstState): Renamed from GstElementState, changed to be a normal enum instead of flags. 2005-09-02 15:42:00 +00:00
win32 gst/gstelement.h (GstState): Renamed from GstElementState, changed to be a normal enum instead of flags. 2005-09-02 15:42:00 +00:00
.gitignore ignore more; fix README 2005-06-17 08:59:41 +00:00
.gitmodules Added a first stab at a better clocking system. 2002-02-03 20:07:09 +00:00
AUTHORS put the same mail for Zaheer Merali everywhere 2004-12-11 13:42:02 +00:00
autogen.sh ignore already applied patch 2005-04-10 18:19:18 +00:00
ChangeLog gst/gstelement.h (GstState): Renamed from GstElementState, changed to be a normal enum instead of flags. 2005-09-02 15:42:00 +00:00
CHANGES-0.9 Some docs updates 2005-07-27 18:33:03 +00:00
configure.ac Add metadata reading example that loops over a list of filenames, dumping any tags found. 2005-08-26 13:28:01 +00:00
COPYING COPYING: replace by LGPL (former COPYING.LIB). The core is completely licensed LGPL. 2004-03-29 13:32:32 +00:00
DEVEL more registry fixes 2002-04-12 18:50:48 +00:00
DOCBUILDING fix really old / no more relevant info on devhelp support/integration 2004-09-27 19:59:08 +00:00
gst-element-check.m4 Only check for gst-inspect if we haven't already found it in previous element check runs 2005-01-25 14:03:12 +00:00
gst-element-check.m4.in Only check for gst-inspect if we haven't already found it in previous element check runs 2005-01-25 14:03:12 +00:00
gstreamer.spec.in clean up spec some more 2005-09-02 12:11:54 +00:00
idiottest.mak idiottest was failing because of change of PLUGIN_USE_SRCDIR to 2001-06-19 12:53:05 +00:00
INSTALL initial checkin 2000-01-30 09:03:00 +00:00
LICENSE Adding explicit license information, since quite a large number of source files don't have the LGPL header. This is ... 2000-08-05 03:53:00 +00:00
MAINTAINERS adding more people to maintainers doc and minor cosmetic change to REQUIREMENTS doc 2004-12-17 14:10:59 +00:00
Makefile.am better report genration target (lcov needs a patch) 2005-07-05 12:17:24 +00:00
NEWS back to head 2005-06-18 22:33:14 +00:00
README incorporate plugins stuff and uninstalled stuff 2005-06-17 09:58:38 +00:00
RELEASE back to head 2005-06-18 22:33:14 +00:00
REQUIREMENTS adding more people to maintainers doc and minor cosmetic change to REQUIREMENTS doc 2004-12-17 14:10:59 +00:00
stamp.h.in initial checkin 2000-01-30 09:03:00 +00:00
TODO have a real TODO, move old TODO 2005-06-09 12:03:04 +00:00

WHAT IT IS
----------
This is GStreamer, a framework for streaming media.

This package is in the 0.9.x series.  This means that this is a
development series leading up to a stable 0.10.x series.
You have been warned.

OVERVIEW
--------
GStreamer is split up over a number of modules, tarballs and packages:

- gstreamer:
  The core.  It contains the main library and header files, as well as
  some fundamental elements.  Every GStreamer project needs at least this
  installed.
- gst-plugins-base:
  A base set of plugins.  This set is the set we actively keep synchronized
  with the core and are also meant to serve as examples on how to write
  GStreamer elements.  It also contains a number of base classes for writing
  GStreamer elements.

INSTALLING FROM PACKAGES
------------------------
You should always prefer installing from packages first.  GStreamer is
well-maintained for a number of distributions, including Fedora, Debian,
Ubuntu, Mandrake, Gentoo, ...

Only in cases where you:
- want to hack on GStreamer
- want to verify that a bug has been fixed
- do not have a sane distribution
should you choose to build from source tarballs or CVS.

Find more information about the various packages at
http://gstreamer.freedesktop.org/download/

COMPILING FROM SOURCE TARBALLS
------------------------------
- again, make sure that you really need to install from source !
  If GStreamer is one of your first projects ever that you build from source,
  consider taking on an easier project.

- check output of ./configure --help to see if any options apply to you
- run
  ./configure
  make

  to build GStreamer.
- if you want to install it (not required), run
  make install
- You should create a registry for things to work.
  If you ran make install in the previous step, run
  gst-register
  as root.

  If you didn't install, run
  tools/gst-register
  as a normal user.

- try out a simple test:
  gst-launch fakesrc num_buffers=5 ! fakesink
  (If you didn't install GStreamer, again prefix gst-launch with tools/)

  If it outputs a bunch of messages from fakesrc and fakesink, everything is
  ok.

- After this, you're ready to install gst-plugins, which will provide the
  functionality you're probably looking for by now, so go on and read
  that README.

COMPILING FROM CVS
------------------
When building from CVS sources, you will need to run autogen.sh to generate 
the build system files.

You will need a set of additional tools typical for building from CVS,
including:
- autoconf
- automake
- libtool

autogen.sh will check for recent enough versions and complain if you don't have
them.  You can also specify specific versions of automake and autoconf with
--with-automake and --with-autoconf

Check autogen.sh options by running autogen.sh --help

autogen.sh can pass on arguments to configure - you just need to separate them
from autogen.sh with -- between the two.
prefix has been added to autogen.sh but will be passed on to configure because
some build scripts like that.

When you have done this once, you can use autoregen.sh to re-autogen with
the last passed options as a handy shortcut.  Use it.

After the autogen.sh stage, you can follow the directions listed in
"COMPILING FROM SOURCE"

You can also run your whole cvs stack uninstalled.  The script in
the gstreamer module /docs/faq/gst-uninstalled) is helpful in setting
up your environment for this.

PLUG-IN DEPENDENCIES AND LICENSES
---------------------------------
GStreamer is developed under the terms of the LGPL (see LICENSE file for
details). Some of our plug-ins however rely on libraries which are available
under other licenses. This means that if you are using an application which
has a non-GPL compatible license (for instance a closed-source application)
with GStreamer, you have to make sure not to use GPL-linked plug-ins.
When using GPL-linked plug-ins, GStreamer is for all practical reasons
under the GPL itself.

HISTORY
-------
The fundamental design comes from the video pipeline at Oregon Graduate
Institute, as well as some ideas from DirectMedia.  It's based on plug-ins that
will provide the various codec and other functionality.  The interface
hopefully is generic enough for various companies (ahem, Apple) to release
binary codecs for Linux, until such time as they get a clue and release the
source.