mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 15:02:43 +02:00
ShowPicture: revert API change
Origin commit data
------------------
Branch: master
Commit: e10d6a5a18
Author: martii <m4rtii@gmx.de>
Date: 2013-06-07 (Fri, 07 Jun 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -370,11 +370,7 @@ void cVideo::SetVideoMode(analog_mode_t mode)
|
||||
proc_put("/proc/stb/avs/0/colorformat", m, strlen(m));
|
||||
}
|
||||
|
||||
#ifdef MARTII
|
||||
void cVideo::ShowPicture(const char * fname, bool isM2V)
|
||||
#else
|
||||
void cVideo::ShowPicture(const char * fname)
|
||||
#endif
|
||||
{
|
||||
lt_debug("%s(%s)\n", __func__, fname);
|
||||
#ifndef MARTII
|
||||
@@ -393,7 +389,8 @@ void cVideo::ShowPicture(const char * fname)
|
||||
return;
|
||||
}
|
||||
#ifdef MARTII
|
||||
if (isM2V)
|
||||
const char *lastDot = strrchr(fname, '.');
|
||||
if (lastDot && !strcasecmp(lastDot + 1, "m2v"))
|
||||
strncpy(destname, fname, sizeof(destname));
|
||||
else {
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user