[shotwell/wip/phako/enhanced-faces: 53/136] Resolved conflict



commit 3033342ef03196267ce986d37a55b4bfad583220
Author: NarendraMA <narendra_m_a yahoo com>
Date:   Sun Aug 19 09:17:11 2018 +0530

    Resolved conflict

 thumbnailer/shotwell-video-thumbnailer.vala | 23 -----------------------
 1 file changed, 23 deletions(-)
---
diff --git a/thumbnailer/shotwell-video-thumbnailer.vala b/thumbnailer/shotwell-video-thumbnailer.vala
index b2c852ac..ac14d7da 100644
--- a/thumbnailer/shotwell-video-thumbnailer.vala
+++ b/thumbnailer/shotwell-video-thumbnailer.vala
@@ -54,17 +54,10 @@ class ShotwellThumbnailer {
             // Set to PAUSED to make the first frame arrive in the sink.
             ret = pipeline.set_state(Gst.State.PAUSED);
             if (ret == Gst.StateChangeReturn.FAILURE) {
-<<<<<<< HEAD
-                debug("Failed to play the file: couldn't set state\n");
-                return 3;
-            } else if (ret == Gst.StateChangeReturn.NO_PREROLL) {
-                debug("Live sources not supported yet.\n");
-=======
                 warning("Failed to play the file: couldn't set state\n");
                 return 3;
             } else if (ret == Gst.StateChangeReturn.NO_PREROLL) {
                 warning("Live sources not supported yet.\n");
->>>>>>> e132add61d488efcfd0017ca38f62a90730a3ff6
                 return 4;
             }
             
@@ -73,21 +66,13 @@ class ShotwellThumbnailer {
             // better way is to run a mainloop and catch errors there.
             ret = pipeline.get_state(null, null, 5 * Gst.SECOND);
             if (ret == Gst.StateChangeReturn.FAILURE) {
-<<<<<<< HEAD
-                debug("Failed to play the file: couldn't get state.\n");
-=======
                 warning("Failed to play the file: couldn't get state.\n");
->>>>>>> e132add61d488efcfd0017ca38f62a90730a3ff6
                 return 3;
             }
 
             /* get the duration */
             if (!pipeline.query_duration (Gst.Format.TIME, out duration)) {
-<<<<<<< HEAD
-                debug("Failed to query file for duration\n");
-=======
                 warning("Failed to query file for duration\n");
->>>>>>> e132add61d488efcfd0017ca38f62a90730a3ff6
                 return 3;
             }
 
@@ -101,11 +86,7 @@ class ShotwellThumbnailer {
 
             ret = pipeline.get_state(null, null, 5 * Gst.SECOND);
             if (ret == Gst.StateChangeReturn.FAILURE) {
-<<<<<<< HEAD
-                debug("Failed to play the file: couldn't get state.\n");
-=======
                 warning("Failed to play the file: couldn't get state.\n");
->>>>>>> e132add61d488efcfd0017ca38f62a90730a3ff6
                 return 3;
             }
 
@@ -119,11 +100,7 @@ class ShotwellThumbnailer {
             pipeline.set_state(Gst.State.NULL);
             
         } catch (Error e) {
-<<<<<<< HEAD
-            debug(e.message);
-=======
             warning(e.message);
->>>>>>> e132add61d488efcfd0017ca38f62a90730a3ff6
             return 2;
         }
         


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]