Fixed
Status Update
Comments
ag...@google.com <ag...@google.com> #2
Thanks for the report!
Unfortunately you can't specify a height or width for video files at the moment, and the 'dv' parameter returns a downsampled version of the video. There is currently no option to retrieve the video in its original resolution.
I have forwarded this to the team and will update here once I hear back.
Unfortunately you can't specify a height or width for video files at the moment, and the 'dv' parameter returns a downsampled version of the video. There is currently no option to retrieve the video in its original resolution.
I have forwarded this to the team and will update here once I hear back.
ap...@google.com <ap...@google.com> #3
Thanks
The documentation should be updated then?
https://developers.google.com/photos/library/guides/access-media-items#video-base-urls
If specifying a video width or height is not possible the sentense "with your required dimensions:" makes no sense then.
The documentation should be updated then?
If specifying a video width or height is not possible the sentense "with your required dimensions:" makes no sense then.
Description
Description:
d8 and r8 seem to mistakenly remove an infinite loop during compilation, where both dx and JVM keep the loop.
Reproduction:
~~~
$ dx --dex --output new-dx.jar C0.class
$ timeout -s 9 60s bash ~/Projects/Android/AOSP/out/host/linux-x86/bin/art -cp new-dx.jar C0
Killed
$ echo $?
137
$ java -jar ../../r8/build/libs/d8.jar --release --output new-d8.jar C0.class
$ timeout -s 9 60s bash ~/Projects/Android/AOSP/out/host/linux-x86/bin/art -cp new-d8.jar C0
$ echo $?
0
$ timeout -s 9 60s java C0
Killed
$ echo $?
137
~~~
Files:
The C0.class can be generated from the following Jasmin file. You can also find a copy at Google Drive.
~~~
.class public C0
.super java/lang/Object
.method public <init>()V
aload 0
invokenonvirtual java/lang/Object/<init>()V
return
.limit stack 1
.limit locals 1
.end method
.method public static main([Ljava/lang/String;)V
aload 0
lconst_0
aload 0
lconst_0
iconst_3
i2b
i2b
i2d
ldc_w 5338694199588477435
iconst_m1
ineg
iconst_m1
bipush -95
iconst_1
ior
dup_x2
iadd
ior
iconst_5
sipush 25086
if_icmpne L0
ifgt L1
i2l
iconst_m1
fconst_2
fconst_0
f2l
dconst_1
dconst_0
sipush -4309
ifeq L2
new java/lang/String
dup
invokenonvirtual java/lang/String/<init>()V
astore 1
sipush 2110
istore 0
return
L2:
aload 0
new java/lang/Object
dup
invokenonvirtual java/lang/Object/<init>()V
astore 1
lconst_0
return
L1:
fconst_0
dup2
fneg
f2i
dup2_x1
return
L0:
dconst_1
lconst_0
aload 0
ifnull L3
L4:
goto L4
L3:
iconst_m1
ifeq L4
iconst_5
istore 3
iinc 3 -96
iload 3
i2d
iinc 3 125
new C0
dup
invokenonvirtual C0/<init>()V
astore 2
bipush 11
i2c
dconst_1
aload 2
ldc_w -1615726164805675271
L5:
goto L6
L7:
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
athrow
L6:
iload 3
ifeq L5
aload 2
return
L8:
nop
nop
nop
nop
athrow
L9:
nop
nop
nop
nop
nop
nop
nop
nop
nop
athrow
L10:
athrow
.limit stack 25
.limit locals 4
.end method
~~~