summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2010-02-14 10:56:17 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2010-02-14 10:56:17 +0100
commit1c727017c31085d34b08ae73cab2b272369795db (patch)
tree99771af968e6a60acdf2443ae3e9805a6474d4f0
parent3e97e740eacd33e87c676495010841e9c7936ae0 (diff)
Don't fail to update the plugin inspect files if one plugin can't be found
...for example when updating on Linux where the DirectSound/DirectDraw plugins are not available.
-rw-r--r--gstreamer-sharp/badplugins/Makefile.am2
-rw-r--r--gstreamer-sharp/baseplugins/Makefile.am2
-rw-r--r--gstreamer-sharp/baseplugins/inspect/ximagesink.raw2
-rw-r--r--gstreamer-sharp/coreplugins/Makefile.am2
-rw-r--r--gstreamer-sharp/coreplugins/inspect/capsfilter.raw8
-rw-r--r--gstreamer-sharp/goodplugins/Makefile.am2
6 files changed, 9 insertions, 9 deletions
diff --git a/gstreamer-sharp/badplugins/Makefile.am b/gstreamer-sharp/badplugins/Makefile.am
index 4f70115..9153552 100644
--- a/gstreamer-sharp/badplugins/Makefile.am
+++ b/gstreamer-sharp/badplugins/Makefile.am
@@ -12,7 +12,7 @@ MAINTAINERCLEANFILES = Makefile.in
plugins-update: $(patsubst $(srcdir)/inspect/%.raw, inspect-%, $(INSPECT_FILES))
inspect-%:
- $(top_builddir)/elementgen/gsts-xmlinspect $(patsubst inspect-%,%,$@) > inspect/$(patsubst inspect-%,%,$@).raw
+ $(top_builddir)/elementgen/gsts-xmlinspect $(patsubst inspect-%,%,$@) > inspect/$(patsubst inspect-%,%,$@).raw.tmp && mv inspect/$(patsubst inspect-%,%,$@).raw.tmp inspect/$(patsubst inspect-%,%,$@).raw || (rm inspect/$(patsubst inspect-%,%,$@).raw.tmp && true)
all: $(XML_FILES) $(CS_FILES)
touch generated
diff --git a/gstreamer-sharp/baseplugins/Makefile.am b/gstreamer-sharp/baseplugins/Makefile.am
index 054c1fe..43b6fc4 100644
--- a/gstreamer-sharp/baseplugins/Makefile.am
+++ b/gstreamer-sharp/baseplugins/Makefile.am
@@ -12,7 +12,7 @@ MAINTAINERCLEANFILES = Makefile.in
plugins-update: $(patsubst $(srcdir)/inspect/%.raw, inspect-%, $(INSPECT_FILES))
inspect-%:
- $(top_builddir)/elementgen/gsts-xmlinspect $(patsubst inspect-%,%,$@) > inspect/$(patsubst inspect-%,%,$@).raw
+ $(top_builddir)/elementgen/gsts-xmlinspect $(patsubst inspect-%,%,$@) > inspect/$(patsubst inspect-%,%,$@).raw.tmp && mv inspect/$(patsubst inspect-%,%,$@).raw.tmp inspect/$(patsubst inspect-%,%,$@).raw || (rm inspect/$(patsubst inspect-%,%,$@).raw.tmp && true)
all: $(XML_FILES) $(CS_FILES)
touch generated
diff --git a/gstreamer-sharp/baseplugins/inspect/ximagesink.raw b/gstreamer-sharp/baseplugins/inspect/ximagesink.raw
index 4ece28f..b4fce86 100644
--- a/gstreamer-sharp/baseplugins/inspect/ximagesink.raw
+++ b/gstreamer-sharp/baseplugins/inspect/ximagesink.raw
@@ -34,7 +34,7 @@
<element-flags>
</element-flags>
<element-implementation>
- <state-change function="0x2b9400fa14c0"/>
+ <state-change function="0x2afa77bcd4c0"/>
<save function="gst_element_save_thyself"/>
<load function="gst_element_restore_thyself"/>
</element-implementation>
diff --git a/gstreamer-sharp/coreplugins/Makefile.am b/gstreamer-sharp/coreplugins/Makefile.am
index 9fc1872..589c694 100644
--- a/gstreamer-sharp/coreplugins/Makefile.am
+++ b/gstreamer-sharp/coreplugins/Makefile.am
@@ -18,7 +18,7 @@ MAINTAINERCLEANFILES = Makefile.in
plugins-update: $(patsubst $(srcdir)/inspect/%.raw, inspect-%, $(INSPECT_FILES))
inspect-%:
- $(top_builddir)/elementgen/gsts-xmlinspect $(patsubst inspect-%,%,$@) > inspect/$(patsubst inspect-%,%,$@).raw
+ $(top_builddir)/elementgen/gsts-xmlinspect $(patsubst inspect-%,%,$@) > inspect/$(patsubst inspect-%,%,$@).raw.tmp && mv inspect/$(patsubst inspect-%,%,$@).raw.tmp inspect/$(patsubst inspect-%,%,$@).raw || (rm inspect/$(patsubst inspect-%,%,$@).raw.tmp && true)
all: $(XML_FILES) $(CS_FILES)
touch generated
diff --git a/gstreamer-sharp/coreplugins/inspect/capsfilter.raw b/gstreamer-sharp/coreplugins/inspect/capsfilter.raw
index 5e0b674..f3bb190 100644
--- a/gstreamer-sharp/coreplugins/inspect/capsfilter.raw
+++ b/gstreamer-sharp/coreplugins/inspect/capsfilter.raw
@@ -20,14 +20,14 @@
</interfaces>
<pad-templates>
<pad-template>
- <name>sink</name>
- <direction>sink</direction>
+ <name>src</name>
+ <direction>src</direction>
<presence>always</presence>
<caps>ANY</caps>
</pad-template>
<pad-template>
- <name>src</name>
- <direction>src</direction>
+ <name>sink</name>
+ <direction>sink</direction>
<presence>always</presence>
<caps>ANY</caps>
</pad-template>
diff --git a/gstreamer-sharp/goodplugins/Makefile.am b/gstreamer-sharp/goodplugins/Makefile.am
index 46232b8..7c5cba6 100644
--- a/gstreamer-sharp/goodplugins/Makefile.am
+++ b/gstreamer-sharp/goodplugins/Makefile.am
@@ -12,7 +12,7 @@ MAINTAINERCLEANFILES = Makefile.in
plugins-update: $(patsubst $(srcdir)/inspect/%.raw, inspect-%, $(INSPECT_FILES))
inspect-%:
- $(top_builddir)/elementgen/gsts-xmlinspect $(patsubst inspect-%,%,$@) > inspect/$(patsubst inspect-%,%,$@).raw
+ $(top_builddir)/elementgen/gsts-xmlinspect $(patsubst inspect-%,%,$@) > inspect/$(patsubst inspect-%,%,$@).raw.tmp && mv inspect/$(patsubst inspect-%,%,$@).raw.tmp inspect/$(patsubst inspect-%,%,$@).raw || (rm inspect/$(patsubst inspect-%,%,$@).raw.tmp && true)
all: $(XML_FILES) $(CS_FILES)
touch generated