~ubuntu-branches/ubuntu/trusty/gstreamer1.0/trusty-proposed

« back to all changes in this revision

Viewing changes to docs/pwg/other-ntoone.xml

  • Committer: Package Import Robot
  • Author(s): Sebastian Dröge
  • Date: 2012-10-08 09:59:20 UTC
  • mfrom: (1.1.7)
  • Revision ID: package-import@ubuntu.com-20121008095920-3k2vlenl0zf6lu7i
Tags: 1.0.1-1
* New upstream stable release:
  + debian/libgstreamer.symbols:
    - Add new symbols.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
    and the N-to-1 element synchronizes those streams by
10
10
    expected-timestamp-based logic. This means it lets all streams wait
11
11
    except for the one that provides the earliest next-expected timestamp.
12
 
    When that stream has passwed one buffer, the next
 
12
    When that stream has passed one buffer, the next
13
13
    earliest-expected-timestamp is calculated, and we start back where we
14
14
    were, until all streams have reached EOS. There is a helper base class,
15
15
    called <classname>GstCollectPads</classname>, that will help you to do
72
72
{
73
73
  GstAviMux *mux = GST_AVI_MUX (gst_pad_get_parent (pad));
74
74
  GstStructure *str = gst_caps_get_structure (caps, 0);
75
 
  const gchar *mime = gst_structure_get_name (str);
 
75
  const gchar *media = gst_structure_get_name (str);
76
76
 
77
77
  if (!strcmp (str, "audio/mpeg")) {
78
78
    /* get version, make sure it's 1, get layer, make sure it's 1-3,