Use eina error logging, instead of plain printfs.
This commit is contained in:
@ -35,21 +35,21 @@ transcode_data_cb(void *data, int type, void *event)
|
||||
rec = ev->data;
|
||||
proj->num_transcode_complete++;
|
||||
|
||||
printf("Message: %s\n", rec);
|
||||
EINA_ERROR_PDBG("Message: %s\n", rec);
|
||||
|
||||
if (!strcmp(rec, "EOS"))
|
||||
{
|
||||
printf("Transcode complete\n");
|
||||
EINA_ERROR_PDBG("Transcode complete\n");
|
||||
proj->num_transcode_complete++;
|
||||
}
|
||||
else
|
||||
{
|
||||
printf("Error!\n"); // How to handle these?
|
||||
EINA_ERROR_PWARN("Error!\n"); // How to handle these?
|
||||
}
|
||||
|
||||
if (proj->num_tracks == proj->num_transcode_complete)
|
||||
{
|
||||
printf("Hurrah, transcoding is done!\n");
|
||||
EINA_ERROR_PINFO("Hurrah, transcoding is done!\n");
|
||||
|
||||
/* Change to another event later */
|
||||
ecore_event_add(ECORE_EVENT_SIGNAL_EXIT, NULL, NULL, NULL);
|
||||
|
Reference in New Issue
Block a user