mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-27 23:43:00 +02:00
raspi/avcodec_omx: set thread names
This commit is contained in:
@@ -31,6 +31,7 @@
|
|||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <libavformat/avformat.h>
|
#include <libavformat/avformat.h>
|
||||||
|
#include <lt_debug.h>
|
||||||
#include "codec.h"
|
#include "codec.h"
|
||||||
#include "avcodec_omx.h"
|
#include "avcodec_omx.h"
|
||||||
#include "omx_utils.h"
|
#include "omx_utils.h"
|
||||||
@@ -45,6 +46,7 @@ static void* acodec_omx_thread(struct codec_init_args_t* args)
|
|||||||
OMX_BUFFERHEADERTYPE *buf;
|
OMX_BUFFERHEADERTYPE *buf;
|
||||||
|
|
||||||
free(args);
|
free(args);
|
||||||
|
hal_set_threadname("hal:omx_audio");
|
||||||
fprintf(stderr,"Starting acodec_omx_thread\n");
|
fprintf(stderr,"Starting acodec_omx_thread\n");
|
||||||
|
|
||||||
new_channel:
|
new_channel:
|
||||||
@@ -174,6 +176,7 @@ static void* vcodec_omx_thread(struct codec_init_args_t* args)
|
|||||||
double min_bitrate, max_bitrate;
|
double min_bitrate, max_bitrate;
|
||||||
|
|
||||||
free(args);
|
free(args);
|
||||||
|
hal_set_threadname("hal:omx_video");
|
||||||
|
|
||||||
codec->first_packet = 1;
|
codec->first_packet = 1;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user