Get the default PD size even though it is not created.
authorSung-jae Park <nicesj.park@samsung.com>
Tue, 5 Mar 2013 11:04:34 +0000 (11:04 +0000)
committerSung-jae Park <nicesj.park@samsung.com>
Tue, 5 Mar 2013 11:04:34 +0000 (11:04 +0000)
Change-Id: Ib31cac7fef1b3e9e35aa7d97b9047c8eb154b768

packaging/liblivebox-viewer.spec
src/livebox.c

index f24782d..55bca03 100644 (file)
@@ -1,6 +1,6 @@
 Name: liblivebox-viewer
 Summary: Library for developing the application.
-Version: 0.9.9
+Version: 0.9.10
 Release: 1
 Group: framework/livebox
 License: Flora License
index 3356ac6..845e934 100644 (file)
@@ -1254,11 +1254,8 @@ EAPI int livebox_get_pdsize(struct livebox *handler, int *w, int *h)
        switch (handler->pd.type) {
        case _PD_TYPE_BUFFER:
        case _PD_TYPE_SCRIPT:
-               if (!handler->is_pd_created) {
-                       DbgPrint("Buffer is not created yet - reset size\n");
-                       *w = 0;
-                       *h = 0;
-               }
+               if (!handler->is_pd_created)
+                       DbgPrint("Buffer is not created yet [%dx%d]\n", *w, *h);
                break;
        default:
                break;