diff options
author | Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com> | 2019-06-12 14:12:03 +0900 |
---|---|---|
committer | Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com> | 2019-06-12 14:15:53 +0900 |
commit | 869388493dbebbc7ab1bd95be68b12dcf3f76d4d (patch) | |
tree | a0473c452cde4e857307d46942123edbeaa67182 /app | |
parent | ad3231a67595fdea3a9217d1d7a7ec85d3cac56a (diff) |
Update to apply remoting pluginhalibut_7.99.2halibut/7.99.27.99.2
Remoting plugin uses jpeg element as default.
This pipeline is refered from sample script in
https://gitlab.freedesktop.org/wayland/weston/blob/master/doc/remoting-client-receive.bash
Bug-AGL : SPEC-2420
Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
Change-Id: I83e3bf9e75af24d80993ed1ef78c01154ae94c1b
Diffstat (limited to 'app')
-rw-r--r-- | app/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/main.cpp b/app/main.cpp index 967f5e4..0494b5f 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -53,13 +53,13 @@ int main(int argc, char *argv[]) // std::string pipeline_str = \ - "udpsrc port=5005 ! application/x-rtp,media=video,encoding-name=H264 ! queue ! rtph264depay ! h264parse config-interval=1 disable-passthrough=true ! decodebin ! "; + "rtpbin name=rtpbin udpsrc caps=\"application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=JPEG,payload=26\" port=5005 ! rtpbin.recv_rtp_sink_0 rtpbin. ! rtpjpegdepay ! jpegdec ! "; GstPlugin *plugin = gst_registry_find_plugin(gst_registry_get (), "vaapisink"); if(plugin) { pipeline_str += "vaapisink"; gst_object_unref(plugin); } else { - pipeline_str += "videoconvert ! video/x-raw,format=BGRx,width=384,height=368 ! waylandsink"; + pipeline_str += "waylandsink"; } #ifdef DEBUG std::cout << "Using pipeline: " << pipeline_str << std::endl; |