1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 from flumotion.common import gstreamer, messages
19 from flumotion.common.i18n import N_, gettexter
20 from flumotion.component import feedcomponent
21
22 __version__ = "$Rev$"
23 T_ = gettexter()
24
25
26 -class Multipart(feedcomponent.MuxerComponent):
27
29 if gstreamer.get_plugin_version('multipart') <= (0, 10, 16, 0):
30 m = messages.Warning(
31 T_(N_("Versions up to and including %s of the '%s' "
32 "GStreamer plug-in are not suitable for streaming.\n"),
33 '0.10.16', 'multipart'))
34 m.add(T_(N_("The stream served by the streamer component "
35 "will probably be unplayable.\n")))
36 m.add(T_(N_("The issue will be addressed in version %s of '%s'."),
37 '0.10.17', 'gst-plugins-good'))
38 self.addMessage(m)
39
41 return 'multipartmux name=muxer'
42