[pitivi: 19/28] track.py: use factory class name for gnlobjects created by TrackObjects
- From: Edward Hervey <edwardrv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi: 19/28] track.py: use factory class name for gnlobjects created by TrackObjects
- Date: Mon, 1 Mar 2010 10:59:10 +0000 (UTC)
commit 5c8176aae5b0a3a0a04f4e41e69aa6c5a2852142
Author: Brandon Lewis <brandon_lewis alum berkeley edu>
Date: Fri Dec 4 13:11:41 2009 -0800
track.py: use factory class name for gnlobjects created by TrackObjects
pitivi/timeline/track.py | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/timeline/track.py b/pitivi/timeline/track.py
index 87a89ee..a478959 100644
--- a/pitivi/timeline/track.py
+++ b/pitivi/timeline/track.py
@@ -642,11 +642,16 @@ class TrackObject(Signallable, Loggable):
raise NotImplementedError()
class SourceTrackObject(TrackObject):
+
+ numobjs = 0
+
def _makeGnlObject(self):
- source = gst.element_factory_make('gnlsource')
+ source = gst.element_factory_make('gnlsource',
+ "gnlsource: " + self.factory.__class__.__name__ +
+ str(SourceTrackObject.numobjs))
+ SourceTrackObject.numobjs += 1
return source
-
class Track(Signallable):
__signals__ = {
'start-changed': ['start'],
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]