gst-plugins-base1: fix patches -Np1

This commit is contained in:
Đoàn Trần Công Danh 2021-06-25 08:14:40 +07:00
parent 1a7f239556
commit 0264646f2b

View file

@ -2,7 +2,7 @@ Source: OpenBSD ports, adapted to work with meson
Upstream: No Upstream: No
Reason: sndio support Reason: sndio support
diff --git ext/meson.build ext/meson.build diff --git a/ext/meson.build b/ext/meson.build
index d984b50..5f0becc 100644 index d984b50..5f0becc 100644
--- a/ext/meson.build --- a/ext/meson.build
+++ b/ext/meson.build +++ b/ext/meson.build
@ -13,7 +13,7 @@ index d984b50..5f0becc 100644
+subdir('sndio') +subdir('sndio')
subdir('theora') subdir('theora')
subdir('vorbis') subdir('vorbis')
diff --git ext/sndio/gstsndio.c ext/sndio/gstsndio.c diff --git a/ext/sndio/gstsndio.c b/ext/sndio/gstsndio.c
new file mode 100644 new file mode 100644
index 0000000..2321dc2 index 0000000..2321dc2
--- /dev/null --- /dev/null
@ -420,7 +420,7 @@ index 0000000..2321dc2
+ G_OBJECT_WARN_INVALID_PROPERTY_ID (sio->obj, prop_id, pspec); + G_OBJECT_WARN_INVALID_PROPERTY_ID (sio->obj, prop_id, pspec);
+ } + }
+} +}
diff --git ext/sndio/gstsndio.h ext/sndio/gstsndio.h diff --git a/ext/sndio/gstsndio.h b/ext/sndio/gstsndio.h
new file mode 100644 new file mode 100644
index 0000000..77ec4e6 index 0000000..77ec4e6
--- /dev/null --- /dev/null
@ -504,7 +504,7 @@ index 0000000..77ec4e6
+GstCaps *gst_sndio_caps (gpointer sio, int mode, struct sio_hdl *hdl); +GstCaps *gst_sndio_caps (gpointer sio, int mode, struct sio_hdl *hdl);
+ +
+#endif +#endif
diff --git ext/sndio/meson.build ext/sndio/meson.build diff --git a/ext/sndio/meson.build b/ext/sndio/meson.build
new file mode 100644 new file mode 100644
index 0000000..3f9a9fe index 0000000..3f9a9fe
--- /dev/null --- /dev/null
@ -531,7 +531,7 @@ index 0000000..3f9a9fe
+ ) + )
+ pkgconfig.generate(gstsndio, install_dir : plugins_pkgconfig_install_dir) + pkgconfig.generate(gstsndio, install_dir : plugins_pkgconfig_install_dir)
+endif +endif
diff --git ext/sndio/sndiosink.c ext/sndio/sndiosink.c diff --git a/ext/sndio/sndiosink.c b/ext/sndio/sndiosink.c
new file mode 100644 new file mode 100644
index 0000000..cc68bd2 index 0000000..cc68bd2
--- /dev/null --- /dev/null
@ -763,7 +763,7 @@ index 0000000..cc68bd2
+ "Mute state of this stream", FALSE, + "Mute state of this stream", FALSE,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
+} +}
diff --git ext/sndio/sndiosink.h ext/sndio/sndiosink.h diff --git a/ext/sndio/sndiosink.h b/ext/sndio/sndiosink.h
new file mode 100644 new file mode 100644
index 0000000..314e622 index 0000000..314e622
--- /dev/null --- /dev/null
@ -826,7 +826,7 @@ index 0000000..314e622
+G_END_DECLS +G_END_DECLS
+ +
+#endif /* __GST_SNDIOSINK_H__ */ +#endif /* __GST_SNDIOSINK_H__ */
diff --git ext/sndio/sndiosrc.c ext/sndio/sndiosrc.c diff --git a/ext/sndio/sndiosrc.c b/ext/sndio/sndiosrc.c
new file mode 100644 new file mode 100644
index 0000000..5b6d787 index 0000000..5b6d787
--- /dev/null --- /dev/null
@ -1057,7 +1057,7 @@ index 0000000..5b6d787
+ "Mute state of this stream", FALSE, + "Mute state of this stream", FALSE,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
+} +}
diff --git ext/sndio/sndiosrc.h ext/sndio/sndiosrc.h diff --git a/ext/sndio/sndiosrc.h b/ext/sndio/sndiosrc.h
new file mode 100644 new file mode 100644
index 0000000..83fd29c index 0000000..83fd29c
--- /dev/null --- /dev/null
@ -1120,7 +1120,7 @@ index 0000000..83fd29c
+G_END_DECLS +G_END_DECLS
+ +
+#endif /* __GST_SNDIOSRC_H__ */ +#endif /* __GST_SNDIOSRC_H__ */
diff --git meson_options.txt meson_options.txt diff --git a/meson_options.txt b/meson_options.txt
index e7af4dd..827507f 100644 index e7af4dd..827507f 100644
--- a/meson_options.txt --- a/meson_options.txt
+++ b/meson_options.txt +++ b/meson_options.txt