Digital Video Forums  

Go Back   Digital Video Forums > Disc Formats > DVD Authoring and Editing

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 25 Aug 2011, 11:01 PM   #1
Junior Member
Junior Member
 
Join Date: Aug 2011
Posts: 2
Question pgcedit: repeated line

I've used pgcedit quite a bit but, despite having seen it several times, I've never really dealt with this question / issue. As I prefer to be neat, I thought it was about time to ask.

Re-authoring a backed up copy of one of my films, I see the following (the same thing on three separate lines):
hxxp://img.photobucket.com/albums/v732/enigmachine/lines1.jpg

7 Set gprm(5) += (add) 2
8 Set gprm(5) += (add) 2
9 Set gprm(5) += (add) 2

Can those lines be tidied up?

If so, how? I imagine one of three things could happen:

- leave them as is (I'd prefer not to)
- delete 8 and 9, because they make no difference (hypothetically, as I don't know if they do or not)
- change the "2" in line 7 to a "6" and then delete lines 7 and 8.

I'm sure it's not a complicated issue, but it will be nice to have it dealt with.

Thanks.
jlrm365 is offline   Reply With Quote
Old 26 Aug 2011, 12:23 AM   #2
Lord of Digital Video
Lord of Digital Video
 
r0lZ's Avatar
 
Join Date: Mar 2004
Location: be
Posts: 1,508
Default

It's strange indeed, but not illegal or erroneous.

Lines 7, 8 and 9 add 2 to the content of gprm(5), so, in final, gprm(5) is incremented by 6. You can of course leave the 3 lines as they are (your 1st suggestion) or replace the 3 lines with Set gprm(5) += (add) 6 (3rd suggestion).

But your second suggestion is wrong. If you simply delete 2 lines, the content of gprm(5) will be incremented by 2 instead of 6, and the next lines will not work as expected.

If you replace the lines, be sure that there is no target of a GOTO command in them, or again the navigation will be wrong if the GOTO is executed. (It's not the case in your example, as the only GOTO target in that PGC is at line 3, highlighted in yellow.)
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
Unofficial mirror (in Poland)
r0lZ is offline   Reply With Quote
Old 26 Aug 2011, 01:09 AM   #3
Junior Member
Junior Member
 
Join Date: Aug 2011
Posts: 2
Default

I figured they would be a combined increment, so I will replace the 2 with a 6.

Thanks. Problem solved.
jlrm365 is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Repeated playback issues.... utgunslinger13 DVD Blank Media, Burning, Recording Hardware 2 3 Jan 2007 03:30 PM
Liteon 16x dvd burner, REPEATED ERRORS utgunslinger13 DVD Blank Media, Burning, Recording Hardware 27 9 Nov 2006 05:00 PM
Repeated scenes s2c General Computing 0 14 Aug 2006 10:47 PM



All times are GMT +10. The time now is 02:02 PM.

Kirsch designed by Andrew & Austin


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright © 1999 - 2018 Digital Digest

Visit DivXLand   Visit dvdloc8.com