gstreamer/gst-libs/gst/media-info
Tim-Philipp Müller 3c0cb95913 Add G_BEGIN_DECLS and G_END_DECLS around headers where missing, so that they work when included from C++ code
Original commit message from CVS:
Add G_BEGIN_DECLS and G_END_DECLS around headers where missing, so that they work when included from C++ code
2005-02-09 22:31:05 +00:00
..
.gitignore exciting .cvsignore updates! 2002-12-31 18:14:08 +00:00
Makefile.am update libtool version actually use it in media-info 2004-03-15 23:31:46 +00:00
media-info-priv.c Add name=source to the wavparse pipeline 2004-06-25 11:57:25 +00:00
media-info-priv.h Add G_BEGIN_DECLS and G_END_DECLS around headers where missing, so that they work when included from C++ code 2005-02-09 22:31:05 +00:00
media-info-test.c fixes for G_DISABLE_ASSERT and friends 2004-08-03 14:28:12 +00:00
media-info.c don't mix tabs and spaces 2004-03-15 19:32:25 +00:00
media-info.h *.h: Revert indenting 2004-03-15 16:32:53 +00:00
media-info.vcproj more working plugins 2004-07-27 21:41:30 +00:00
README some info 2004-03-15 17:19:06 +00:00

* media-info is a library to collect metadata and streaminfo from media
  files

* the current implementation is idler-based.

* you create a new media_info object
* you set the string name of a source element to use using g_object_set or
  gst_media_info_set_source
* you declare you'll read a given file by using gst_media_info_read_with_idler
* you loop gst_media_info_read_idler (info, &stream) as long as it returns TRUE
  and as long as stream is still NULL


* INTERNALS:
  - instance_init sets up the media info reader, its elements, and connects
    the deep_notify callback
  - read_with_idler resets the media info reader object,
    and sets location and flags

  - read_idler runs through a state machine:
    NULL - TYPEFIND - STREAM - METADATA - STREAMINFO - FORMAT

  - NULL: just returns find_type_pre, which moves state to TYPEFIND
  - TYPEFIND:
    - iterates as long as it can until it has priv->type 
    - find_type_post
    - call gmi_set_mime which creates a pipeline to decode stuff
    - move to STREAM

  - STREAM