---
name: "GStreamer::Message::StateChanged"
section: "3pm"
platform: "linux"
package: "libgstreamer-perl"
version: "0.19-1+b1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/GStreamer::Message::StateChanged"
---

# GStreamer::Message::StateChanged(3pm)

Lightweight objects to signal the application of pipeline events

## NAME

GStreamer::Message::StateChanged -  Lightweight objects to signal the application of pipeline events

## METHODS

### GstMessage = GStreamer::Message::StateChanged-\>new ($src, $oldstate, $newstate, $pending)

- •

  `$src` (GStreamer::Object)

- •

  `$oldstate` (GStreamer::State)

- •

  `$newstate` (GStreamer::State)

- •

  `$pending` (GStreamer::State)

### state = $message-\>new\_state

### state = $message-\>old\_state

### state = $message-\>pending

## ENUMS AND FLAGS

### enum GStreamer::State

- •

  'void-pending' / 'GST\_STATE\_VOID\_PENDING'

- •

  'null' / 'GST\_STATE\_NULL'

- •

  'ready' / 'GST\_STATE\_READY'

- •

  'paused' / 'GST\_STATE\_PAUSED'

- •

  'playing' / 'GST\_STATE\_PLAYING'

## SEE ALSO

GStreamer

## COPYRIGHT

Copyright (C) 2005-2011 by the gtk2-perl team.

This software is licensed under the LGPL.  See GStreamer for a full notice.
