diff options
author | George Kiagiadakis <george.kiagiadakis@collabora.com> | 2014-06-20 16:24:36 +0300 |
---|---|---|
committer | George Kiagiadakis <george.kiagiadakis@collabora.com> | 2014-10-11 14:57:14 +0200 |
commit | ee7968dd4a6a575b8b42b833937e158bba834402 (patch) | |
tree | fb43f371c819760514893b78e5416cab72a39a27 /ext/wayland/wlvideoformat.c | |
parent | 4377a5d71cf400cdc6b405f744fcf31c007acd62 (diff) | |
download | gstreamer-plugins-bad-ee7968dd4a6a575b8b42b833937e158bba834402.tar.gz |
waylandsink: rename video format conversion functions to indicate they are about wl_shm
Needed to add linux_dmabuf format conversion functions later
Diffstat (limited to 'ext/wayland/wlvideoformat.c')
-rw-r--r-- | ext/wayland/wlvideoformat.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/wayland/wlvideoformat.c b/ext/wayland/wlvideoformat.c index f2166f934..1302da6e4 100644 --- a/ext/wayland/wlvideoformat.c +++ b/ext/wayland/wlvideoformat.c @@ -78,7 +78,7 @@ static const wl_VideoFormat formats[] = { }; enum wl_shm_format -gst_video_format_to_wayland_format (GstVideoFormat format) +gst_video_format_to_wl_shm_format (GstVideoFormat format) { guint i; @@ -86,12 +86,12 @@ gst_video_format_to_wayland_format (GstVideoFormat format) if (formats[i].gst_format == format) return formats[i].wl_format; - GST_WARNING ("wayland video format not found"); + GST_WARNING ("wayland shm video format not found"); return -1; } GstVideoFormat -gst_wayland_format_to_video_format (enum wl_shm_format wl_format) +gst_wl_shm_format_to_video_format (enum wl_shm_format wl_format) { guint i; @@ -104,8 +104,8 @@ gst_wayland_format_to_video_format (enum wl_shm_format wl_format) } const gchar * -gst_wayland_format_to_string (enum wl_shm_format wl_format) +gst_wl_shm_format_to_string (enum wl_shm_format wl_format) { return gst_video_format_to_string - (gst_wayland_format_to_video_format (wl_format)); + (gst_wl_shm_format_to_video_format (wl_format)); } |