Derek Dai
dbe5ea612a
miracle-dispd: extract encoder from dispd, part 2
...
Change-Id: Ie61daa87a83b875013c525fe3f15222bf9057926
2017-04-21 08:58:35 +08:00
Derek Dai
f1f5ee2385
miracle-dispd: log if a function call returns error
...
it is easier to trace back to the location where the error occured
by logging the return code instead of simply return a error number
Change-Id: Ic711af32a1e80d9da9317269521a4745099e30cc
2017-04-20 22:24:11 +08:00
Derek Dai
51597c4338
miracle-dispd: unify log message
...
Change-Id: I17c7cb0c64ddaecd09ff59f65dcb0e745f6b7174
2017-04-20 22:24:11 +08:00
Derek Dai
5f098041fd
miracle-dispd: rename field from ref_count to ref
...
Change-Id: Ia8138c0609b0100dd2784734287a4b3964beacbd
2017-04-20 22:24:11 +08:00
Derek Dai
181618ea53
miracle-dispd: cleanup and reorganize header
...
Change-Id: I0067d59d89f79af53ae7291894191edb33789ab2
2017-04-20 22:24:11 +08:00
Derek Dai
6f533bd851
miracle-dispd: add struct dispd_encoder as encoder client
...
since wait for the availability of newly spawned process and communicate
with it is a highly async task, wrapping in a isolated class is a better
choise.
Change-Id: I7201da49f379c65014123269ed9e0279bcb8c918
2017-04-20 22:24:11 +08:00
Derek Dai
9aa6ea14c2
migrate more gstreamer code to res/gstencoder
...
Change-Id: Id5098e37fb1eabb2906505f26969e6d8cedad519
2017-04-20 22:24:11 +08:00
Derek Dai
b16f1e5a51
use meson default build type instead of debugoptimized
...
Change-Id: I39bdc3e9df61c681b7ec5800a9e57fc7e9971cb0
2017-04-20 22:24:11 +08:00
Derek Dai
ee314c3258
miracle-dispd: refactory session startup function
...
Change-Id: If1940a5823171d35230d29051d79c9827efc054f
2017-04-20 22:24:11 +08:00
Derek Dai
6719f8795b
miracle-disp: extracting encoder, part1
...
Change-Id: Ic9293e9cf379d352c75701834f17fa553f0bf52d
2017-04-20 22:24:11 +08:00
Derek Dai
8aacea933d
miracle-wifid: fine tune P2P state notification timing
...
Change-Id: Idb111b90109010733b96d653c2d6d7855ebc781f
2017-04-14 16:18:56 +08:00
Derek Dai
0b230176f2
miracle-wifid: fix crashing on link removing issue
...
wifid crashes when link removing (either unplug usb wlan dongle or
unload kernel module) due to double
Change-Id: I9480a095659752343e505eb41b380d1ab3cd322a
2017-04-14 16:07:44 +08:00
Derek Dai
7f1cfabdd4
miracle-wifid: minor tweaks of log messages and identation
...
Change-Id: Id9e98583f3256c83cf48f18cf08740849ded3cca
2017-04-14 16:06:12 +08:00
Derek Dai
566f32e983
miracle-wifid: cleanup change notification of Link.Managed property
...
Change-Id: Ia5b056151e07219f0e6cc34dbc9fc2149f929a36
2017-04-14 16:04:01 +08:00
Derek Dai
6fc960a2ac
miracle-wifid: remove unused function
...
Change-Id: Ic2709a3661914fd9e0708c33649118feededa7f6
2017-04-14 15:11:17 +08:00
Derek Dai
2e7c11d265
miracle-wifid: rename link_set_managed()
...
rename to prevent confusing with managed event notification
Change-Id: I0f0d01f97156044bbb225e199b2717d5ea9c1a24
2017-04-14 15:08:39 +08:00
Derek Dai
c2fc985624
remove address sanitizer flag from default options
...
let user or packaging system to decide whether or not to use it
Change-Id: I27e7f7eae3f79431a1ec7dc69d5f372677dadbad
2017-04-14 12:48:45 +08:00
Derek Dai
700c5fad9b
demo/miracle-wfdctl: log more info about DBus operation
...
Change-Id: Ic44a6a2ca4585e6aa1983885b4730ccee6fd3d33
2017-04-14 12:47:10 +08:00
Derek Dai
f4d1e4fb1b
miracle-dispd: remove some compiler warmings
...
Change-Id: Ief2ae8e2992c2fee34fe560af73deb955a9186de
2017-04-13 16:34:51 +08:00
Derek Dai
e0a3b62e6b
miracle-dispd: put back gstreamer
...
in this version, the pipeline can be stopped properly, but the gst &
glib allocated memory can't be release cleanly (which won't
accumulate)
Change-Id: I242b106158db647070e7852b84f6f90b6bbd96f4
2017-04-13 10:55:50 +08:00
Derek Dai
e117704d4e
miracle-dispd: stablizing and removing memory leak
2017-04-11 17:02:09 +08:00
Derek Dai
aa5d6c0468
demo/miracle-wfdctl: teardown session more gracefully
2017-04-10 15:29:22 +08:00
Derek Dai
ad407d7505
demo/miracle-wfdctl: rollback method definitions in dbus interfaces from async to sync
2017-04-10 12:02:28 +08:00
Derek Dai
ac9ea16e61
remove starting /
in front of installation path of DBus policy file
2017-04-06 20:26:17 +08:00
Derek Dai
e6bc698250
quote string entries with configuration_data.set_quoted() instead of by ourself with configureation_data.set()
2017-04-06 20:26:17 +08:00
Derek Dai
93c0ec8811
handle meson optoins properly
2017-04-06 20:26:17 +08:00
Derek Dai
44c096d25c
remove install script and install scripts with install_data()
2017-04-06 20:26:17 +08:00
Derek Dai
7dba31c923
add meson build supporting
2017-04-06 20:26:17 +08:00
Derek Dai
9acad15b72
demo/miracle-wfdctl: remove unused files
2017-04-06 20:26:17 +08:00
Derek Dai
223953b739
miracle-dispd: fix some uninitialized variable accessing issues
2017-04-06 20:26:16 +08:00
Derek Dai
ff4785e65e
fix loop boundary checking
2017-04-06 20:26:16 +08:00
Derek Dai
3931adeca5
add missing build-time dependencies
2017-04-06 20:26:06 +08:00
Derek Dai
490be6fbe2
demo/miracle-wfdctl: Wait for P2PState changing before do P2P scanning
2017-04-03 18:40:22 +08:00
Derek Dai
aa499be0dc
miracle-wifid: add Link.P2PState for checking P2P supporting status
2017-04-03 18:40:15 +08:00
Derek Dai
ed490f181b
miracle-dispd: fix output resolution to 1080p@30
2017-03-31 14:36:17 +08:00
Derek Dai
4147c2c38d
miracle-dispd, demo/miracle-wfdctl: improve error handling and reporting
2017-03-31 14:34:11 +08:00
Derek Dai
0c7e3092b3
miracle-dispd: add error report log to handle_replay()
2017-03-31 12:28:21 +08:00
Derek Dai
590a6f4550
miracle-dispd: use software codec instead of vaapi accelerated codec
2017-03-31 12:28:05 +08:00
Derek Dai
0edc5dd733
demo/miracle-wfdctl: maintain DBus interfaces by .vala files instead of generate from .xml which have only sync methods
2017-03-31 00:13:49 +08:00
Derek Dai
2da1f70ccd
miracle-wifid: postpone the emittion of managed signal after the status
...
query
2017-03-30 22:58:34 +08:00
Derek Dai
f46617383d
miracle-dispd: notify systemd about the service readiness
2017-03-30 13:06:49 +08:00
Derek Dai
4ec5e11c07
miracle-wfdctl: update description of DBus interfaces
2017-03-30 10:20:32 +08:00
Derek Dai
be76bef4a2
miracle-wifid: fix signal emittion of FormationFailure
2017-03-30 10:17:32 +08:00
Derek Dai
2e3f055bd2
miracle-dispd: add watchdog and SIGKILL for it
...
to prevent no reponse and unable to be terminated issue. this is a temp solution
2017-03-28 17:44:44 +08:00
Derek Dai
06223cab3e
demo/miracle-wfdctl: log message tweaks
2017-03-28 17:30:14 +08:00
Derek Dai
11820f1502
miracle-dispd: fix symlink for dbus-org.freedesktop.miracle.wfd.service
...
which is an alias of miracle-dispd.service
2017-03-28 13:21:50 +08:00
Derek Dai
cfe2c30542
miracle-dispd: relax checking for peer with empty wfd_subelements
2017-03-26 17:42:36 +08:00
Derek Dai
57c4bbeae5
demo/miracle-wfdctl: handle SIGINT to exit gracefully
2017-03-25 17:47:51 +08:00
Derek Dai
a0d0c9bc8c
move definitions related to miracle-dispd from src/ctl to src/disp
2017-03-25 15:37:57 +08:00
Derek Dai
0a7517d8e9
demo/miracle-wfdctl: better handling session tearing down
2017-03-25 15:36:13 +08:00