]> granicus.if.org Git - handbrake/commitdiff
Use hb_log for DVD: messages instead of printf.
authorjbrjake <jb.rubin@gmail.com>
Tue, 14 Aug 2007 20:35:43 +0000 (20:35 +0000)
committerjbrjake <jb.rubin@gmail.com>
Tue, 14 Aug 2007 20:35:43 +0000 (20:35 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@813 b64f7644-9d1e-0410-96f1-a4d463321fa5

libhb/dvd.c

index 4f3781cd9683f365dd93a0f4d8b5c1a9d9dd369a..620a0fad1ddc025e3050b535e23546a1e852ba18 100644 (file)
@@ -718,13 +718,13 @@ int hb_dvd_read( hb_dvd_t * d, hb_buffer_t * b )
             d->next_vobu = d->pgc->cell_playback[d->cell_cur].first_sector;
             FindNextCell( d );
             d->cell_overlap = 1;
-            printf("DVD: End of Cell\n");
+            hb_log("DVD: End of Cell");
         }
         
         // Revert the cell overlap, and check for a chapter break
         if( dsi_pack.vobu_sri.prev_vobu == SRI_END_OF_CELL )
         {
-            printf("DVD: Beginning of Cell\n");
+            hb_log("DVD: Beginning of Cell");
             if( d->cell_overlap )
             {
                 b->new_chap = hb_dvd_is_break( d );
@@ -831,13 +831,13 @@ int hb_dvd_is_break( hb_dvd_t * d )
             
             if( chapter_length >= 2048 )
             {
-                printf("DVD: Chapter Break Cell Found\n");
+                hb_log("DVD: Chapter Break Cell Found");
                 /* We have a chapter break */
                 return 1;
             }
             else
             {
-                printf("DVD: Cell Found (%d)\n", chapter_length);
+                hb_log("DVD: Cell Found (%d)", chapter_length);
             }
         }
     }