summaryrefslogtreecommitdiff
path: root/libre/handbrake/handbrake-supress-clip_id.patch
blob: 0570f23e8b320ab52e0e4924188a6b014c1817bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
--- HandBrake-1.0.1.orig/libhb/bd.c	2016-12-29 16:07:59.000000000 -0500
+++ HandBrake-1.0.1/libhb/bd.c	2017-01-03 16:59:37.551990672 -0500
@@ -234,24 +234,6 @@
     return 1;
 }
 
-static void show_clip_list( BLURAY_TITLE_INFO * ti )
-{
-    int ii;
-
-    for (ii = 0; ii < ti->clip_count; ii++)
-    {
-        BLURAY_CLIP_INFO * ci = &ti->clips[ii];
-        int64_t            duration = ci->out_time - ci->in_time;
-        int                hh, mm, ss;
-
-        hh = duration / (90000 * 60 * 60);
-        mm = (duration / (90000 * 60)) % 60;
-        ss = (duration / 90000) % 60;
-        hb_log("bd:\t\t%s.M2TS -- Duration: %02d:%02d:%02d",
-               ti->clips[ii].clip_id, hh, mm, ss);
-    }
-}
-
 /***********************************************************************
  * hb_bd_title_scan
  **********************************************************************/
@@ -335,10 +317,6 @@
         hb_log( "bd: ignoring title (too short)" );
         goto fail;
     }
-    if (global_verbosity_level >= 2)
-    {
-        show_clip_list(ti);
-    }
 
     BLURAY_STREAM_INFO * bdvideo = &ti->clips[0].video_streams[0];