Commit 268f255b authored by bigben's avatar bigben
Browse files

* Only enable "Jump To Time" when the stream is seekable

* Fix enabling of the step forward/backward functions
parent f193ee64
......@@ -11,17 +11,18 @@
<key>2197</key>
<string>422 532 596 143 0 0 1440 878 </string>
<key>29</key>
<string>356 400 438 44 0 0 1440 878 </string>
<string>71 662 438 44 0 0 1024 746 </string>
<key>915</key>
<string>777 479 187 249 0 0 1440 878 </string>
</dict>
<key>IBFramework Version</key>
<string>443.0</string>
<string>439.0</string>
<key>IBLockedObjects</key>
<array/>
<key>IBOpenObjects</key>
<array>
<integer>1789</integer>
<integer>29</integer>
</array>
<key>IBSystem Version</key>
<string>8H14</string>
......
......@@ -669,13 +669,15 @@
[o_mi setState: i_state];
}
else if( [[o_mi title] isEqualToString: _NS("Step Forward")] ||
[[o_mi title] isEqualToString: _NS("Step Backward")] )
[[o_mi title] isEqualToString: _NS("Step Backward")] ||
[[o_mi title] isEqualToString: _NS("Jump To Time")])
{
if( p_input != NULL )
{
var_Get( p_input, "seekable", &val);
bEnabled = val.b_bool;
}
else bEnabled = FALSE;
}
else if( [[o_mi title] isEqualToString: _NS("Mute")] )
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment