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

« back to all changes in this revision

Viewing changes to gst/gstelement.h

  • Committer: Package Import Robot
  • Author(s): Sebastian Dröge
  • Date: 2012-08-08 18:12:33 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20120808181233-riejwxprfsxh1njl
Tags: 0.11.93-1
* New upstream release:
  + debian/libgstreamer.symbols:
    - Update symbols file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
127
127
 * @elem: a #GstElement to return the target state for.
128
128
 *
129
129
 * This macro returns the target #GstState of the element.
130
 
 *
131
 
 * Since: 0.10.13
132
130
 */
133
131
#define GST_STATE_TARGET(elem)          (GST_ELEMENT_CAST(elem)->target_state)
134
132
 
313
311
 
314
312
/**
315
313
 * GstElementFlags:
316
 
 * @GST_ELEMENT_FLAG_UNPARENTING: Child is being removed from the parent bin.
317
 
 *  gst_bin_remove() on a child already being removed immediately returns FALSE
318
314
 * @GST_ELEMENT_FLAG_LOCKED_STATE: ignore state changes from parent
319
315
 * @GST_ELEMENT_FLAG_SINK: the element is a sink
320
 
 * @GST_ELEMENT_FLAG_SOURCE: the element is a source. Since 0.10.31
 
316
 * @GST_ELEMENT_FLAG_SOURCE: the element is a source.
321
317
 * @GST_ELEMENT_FLAG_PROVIDE_CLOCK: the element can provide a clock
322
318
 * @GST_ELEMENT_FLAG_REQUIRE_CLOCK: the element requires a clock
323
319
 * @GST_ELEMENT_FLAG_INDEXABLE: the element can use an index
327
323
 */
328
324
typedef enum
329
325
{
330
 
  GST_ELEMENT_FLAG_UNPARENTING    = (GST_OBJECT_FLAG_LAST << 0),
331
 
  GST_ELEMENT_FLAG_LOCKED_STATE   = (GST_OBJECT_FLAG_LAST << 1),
332
 
  GST_ELEMENT_FLAG_SINK           = (GST_OBJECT_FLAG_LAST << 2),
333
 
  GST_ELEMENT_FLAG_SOURCE         = (GST_OBJECT_FLAG_LAST << 3),
334
 
  GST_ELEMENT_FLAG_PROVIDE_CLOCK  = (GST_OBJECT_FLAG_LAST << 4),
335
 
  GST_ELEMENT_FLAG_REQUIRE_CLOCK  = (GST_OBJECT_FLAG_LAST << 5),
336
 
  GST_ELEMENT_FLAG_INDEXABLE      = (GST_OBJECT_FLAG_LAST << 6),
 
326
  GST_ELEMENT_FLAG_LOCKED_STATE   = (GST_OBJECT_FLAG_LAST << 0),
 
327
  GST_ELEMENT_FLAG_SINK           = (GST_OBJECT_FLAG_LAST << 1),
 
328
  GST_ELEMENT_FLAG_SOURCE         = (GST_OBJECT_FLAG_LAST << 2),
 
329
  GST_ELEMENT_FLAG_PROVIDE_CLOCK  = (GST_OBJECT_FLAG_LAST << 3),
 
330
  GST_ELEMENT_FLAG_REQUIRE_CLOCK  = (GST_OBJECT_FLAG_LAST << 4),
 
331
  GST_ELEMENT_FLAG_INDEXABLE      = (GST_OBJECT_FLAG_LAST << 5),
337
332
  /* padding */
338
333
  GST_ELEMENT_FLAG_LAST           = (GST_OBJECT_FLAG_LAST << 10)
339
334
} GstElementFlags;
394
389
 *
395
390
 * This macro returns the start_time of the @elem. The start_time is the
396
391
 * running_time of the pipeline when the element went to PAUSED.
397
 
 *
398
 
 * Since: 0.10.24
399
392
 */
400
393
#define GST_ELEMENT_START_TIME(elem)            (GST_ELEMENT_CAST(elem)->start_time)
401
394
 
467
460
 * the application of something noteworthy that is not an error.
468
461
 * The pipeline will post a info message and the
469
462
 * application will be informed.
470
 
 *
471
 
 * Since: 0.10.12
472
463
 */
473
464
#define GST_ELEMENT_INFO(el, domain, code, text, debug)                 \
474
465
G_STMT_START {                                                          \
535
526
 * state will yield the running_time against the clock.
536
527
 * @start_time: the running_time of the last PAUSED state
537
528
 * @numpads: number of pads of the element, includes both source and sink pads.
538
 
 * @pads: list of pads
 
529
 * @pads: (element-type Gst.Pad): list of pads
539
530
 * @numsrcpads: number of source pads of the element.
540
 
 * @srcpads: list of source pads
 
531
 * @srcpads: (element-type Gst.Pad): list of source pads
541
532
 * @numsinkpads: number of sink pads of the element.
542
 
 * @sinkpads: list of sink pads
 
533
 * @sinkpads: (element-type Gst.Pad): list of sink pads
543
534
 * @pads_cookie: updated whenever the a pad is added or removed
544
535
 *
545
536
 * GStreamer element abstract base class.
761
752
gboolean                gst_element_send_event          (GstElement *element, GstEvent *event);
762
753
gboolean                gst_element_seek                (GstElement *element, gdouble rate,
763
754
                                                         GstFormat format, GstSeekFlags flags,
764
 
                                                         GstSeekType cur_type, gint64 cur,
 
755
                                                         GstSeekType start_type, gint64 start,
765
756
                                                         GstSeekType stop_type, gint64 stop);
766
757
gboolean                gst_element_query               (GstElement *element, GstQuery *query);
767
758