remove video function parts of chdk? - General Discussion and Assistance - CHDK Forum

remove video function parts of chdk?

  • 6 Replies
  • 3977 Views
remove video function parts of chdk?
« on: 14 / March / 2012, 18:16:27 »
Advertisements
Is it possible to remove the code of chdk that controls video stuff?

I have an sx20 that does not like to have its video functions affected in anyway or else it causes intermittent problems (where it will often fail to record)

but i love having the other options that chdk offers.
sx20is 1.02d

Re: remove video function parts of chdk?
« Reply #1 on: 14 / March / 2012, 18:20:52 »
A small change in boot.c to not intercept the movie_rec.c task should do it.  Just a matter of commenting out one (or two) lines.  But it will take a recompile and you will end up with a custom version.

Ported :   A1200    SD940   G10    Powershot N    G16

Re: remove video function parts of chdk?
« Reply #2 on: 15 / March / 2012, 23:48:56 »
that would be ok by me.  as long as my video functions work dependably!
sx20is 1.02d

Re: remove video function parts of chdk?
« Reply #3 on: 16 / March / 2012, 23:16:02 »
cannot figure out which lines to comment out!  help please
sx20is 1.02d

*

Offline srsa_4c

  • ******
  • 4451
Re: remove video function parts of chdk?
« Reply #4 on: 16 / March / 2012, 23:25:57 »
Find platform/sx20/sub/102d/boot.c and change
Code: [Select]
if (p[0]==0xFF879084)  p[0]=(int)movie_record_task;into
Code: [Select]
// if (p[0]==0xFF879084)  p[0]=(int)movie_record_task;
In platform/sx20/platform_camera.h add the following as last line to remove the video menu:
Code: [Select]
#undef CAM_CHDK_HAS_EXT_VIDEO_MENU
Can you compile your own CHDK?
« Last Edit: 16 / March / 2012, 23:44:02 by srsa_4c »

Re: remove video function parts of chdk?
« Reply #5 on: 18 / March / 2012, 02:10:44 »
Thank you!  yes i can compile chdk.

going to try this tommorow for sure!
sx20is 1.02d

Re: remove video function parts of chdk?
« Reply #6 on: 27 / May / 2012, 02:05:17 »
Find platform/sx20/sub/102d/boot.c and change
Code: [Select]
if (p[0]==0xFF879084)  p[0]=(int)movie_record_task;into
Code: [Select]
// if (p[0]==0xFF879084)  p[0]=(int)movie_record_task;
In platform/sx20/platform_camera.h add the following as last line to remove the video menu:
Code: [Select]
#undef CAM_CHDK_HAS_EXT_VIDEO_MENU
Can you compile your own CHDK?

been away from chdk for a while, and haven't been into photography for a while either.  been busy, but now want to get back to it some!

I followed these steps, it compiled no problem - but the chdk menu still has the video options in it.

I am currently testing to see if these code changes help or not....
sx20is 1.02d

 

Related Topics


SimplePortal © 2008-2014, SimplePortal