~bcurtiswx/ubuntu/precise/empathy/3.4.2.1-0ubuntu1

« back to all changes in this revision

Viewing changes to src/empathy-video-src.c

  • Committer: Bazaar Package Importer
  • Author(s): Ken VanDine
  • Date: 2011-08-22 14:16:36 UTC
  • mto: (1.8.1 upstream) (163.1.1 oneiric-proposed)
  • mto: This revision was merged to the branch mainline in revision 157.
  • Revision ID: james.westby@ubuntu.com-20110822141636-i553k6njkvpdct3r
Tags: upstream-3.1.5.1
ImportĀ upstreamĀ versionĀ 3.1.5.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
370
370
 
371
371
  gst_element_get_state (priv->src, &state, NULL, 0);
372
372
 
373
 
  gst_element_set_state (priv->src, GST_STATE_NULL);
 
373
  g_return_if_fail (state == GST_STATE_NULL);
 
374
 
374
375
  g_object_set (priv->src, "device", device, NULL);
375
 
  gst_element_set_state (priv->src, state);
376
376
}
377
377
 
378
378
gchar *