History

Simplify debugging code - always write debug trace files to the cur directory

This reduces the amount of platform ifdefs.

Martin Storsjö committed 12 years ago

Commit 771ff731 parent e17e6644 files · +5 −26Browse files

Showing the changes to codec/encoder/core/src/slice_multi_threading.cpp (1 of 4 files). Show all

Unified · Split

codec/encoder/core/src/slice_multi_threading.cpp+1−5
@@ -428,11 +428,7 @@ int32_t RequestMtResource (sWelsEncCtx** ppCtx, SWelsSvcCodingParam* pCodingPara · 427 unmodified lines
428 fclose (pSmt->pFSliceDiff);428 fclose (pSmt->pFSliceDiff);
429 pSmt->pFSliceDiff = NULL;429 pSmt->pFSliceDiff = NULL;
430 }430 }
431#ifdef _WIN32431 pSmt->pFSliceDiff = fopen ("slice_time.txt", "wt+");
432 pSmt->pFSliceDiff = fopen (".\\slice_time.txt", "wt+");
433#else
434 pSmt->pFSliceDiff = fopen ("/tmp/slice_time.txt", "wt+");
435#endif//_WIN32
436#endif//MT_DEBUG432#endif//MT_DEBUG
437 433
438#if defined(ENABLE_TRACE_MT)434#if defined(ENABLE_TRACE_MT)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t