mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-05 08:55:59 +00:00
disabled libexif usage, mediaview showing gif/mp4 through ClipReader
This commit is contained in:
@@ -797,6 +797,12 @@ void Window::showDocument(DocumentData *doc, HistoryItem *item) {
|
||||
_mediaView->setFocus();
|
||||
}
|
||||
|
||||
void Window::ui_clipRedraw(ClipReader *reader) {
|
||||
if (_mediaView && !_mediaView->isHidden()) {
|
||||
_mediaView->ui_clipRedraw(reader);
|
||||
}
|
||||
}
|
||||
|
||||
void Window::ui_showLayer(LayeredWidget *box, ShowLayerOptions options) {
|
||||
if (box) {
|
||||
bool fast = (options.testFlag(ForceFastShowLayer)) || Ui::isLayerShown();
|
||||
@@ -838,6 +844,12 @@ bool Window::ui_isLayerShown() {
|
||||
return !!layerBg;
|
||||
}
|
||||
|
||||
void Window::notify_clipReinit(ClipReader *reader) {
|
||||
if (_mediaView && !_mediaView->isHidden()) {
|
||||
_mediaView->notify_clipReinit(reader);
|
||||
}
|
||||
}
|
||||
|
||||
void Window::showConnecting(const QString &text, const QString &reconnect) {
|
||||
if (_connecting) {
|
||||
_connecting->set(text, reconnect);
|
||||
|
Reference in New Issue
Block a user